Difference between revisions of "MediaWiki:Common.css"

From FreewarWiki
Jump to: navigation, search
(Created page with ' →‎Rote Umrandungen für Gebiete auf minimap: .minimap .selflink span { border:1px solid red; } .generallyHide { display:none; } a .NPC, a:link .NPC { display:none; } a:…')
 
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
−
/* Rote Umrandungen für Gebiete auf minimap */
+
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/
−
.minimap .selflink span { border:1px solid red; }
+
/** COMMON SKIN-ADAPTATIONS FOR THE FREEWARWIKI                          **/
 +
/** Any addition or modification on this page, must be checked absolutely **/
 +
/** before for all skins on her functionality.                           **/
 +
/** All changes on this page affect the representation of all contents.   **/
 +
/** Please pay particular attention to your changes;                     **/
 +
/** arrange them before best of all with the community.                  **/
 +
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/
  
−
.generallyHide { display:none; }
+
/**********      Contents      **********/
 +
/*** 1. Map specific                  ***/
 +
/*** 2. Tables and Layout            ***/
 +
/*** 3. Other adaptations            ***/
 +
/****************************************/
  
−
a .NPC, a:link .NPC { display:none; }
+
/*-------------------------------------*/
−
a:hover .NPC, a:active.NPC { display:inherit; }
+
/* +++    1. Map specific          +++ */
 +
/*-------------------------------------*/
 +
/* These style definitions are used to display the entire and the interactive map. */
  
−
.maplink { text-decoration: none; }
+
/* Frame around area on mini-map */
−
.maplink a:link { text-decoration: none; }
 
−
.maplink { z-index:2; }
 
−
.maplink a:hover { text-decoration: none; }
 
−
.maplink { line-height: 1em; }
 
  
−
.QP { display:none; }
+
.minimap .selflink span {
−
.QPvisible .QP { display:inherit; }
+
border: 1px solid #FF0000;
 +
}
  
−
.NI { display:none; }
+
/* Activates a message when changes on the complete map was made. */
−
.NIvisible .NI { display:inherit; }
 
  
−
*[class].IEonly { display:none; }
+
.completemapwarning {
−
*.noIE { display:none; }
+
display: none;
−
*[class].noIE { display:inherit; }
+
}
  
−
.blacklink a:link, .blacklink a:visited { color:#4040FF; }
+
/* Links on interactive map (to npcs, places, ...). */
  
−
.brandheiss { background:url(http://fwwiki.de/images/f/fc/Brandheiß.gif) center no-repeat; font-weight:bold; }
+
.maplink {
 +
line-height: 1em;
 +
text-decoration: none;
 +
z-index: 2;
 +
}
  
−
.linktomap { background:url(http://fwwiki.de/images/4/41/12px-Erde.png) center no-repeat; }
+
.maplink a:link,
 +
.maplink a:hover {
 +
text-decoration: none;
 +
}
  
−
/* Bilder von Unicode-Zeichen für IE-Nutzer */
+
/* NPC-Links on interactive map. */
−
.unicode span { visibility:hidden; }
 
−
.unicode#✓ { background:url(http://fwwiki.de/images/e/e5/%E2%9C%93.gif) no-repeat; }
 
−
.unicode#✗ { background:url(http://fwwiki.de/images/2/23/%E2%9C%97.gif) no-repeat; }
 
−
.unicode#✓colorgreen { background:url(http://fwwiki.de/images/e/e2/%E2%9C%93green.gif) no-repeat; }
 
−
.unicode#✗colorred { background:url(http://fwwiki.de/images/9/95/%E2%9C%97red.gif) no-repeat; }
 
−
.unicode#☮font-size2em { background:url(http://fwwiki.de/images/5/56/%E2%98%AE.gif) no-repeat 0em 0.3em; }
 
−
*[class].unicode span { visibility:visible; }
 
−
*[class].unicode#✓, *[class].unicode#✓colorgreen, *[class].unicode#✗colorred, *[class].unicode#☮font-size2em { background-image:url(); }
 
  
 +
a .NPC,
 +
a:link .NPC {
 +
display: none;
 +
}
  
−
/* Stylesheet-Ergänzung zu Standard-Navigationsleisten */
+
a:hover .NPC,
−
.BoxenVerschmelzen, .NavFrame, .VTabs
+
a:active .NPC {
−
        { margin: 0px; padding: 2px; border: 1px solid #aaaaaa; text-align: center; border-collapse: collapse; font-size: 95%; clear:both; }
+
display: inherit;
−
.VTabs { text-align:left; margin: 0; padding: 0; border-collapse: separate; background: transparent; }
+
}
−
.VTab { width: 100%;  }
 
−
.BoxenVerschmelzen .NavFrame, .BoxenVerschmelzen .VTabs { border-style: none; border-style: hidden; width: 100%; }
 
−
.NavFrame + .NavFrame { border-top-style: none; border-top-style: hidden; }
 
−
.NavPic { background-color: #ffffff; margin: 0px; padding: 2px; float: left; }
 
−
.NavHead, .VTabCaption { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; }
 
−
.NavFrame p { font-size: 100%; }
 
−
.NavContent { font-size: 100%; }
 
−
.NavContent p { font-size: 100%; }
 
−
.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; }
 
−
.VTabCaption { margin: 2px; }
 
−
.VTabContent { height: 0; overflow: hidden; }
 
−
.NavToggle { font-size: x-small; float:right; }
 
  
 +
/* Adapts images of the interactive map, which aren't have the size of 50x50 pixels. */
 +
 +
.map_layout img { height: 50px; width: 50px; }
 +
 +
/* NPC-Images and quest infos hide by default (will be regulated per [[MediaWiki:Common.js]]). */
 +
 +
.NI {
 +
display:none;
 +
}
 +
 +
.NIvisible .NI {
 +
display:inherit;
 +
}
 +
 +
.QP {
 +
display:none;
 +
}
 +
 +
.QPvisible .QP {
 +
display:inherit;
 +
}
 +
 +
/* Generates brown links on [[CompleteMap]]. */
 +
 +
.brownlink a {
 +
color: #775533
 +
}
 +
 +
/* Rhombus to display articles about places in the map namespace, embedded by [[Template:Map/Place]]. */
 +
 +
.bg_rhombus {
 +
background-image: url('https://fwwiki.staticdata.de/images/4/49/Raute.png');
 +
}
 +
 +
/* Creates an earth symbol to display a location on a integrated minimap, used by [[Template:Disamb-Place]]. */
 +
 +
.linktomap {
 +
background:url(https://fwwiki.staticdata.de/images/4/41/12px-Erde.png) center no-repeat;
 +
}
 +
 +
/*-------------------------------------*/
 +
/* +++  2. Tables and Layout      +++ */
 +
/*-------------------------------------*/
 +
 +
/* „Cold Sunfire“-related tables. */
 +
 +
table.coldsunfire {
 +
border-collapse: collapse;
 +
font-size: 12px;
 +
}
 +
 +
table.coldsunfire td {
 +
background-color: #ECE9E6;
 +
border: 1px solid #D6CBC2;
 +
padding: 2px;
 +
padding-left: 5px;
 +
}
 +
 +
table.coldsunfire th {
 +
background-image: url(https://fwwiki.de/images/a/ae/Button_bg.jpg);
 +
border: 1px solid #A2A09F;
 +
font-weight: bold;
 +
padding: 2px;
 +
padding-left: 5px;
 +
text-align: left;
 +
}
 +
 +
/* Replaced prettytable template. */
 +
 +
.prettytable {
 +
border: 1px solid #aaaaaa;
 +
border-collapse: collapse;
 +
background-color: #F9F9F9;
 +
font-size: 95%;
 +
}
 +
 +
.prettytable th,
 +
.prettytable td {
 +
border: 1px solid #aaaaaa;
 +
padding: 0.33em;
 +
}
 +
 +
.prettytable th {
 +
font-weight: bold;
 +
text-align: center;
 +
}
 +
 +
 +
/* At this point follows the color- and frame definitions for the template system, first the standards for framings, then color definitions. */
 +
/* Frame configurations (layout_border_...). */
 +
 +
.layout_border_solid {
 +
border-style:solid;
 +
border-width:2px;
 +
}
 +
 +
.layout_border_outset {
 +
border-style:outset;
 +
border-width:2px;
 +
}
 +
 +
.layout_border_dotted {
 +
border-style:dotted;
 +
}
 +
 +
.layout_border_dashed {
 +
border-style:dashed;
 +
}
 +
 +
.layout_border_double {
 +
border-style:double;
 +
}
 +
 +
/* Colours (layout_color_...). */
 +
 +
.layout_color_antiquity {
 +
background:#eeeeee;
 +
border-color:#bbbbbb;
 +
}
 +
 +
.layout_color_task {
 +
background:#b8b9de;
 +
border-color:#8E11FF;
 +
}
 +
 +
.layout_color_weapon {
 +
background:#ffcccc;
 +
border-color:#aa3344;
 +
}
 +
 +
.layout_color_region {
 +
background:#ddccaa;
 +
border-color:#775533;
 +
}
 +
 +
.layout_color_book {
 +
background:#ffffcc;
 +
border-color:#eedd77;
 +
}
 +
 +
.layout_color_skill {
 +
background:#ffffcc;
 +
border-color:#eedd77;
 +
}
 +
 +
.layout_color_default {
 +
background:#f9f9f9;
 +
border-color:#e9e9e9
 +
}
 +
 +
.layout_color_dungeon {
 +
background:#ddccaa;
 +
border-color:#775533;
 +
}
 +
 +
.layout_color_achievement {
 +
background:#ffffcc;
 +
border-color:#eedd77;
 +
}
 +
 +
.layout_color_fieldsummary {
 +
background:#ddccaa;
 +
border-color:#775533;
 +
}
 +
 +
.layout_color_area {
 +
background:#ddccaa;
 +
border-color:#775533;
 +
}
 +
 +
.layout_color_meal {
 +
background:#efffcc;
 +
border-color:#bdff77;
 +
}
 +
 +
.layout_color_partynpc {
 +
background:#ccccff;
 +
border-color:#7777ff;
 +
}
 +
 +
.layout_color_amulet {
 +
background:#ffccd0;
 +
border-color:#c05040;
 +
}
 +
 +
.layout_color_error {
 +
background:#ff3d00;
 +
border-color:#800000;
 +
}
 +
 +
.layout_color_item {
 +
background:#eeeeee;
 +
border-color:#bbbbbb;
 +
}
 +
 +
.layout_color_item_rp {
 +
background:#eeeeee;
 +
border-color:#2EA22B;
 +
}
 +
 +
.layout_color_npcstate {
 +
background:orange;
 +
border-color:#AAAA00;
 +
}
 +
 +
.layout_color_npc {
 +
background:#ccccff;
 +
border-color:#7777ff;
 +
}
 +
 +
.layout_color_npc_rp {
 +
background:#ccccff;
 +
border-color:#2EA22B;
 +
}
 +
 +
.layout_color_place {
 +
background:#ddccaa;
 +
border-color:#775533;
 +
}
 +
 +
.layout_color_plant {
 +
background:#a3eb88;
 +
border-color:#28ac0b;
 +
}
 +
 +
.layout_color_quest {
 +
background:#efddff;
 +
border-color:#bd77ff;
 +
}
 +
 +
.layout_color_quest_rp {
 +
background:#efddff;
 +
border-color:#2EA22B;
 +
}
 +
 +
.layout_color_questperson {
 +
background:#efddff;
 +
border-color:#bd77ff;
 +
}
 +
 +
.layout_color_race {
 +
background:#8080cc;
 +
border-color:#000080;
 +
}
 +
 +
.layout_color_resistancenpc {
 +
    background:#ccccff;
 +
    border-color:#7777ff;
 +
}
 +
 +
.layout_color_rangedweapon {
 +
background:#ffddc0;
 +
border-color:#dd8044;
 +
}
 +
 +
.layout_color_shop {
 +
background:#cccccc;
 +
border-color:#666666;
 +
}
 +
 +
.layout_color_specialability {
 +
background:#8080cc;
 +
border-color:#000080;
 +
}
 +
 +
.layout_color_style {
 +
background:#bbbbbb;
 +
border-color:#eeeeee;
 +
}
 +
 +
.layout_color_superresistancenpc {
 +
    background:#ccccff;
 +
    border-color:#7777ff;
 +
}
 +
 +
.layout_color_uniqueitem {
 +
background:#eeeeee;
 +
border-color:#bbbbbb;
 +
}
 +
 +
.layout_color_uniquenpc {
 +
background:#ccccff;
 +
border-color:#7777ff;
 +
}
 +
 +
.layout_color_uniquenpc_rp {
 +
background:#ccccff;
 +
border-color:#2EA22B;
 +
}
 +
 +
.layout_color_shelter {
 +
background:#ffeebb;
 +
border-color:#ffdc73;
 +
}
 +
 +
.layout_color_armour {
 +
background:#ffccdd;
 +
border-color:#aa3344;
 +
}
 +
 +
.layout_color_weathereffect {
 +
background:#ccffff;
 +
border-color:#77ddee;
 +
}
 +
 +
.layout_color_spell {
 +
background:#ffefcc;
 +
border-color:#ffbd77;
 +
}
 +
 +
.layout_color_condition {
 +
background:#aaffbb;
 +
border-color:#008800;
 +
}
 +
 +
.layout_color_phasepattern {
 +
    background:#dddd44;
 +
    border-color:#de9144;
 +
}
 +
 +
/* No printing of navigation bars. */
 +
 +
@media print {
 +
.boxmerge,
 +
.navframe,
 +
.vtabs {
 +
display: none;
 +
}
 +
}
 +
 +
/* General definition for navigation bars. */
 +
 +
/* Navbar exists according to current knowledge (23.01.2014) only on the main page */
 +
 +
#navbar {
 +
 +
background: none;
 +
border: none;
 +
font-size: 85%;
 +
line-height: 1.5em;
 +
margin: 0em;
 +
padding: 0em;
 +
position: absolute;
 +
text-align: center;
 +
text-indent: 0;
 +
text-transform: none;
 +
top: -1.5em;
 +
/* top: -3.2em; */
 +
width: 100%;
 +
white-space: normal;
 +
z-index: 1;
 +
}
 +
.navframe + .navframe {
 +
border-top-style: none;
 +
border-top-style: hidden;
 +
}
 +
.navpic {
 +
background-color: #ffffff;
 +
float: left;
 +
margin: 0px;
 +
padding: 2px;
 +
}
 +
 +
.navhead,
 +
.vtabcaption {
 +
background-color: #efefef;
 +
font-size: 100%;
 +
font-weight: bold;
 +
height: 1.6em;
 +
}
 +
 +
.navframe p {
 +
font-size: 100%;
 +
}
 +
 +
.navcontent {
 +
font-size: 100%;
 +
}
 +
 +
.navcontent p {
 +
font-size: 100%;
 +
}
 +
 +
.navend {
 +
clear: both;
 +
line-height: 1px;
 +
margin: 0px;
 +
padding: 0px;
 +
}
 +
 +
.navtoggle {
 +
float:right;
 +
font-size: x-small;
 +
}
 +
 +
/* Additional definitions for vertical tabs. */
 +
 +
.boxmerge,
 +
.navframe,
 +
.vtabs {
 +
margin: 0px;
 +
padding: 2px;
 +
border: 1px solid #aaaaaa;
 +
text-align: center;
 +
border-collapse: collapse;
 +
font-size: 95%;
 +
clear:both;
 +
}
 +
 +
.vtabs {
 +
text-align:left;
 +
margin: 0;
 +
padding: 0;
 +
border-collapse: separate;
 +
background: transparent;
 +
}
 +
 +
.vtab {
 +
width: 100%;
 +
}
 +
 +
.boxmerge .navframe,
 +
.boxmerge .vtabs {
 +
border-style: none;
 +
border-style: hidden;
 +
width: 100%;
 +
}
 +
 +
.vtabcaption {
 +
margin: 2px;
 +
}
 +
.vtabcontent {
 +
height: 0;
 +
}
 +
 +
/* Navigation bar for Category-Navigation in [[MediaWiki:Sitenotice]]. */
 +
 +
.sitenotice_navbar {
 +
background: none;
 +
border: none;
 +
bottom: -2.5em;
 +
float: right;
 +
font-size: 85%;
 +
line-height: 1.5em;
 +
margin: 0em;
 +
padding: 0em;
 +
position: absolute;
 +
right: 12px;
 +
text-align: right;
 +
text-indent: 0;
 +
text-transform: none;
 +
white-space: normal;
 +
z-index: 1;
 +
}
 +
 +
/*-------------------------------------*/
 +
/* +++  3. Other adjustments      +++ */
 +
/*-------------------------------------*/
 +
 +
/* Brandhot-Star */
 +
 +
.brandhot {
 +
background:url(https://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat;
 +
font-weight:bold;
 +
}
 +
 +
/* Images of unicode characters for ie users. */
 +
 +
.unicode span {
 +
visibility:hidden;
 +
}
 +
 +
.unicode#✓ {
 +
background:url(https://fwwiki.staticdata.de/images/e/e5/%E2%9C%93.gif) no-repeat;
 +
}
 +
 +
.unicode#✗ {
 +
background:url(https://fwwiki.staticdata.de/images/2/23/%E2%9C%97.gif) no-repeat;
 +
}
 +
 +
.unicode#✓colorgreen {
 +
background:url(https://fwwiki.staticdata.de/images/e/e2/%E2%9C%93green.gif) no-repeat;
 +
}
 +
 +
.unicode#✗colorred {
 +
background:url(https://fwwiki.staticdata.de/images/9/95/%E2%9C%97red.gif) no-repeat;
 +
}
 +
 +
.unicode#☮font-size2em {
 +
background:url(https://fwwiki.staticdata.de/images/5/56/%E2%98%AE.gif) no-repeat 0em 0.3em;
 +
}
 +
 +
*[class].unicode span {
 +
visibility:visible;
 +
}
 +
 +
*[class].unicode#✓,
 +
*[class].unicode#✓colorgreen,
 +
*[class].unicode#✗colorred,
 +
*[class].unicode☮?font-size2em {
 +
background-image:url();
 +
}
 +
 +
/* Warning messages for ie users. */
 +
 +
*[class].IEonly {
 +
display:none;
 +
}
 +
 +
*.noIE {
 +
display:none;
 +
}
 +
 +
*[class].noIE {
 +
display:inherit;
 +
}
 +
 +
/* Provides transparency for graphics. */
 +
 +
#file img {
 +
background-image:url(https://fwwiki.staticdata.de/images/7/73/Checker.png);
 +
}
 +
 +
/* Is used to highlight [[MediaWiki:Anoneditwarning]]. */
 +
 +
#mw-anon-edit-warning {
 +
background: #d3e1f2;
 +
border: 1px solid #1a47ff;
 +
margin: 1em auto;
 +
padding: 1em;
 +
width: 80%;
 +
}
 +
 +
/* Show bold admin links in the special page overview; hide legend. */
 +
 +
.mw-specialpages-notes {
 +
display: none;
 +
}
 +
 +
.mw-specialpagerestricted {
 +
font-weight: normal;
 +
}
 +
 +
/* Marking of redirects (for example, in [[Special:AllPages]]). */
 +
 +
.allpagesredirect,
 +
.redirect-in-category,
 +
.watchlistredir {
 +
font-style: italic;
 +
}
 +
 +
/* Removes the arrow behind links on the Freewar wiki, whereby oneself spared the „plainlinks“ class. */
 +
 +
div#content a.external[href^="https://fwwiki.org"],
 +
div#content a.external[href^="https://www.fwwiki.org"],
 +
#mw_content a.external[href^="https://fwwiki.org"],
 +
#mw_content a.external[href^="https://www.fwwiki.org"] {
 +
background: none;
 +
padding-right: 0;
 +
}
 +
 +
/* Prevents the layout from being blown during SVG errors. */
 +
 +
.MediaTransformError {
 +
overflow: hidden;
 +
}
 +
 +
/* Introductory table on [[Special:RecentChanges]] */
 +
 +
.RecentChangesHeadingTable {
 +
width: 70%;
 +
margin-left: 100px;
 +
}
 +
 +
/* Start: Logo */
 +
 +
#p-logo a { background-image:
 +
 +
url(https://fwwiki.staticdata.de/images/d/d1/Freewar.png)
 +
/* url(https://fwwiki.staticdata.de/images/f/f9/FreewarWeihnachten.png) */
 +
/* url(https://fwwiki.staticdata.de/images/7/79/FreewarSilvester.png) */
 +
 +
!important; }
 +
/* END: Logo */
 +
 +
 +
/* Start: NPC filter for maps, css for common.js (8.) */
 +
 +
.MapNPCBorder {
 +
border: 0 !important;
 +
width: 50px !important;
 +
height: 50px !important;
 +
background: #d00 url(https://fwwiki.staticdata.de/images/f/fb/Npchighlight.png) center no-repeat !important;
 +
}
 +
 +
.MapNPCBorder img {
 +
opacity: .5;
 +
filter: alpha(opacity = 50);
 +
}
 +
/* End: NPC filter for maps */
 +
 +
 +
/* START: FreewarWiki-CatNav */
 +
/* @author: User:Cembon */
 +
 +
#page_jump_to_div {
 +
display: inline-block;
 +
position: absolute;
 +
padding: 2px 5px 3px 20px;
 +
background: #f9f9f9 url(https://fwwiki.staticdata.de/images/9/9e/Dropdown.png) 3px center no-repeat;
 +
border-radius: 5px;
 +
border: 1px solid #aaa;
 +
cursor: pointer;
 +
right: -3px;
 +
margin-top: -5px;
 +
}
 +
 +
#page_jump_to_div:active, #page_jump_to_div:focus, #page_jump_to_menu:hover { cursor: text; }
 +
 +
#page_jump_to_menu {
 +
margin: 0 -1px; position: absolute;
 +
right: -15px; top: 0px; width: 373px;
 +
z-index: 11111; display: none;
 +
padding: 36px 15px 15px 15px;
 +
}
 +
 +
#page_jump_to_div:focus #page_jump_to_menu, #page_jump_to_div:active #page_jump_to_menu, #page_jump_to_menu:hover { display: block; }
 +
 +
#page_jump_to_menu ul {
 +
display: block;
 +
list-style: none;
 +
padding: 0; margin: 0;
 +
border: 1px solid #555;
 +
border-top: 0;
 +
background-color: transparent;
 +
width: 180px;
 +
}
 +
 +
#page_jump_to_menu_left { float: left; }
 +
 +
#page_jump_to_menu_right { float: right; }
 +
 +
#page_jump_to_menu ul li {
 +
display: block;
 +
border-top: 1px solid #555;
 +
margin: 0; padding: 0;
 +
}
 +
 +
#page_jump_to_menu ul li a {
 +
font-size: 11px;
 +
display: block;
 +
text-align: left;
 +
text-decoration: none;
 +
color: #333;
 +
padding: 1px 4px; margin: 0;
 +
}
 +
 +
#page_jump_to_menu ul li a:hover {
 +
border-left: 5px solid #444;
 +
text-decoration: none;
 +
font-weight: bold;
 +
color: #000;
 +
padding-left: 10px;
 +
}
 
   
 
   
−
/* Navigationsleisten nicht mit ausdrucken */
+
/* END FreewarWiki-CatNav */
−
@media print { .NavFrame, .BoxenVerschmelzen, .VTabs { display: none; } }
 
  
−
/* Abgerundete Ecken für Rahmen (noch kein CSS-Standard, kommt in CSS 3.0) */
+
/* Hide MediaWiki Help links. */
−
.rundeecken
+
#mw-indicator-mw-helplink {
−
{
+
display: none;
−
  -moz-border-radius:10px;
+
}
−
}
 
  
−
/* Einstellungen für [[Cold Sunfire]]-ähnliche Tabellen */
 
−
table.coldsunfire { border-collapse: collapse; font-size: 12px; }
 
−
table.coldsunfire td { padding: 2px; padding-left: 5px; background-color: #ECE9E6; border: 1px solid #D6CBC2; }
 
−
table.coldsunfire th { border: 1px solid #A2A09F; font-weight: bold; padding: 2px; padding-left: 5px; background-image: url(http://fwwiki.de/images/a/ae/Button_bg.jpg); text-align: left; }
 
  
−
/* Gesamtkartenspezifisches */
+
/*** Particular css classes. ***/
−
.brownlink a { color:#775533 }
 
−
.gesamtkartenwarnung { display:none; }
 
  
−
#bodyContent { position:relative; }
+
.sitenotice { margin-right: 100px; padding: 2px; border:medium #8888ff ridge };
  
−
#navbar
+
/*** End: Particular css classes ***/
−
 
−
position:absolute; z-index:1; border:none; background:none;
 
−
right:12px; top:-3.2em; float:right; margin:0.0em;
 
−
padding:0.0em; line-height:1.5em; text-align:right; text-indent:0;
 
−
font-size:85%; text-transform:none; white-space:normal;
 
−
}
 

Latest revision as of 12:24, 16 June 2019

/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/
/** COMMON SKIN-ADAPTATIONS FOR THE FREEWARWIKI                           **/
/** Any addition or modification on this page, must be checked absolutely **/
/** before for all skins on her functionality.                            **/
/** All changes on this page affect the representation of all contents.   **/
/** Please pay particular attention to your changes;                      **/
/** arrange them before best of all with the community.                   **/
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/

/**********      Contents      **********/
/*** 1. Map specific                  ***/
/*** 2. Tables and Layout             ***/
/*** 3. Other adaptations             ***/
/****************************************/

/*-------------------------------------*/
/* +++    1. Map specific          +++ */
/*-------------------------------------*/
/* These style definitions are used to display the entire and the interactive map. */

/* Frame around area on mini-map */

.minimap .selflink span {
	border: 1px solid #FF0000;
}

/* Activates a message when changes on the complete map was made. */

.completemapwarning {
	display: none;
}

/* Links on interactive map (to npcs, places, ...). */

.maplink {
	line-height: 1em;
	text-decoration: none;
	z-index: 2;
}

.maplink a:link,
.maplink a:hover {
	text-decoration: none;
}

/* NPC-Links on interactive map. */

a .NPC,
a:link .NPC {
	display: none;
}

a:hover .NPC,
a:active .NPC {
	display: inherit;
}

/* Adapts images of the interactive map, which aren't have the size of 50x50 pixels. */

.map_layout img { height: 50px; width: 50px; }

/* NPC-Images and quest infos hide by default (will be regulated per [[MediaWiki:Common.js]]). */

.NI {
	display:none;
}

.NIvisible .NI {
	display:inherit;
}

.QP {
	display:none;
}
 
.QPvisible .QP {
	display:inherit;
}

/* Generates brown links on [[CompleteMap]]. */

.brownlink a {
	color: #775533
}

/* Rhombus to display articles about places in the map namespace, embedded by [[Template:Map/Place]]. */

.bg_rhombus {
	background-image: url('https://fwwiki.staticdata.de/images/4/49/Raute.png');
}

/* Creates an earth symbol to display a location on a integrated minimap, used by [[Template:Disamb-Place]]. */

.linktomap { 
	background:url(https://fwwiki.staticdata.de/images/4/41/12px-Erde.png) center no-repeat;
}

/*-------------------------------------*/
/* +++   2. Tables and Layout      +++ */
/*-------------------------------------*/

/* „Cold Sunfire“-related tables. */

table.coldsunfire {
	border-collapse: collapse;
	font-size: 12px;
}

table.coldsunfire td {
	background-color: #ECE9E6;
	border: 1px solid #D6CBC2;
	padding: 2px;
	padding-left: 5px;
}

table.coldsunfire th {
	background-image: url(https://fwwiki.de/images/a/ae/Button_bg.jpg);
	border: 1px solid #A2A09F;
	font-weight: bold;
	padding: 2px;
	padding-left: 5px;
	text-align: left;
}

/* Replaced prettytable template. */

.prettytable {
	border: 1px solid #aaaaaa;
	border-collapse: collapse;
	background-color: #F9F9F9;
	font-size: 95%;
}

.prettytable th,
.prettytable td {
	border: 1px solid #aaaaaa;
	padding: 0.33em;
}

.prettytable th {
	font-weight: bold;
	text-align: center;
}


/* At this point follows the color- and frame definitions for the template system, first the standards for framings, then color definitions. */
/* Frame configurations (layout_border_...). */

.layout_border_solid {
	border-style:solid;
	border-width:2px;
}
 
.layout_border_outset {
	border-style:outset;
	border-width:2px;
}
 
.layout_border_dotted {
	border-style:dotted;
}
 
.layout_border_dashed {
	border-style:dashed;
}

.layout_border_double {
	border-style:double;
}
 
/* Colours (layout_color_...). */

.layout_color_antiquity {
	background:#eeeeee;
	border-color:#bbbbbb;
}
 
.layout_color_task {
	background:#b8b9de;
	border-color:#8E11FF;
}
 
.layout_color_weapon {
	background:#ffcccc;
	border-color:#aa3344;
}
 
.layout_color_region {
	background:#ddccaa;
	border-color:#775533;
}
 
.layout_color_book {
	background:#ffffcc;
	border-color:#eedd77;
}
 
.layout_color_skill {
	background:#ffffcc;
	border-color:#eedd77;
}

.layout_color_default {
	background:#f9f9f9;
	border-color:#e9e9e9
}
 
.layout_color_dungeon {
	background:#ddccaa;
	border-color:#775533;
}
 
.layout_color_achievement {
	background:#ffffcc;
	border-color:#eedd77;
}
 
.layout_color_fieldsummary {
	background:#ddccaa;
	border-color:#775533;
}
 
.layout_color_area {
	background:#ddccaa;
	border-color:#775533;
}
 
.layout_color_meal {
	background:#efffcc;
	border-color:#bdff77;
}
 
.layout_color_partynpc {
	background:#ccccff;
	border-color:#7777ff;
}
 
.layout_color_amulet {
	background:#ffccd0;
	border-color:#c05040;
}
 
.layout_color_error {
	background:#ff3d00;
	border-color:#800000;
}
 
.layout_color_item {
	background:#eeeeee;
	border-color:#bbbbbb;
}

.layout_color_item_rp {
	background:#eeeeee;
	border-color:#2EA22B;
}
 
.layout_color_npcstate {
	background:orange;
	border-color:#AAAA00;
}
 
.layout_color_npc {
	background:#ccccff;
	border-color:#7777ff;
}

.layout_color_npc_rp {
	background:#ccccff;
	border-color:#2EA22B;
}
 
.layout_color_place {
	background:#ddccaa;
	border-color:#775533;
}
 
.layout_color_plant {
	background:#a3eb88;
	border-color:#28ac0b;
}
 
.layout_color_quest {
	background:#efddff;
	border-color:#bd77ff;
}

.layout_color_quest_rp {
	background:#efddff;
	border-color:#2EA22B;
}
 
.layout_color_questperson {
	background:#efddff;
	border-color:#bd77ff;
}
 
.layout_color_race {
	background:#8080cc;
	border-color:#000080;
}
 
.layout_color_resistancenpc {
    background:#ccccff;
    border-color:#7777ff;
}
 
.layout_color_rangedweapon {
	background:#ffddc0;
	border-color:#dd8044;
}
 
.layout_color_shop {
	background:#cccccc;
	border-color:#666666;
}
 
.layout_color_specialability {
	background:#8080cc;
	border-color:#000080;
}
 
.layout_color_style {
	background:#bbbbbb;
	border-color:#eeeeee;
}
 
.layout_color_superresistancenpc {
    background:#ccccff;
    border-color:#7777ff;
}
 
.layout_color_uniqueitem {
	background:#eeeeee;
	border-color:#bbbbbb;
}
 
.layout_color_uniquenpc {
	background:#ccccff;
	border-color:#7777ff;
}

.layout_color_uniquenpc_rp {
	background:#ccccff;
	border-color:#2EA22B;
}

.layout_color_shelter {
	background:#ffeebb;
	border-color:#ffdc73;
}

.layout_color_armour {
	background:#ffccdd;
	border-color:#aa3344;
}
 
.layout_color_weathereffect {
	background:#ccffff;
	border-color:#77ddee;
}
 
.layout_color_spell {
	background:#ffefcc;
	border-color:#ffbd77;
}
 
.layout_color_condition {
	background:#aaffbb;
	border-color:#008800;
}

.layout_color_phasepattern {
    background:#dddd44;
    border-color:#de9144;
} 

/* No printing of navigation bars. */

@media print {
	.boxmerge,
	.navframe,
	.vtabs {
		display: none;
	}
}

/* General definition for navigation bars. */

/* Navbar exists according to current knowledge (23.01.2014) only on the main page */

#navbar { 

	background: none;
	border: none;
	font-size: 85%;
	line-height: 1.5em;
	margin: 0em;
	padding: 0em;
	position: absolute;
	text-align: center;
	text-indent: 0;
	text-transform: none;
	top: -1.5em;
	/* top: -3.2em; */
	width: 100%;
	white-space: normal;
	z-index: 1;
}
.navframe + .navframe {
	border-top-style: none;
	border-top-style: hidden;
}
.navpic {
	background-color: #ffffff;
	float: left;
	margin: 0px;
	padding: 2px;
}

.navhead,
.vtabcaption {
	background-color: #efefef;
	font-size: 100%;
	font-weight: bold;
	height: 1.6em;
}

.navframe p {
	font-size: 100%;
}

.navcontent {
	font-size: 100%;
}

.navcontent p {
	font-size: 100%;
}

.navend {
	clear: both;
	line-height: 1px;
	margin: 0px;
	padding: 0px;
}

.navtoggle {
	float:right;
	font-size: x-small;
}

/* Additional definitions for vertical tabs. */

.boxmerge,
.navframe,
.vtabs {
	margin: 0px;
	padding: 2px;
	border: 1px solid #aaaaaa;
	text-align: center;
	border-collapse: collapse;
	font-size: 95%;
	clear:both;
}

.vtabs {
	text-align:left;
	margin: 0;
	padding: 0;
	border-collapse: separate;
	background: transparent;
}

.vtab {
	width: 100%;
}

.boxmerge .navframe,
.boxmerge .vtabs {
	border-style: none;
	border-style: hidden;
	width: 100%;
}

.vtabcaption {
	margin: 2px;
}
.vtabcontent {
	height: 0;
}

/* Navigation bar for Category-Navigation in [[MediaWiki:Sitenotice]]. */

.sitenotice_navbar {
	background: none;
	border: none;
	bottom: -2.5em;
	float: right;
	font-size: 85%;
	line-height: 1.5em;
	margin: 0em;
	padding: 0em;
	position: absolute;
	right: 12px;
	text-align: right;
	text-indent: 0;
	text-transform: none;
	white-space: normal;
	z-index: 1;
}

/*-------------------------------------*/
/* +++  3. Other adjustments       +++ */
/*-------------------------------------*/

/* Brandhot-Star */

.brandhot {
	background:url(https://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat;
	font-weight:bold;
}

/* Images of unicode characters for ie users. */

.unicode span {
	visibility:hidden;
}

.unicode#✓ {
	background:url(https://fwwiki.staticdata.de/images/e/e5/%E2%9C%93.gif) no-repeat;
}

.unicode#✗ {
	background:url(https://fwwiki.staticdata.de/images/2/23/%E2%9C%97.gif) no-repeat;
}

.unicode#✓colorgreen {
	background:url(https://fwwiki.staticdata.de/images/e/e2/%E2%9C%93green.gif) no-repeat;
}

.unicode#✗colorred {
	background:url(https://fwwiki.staticdata.de/images/9/95/%E2%9C%97red.gif) no-repeat;
}

.unicode#☮font-size2em {
	background:url(https://fwwiki.staticdata.de/images/5/56/%E2%98%AE.gif) no-repeat 0em 0.3em;
}

*[class].unicode span {
	visibility:visible;
}

*[class].unicode#✓,
*[class].unicode#✓colorgreen,
*[class].unicode#✗colorred,
*[class].unicode☮?font-size2em {
	background-image:url();
}

/* Warning messages for ie users. */

*[class].IEonly {
	display:none;
}

*.noIE {
	display:none;
}

*[class].noIE {
	display:inherit;
}

/* Provides transparency for graphics. */

#file img {
	background-image:url(https://fwwiki.staticdata.de/images/7/73/Checker.png);
}

/* Is used to highlight [[MediaWiki:Anoneditwarning]]. */

#mw-anon-edit-warning {
	background: #d3e1f2;
	border: 1px solid #1a47ff;
	margin: 1em auto;
	padding: 1em;
	width: 80%;
}

/* Show bold admin links in the special page overview; hide legend. */

.mw-specialpages-notes {
	display: none;
}

.mw-specialpagerestricted {
	font-weight: normal;
}

/* Marking of redirects (for example, in [[Special:AllPages]]). */

.allpagesredirect,
.redirect-in-category,
.watchlistredir {
	font-style: italic;
}

/* Removes the arrow behind links on the Freewar wiki, whereby oneself spared the „plainlinks“ class. */

div#content a.external[href^="https://fwwiki.org"],
div#content a.external[href^="https://www.fwwiki.org"],
#mw_content a.external[href^="https://fwwiki.org"],
#mw_content a.external[href^="https://www.fwwiki.org"] {
	background: none;
	padding-right: 0;
}

/* Prevents the layout from being blown during SVG errors. */

.MediaTransformError {
	overflow: hidden;
}

/* Introductory table on [[Special:RecentChanges]] */

.RecentChangesHeadingTable {
	width: 70%;
	margin-left: 100px;
}

/* Start: Logo */

#p-logo a { background-image:

url(https://fwwiki.staticdata.de/images/d/d1/Freewar.png)
/* url(https://fwwiki.staticdata.de/images/f/f9/FreewarWeihnachten.png) */
/* url(https://fwwiki.staticdata.de/images/7/79/FreewarSilvester.png) */ 

!important; }
/* END: Logo */


/* Start: NPC filter for maps, css for common.js (8.) */

.MapNPCBorder {
	border: 0 !important;
	width: 50px !important;
	height: 50px !important;
	background: #d00 url(https://fwwiki.staticdata.de/images/f/fb/Npchighlight.png) center no-repeat !important;
}

.MapNPCBorder img {
	opacity: .5;
	filter: alpha(opacity = 50);
}
/* End: NPC filter for maps */


/* START: FreewarWiki-CatNav */
/* @author: User:Cembon */
 
#page_jump_to_div {
	display: inline-block;
	position: absolute;
	padding: 2px 5px 3px 20px;
	background: #f9f9f9 url(https://fwwiki.staticdata.de/images/9/9e/Dropdown.png) 3px center no-repeat;
	border-radius: 5px;
	border: 1px solid #aaa;
	cursor: pointer;
	right: -3px;
	margin-top: -5px;
}
 
#page_jump_to_div:active, #page_jump_to_div:focus, #page_jump_to_menu:hover { cursor: text; }
 
#page_jump_to_menu {
	margin: 0 -1px; position: absolute;
	right: -15px; top: 0px; width: 373px;
	z-index: 11111; display: none;
	padding: 36px 15px 15px 15px;
}
 
#page_jump_to_div:focus #page_jump_to_menu, #page_jump_to_div:active #page_jump_to_menu, #page_jump_to_menu:hover { display: block; }
 
#page_jump_to_menu ul {
	display: block;
	list-style: none;
	padding: 0; margin: 0;
	border: 1px solid #555;
	border-top: 0;
	background-color: transparent;
	width: 180px;
}
 
#page_jump_to_menu_left { float: left; }
 
#page_jump_to_menu_right { float: right; }
 
#page_jump_to_menu ul li {
	display: block;
	border-top: 1px solid #555;
	margin: 0; padding: 0;
}
 
#page_jump_to_menu ul li a {
	font-size: 11px;
	display: block;
	text-align: left;
	text-decoration: none;
	color: #333;
	padding: 1px 4px; margin: 0;
}
 
#page_jump_to_menu ul li a:hover {
	border-left: 5px solid #444;
	text-decoration: none;
	font-weight: bold;
	color: #000;
	padding-left: 10px;
}
 
/* END FreewarWiki-CatNav */

/* Hide MediaWiki Help links. */
#mw-indicator-mw-helplink {
	display: none;
}


/*** Particular css classes. ***/

.sitenotice { margin-right: 100px; padding: 2px; border:medium #8888ff ridge };

/*** End: Particular css classes ***/