![]() |
You're no bot and a page you've created got automatically deleted? Add your name to FreewarWiki:NoSpamUser | ![]() |
Difference between revisions of "Common1.css"
(Created page with "→*--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--*: →* GEMEINSAME SKINANPASSUNGEN FÜR DAS FREEWARWIKI *: /** Jede Ergänzung...") |
(update) |
||
Line 1: | Line 1: | ||
− | /**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/ | + | /**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/ |
− | /** | + | /** 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. | + | /*** 1. Map specific ***/ |
− | /*** 2. | + | /*** 2. Tables and Layout ***/ |
− | /*** 3. | + | /*** 3. Other adaptations ***/ |
/****************************************/ | /****************************************/ | ||
/*-------------------------------------*/ | /*-------------------------------------*/ | ||
− | /* +++ 1. | + | /* +++ 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 { | .minimap .selflink span { | ||
border: 1px solid #FF0000; | border: 1px solid #FF0000; | ||
} | } | ||
− | /* | + | /* Activates a message when changes on the complete map was made. */ |
− | . | + | |
+ | .completemapwarning { | ||
display: none; | display: none; | ||
} | } | ||
− | /* Links | + | /* Links on interactive map (to npcs, places, ...) */ |
+ | |||
.maplink { | .maplink { | ||
line-height: 1em; | line-height: 1em; | ||
Line 41: | Line 44: | ||
} | } | ||
− | /* NPC-Links | + | /* NPC-Links on interactive map */ |
+ | |||
a .NPC, | a .NPC, | ||
a:link .NPC { | a:link .NPC { | ||
Line 52: | Line 56: | ||
} | } | ||
− | /* | + | /* Adapts images of the interactive map, which aren't have the size of 50x50 px */ |
+ | |||
.map_layout img { height: 50px; width: 50px; } | .map_layout img { height: 50px; width: 50px; } | ||
− | /* NPC- | + | /* NPC-Images and quest infos hide by default (will be regulated per [[MediaWiki:Common.js]]) */ |
+ | |||
.NI { | .NI { | ||
display:none; | display:none; | ||
Line 72: | Line 78: | ||
} | } | ||
− | /* | + | /* Generates brown links on [[CompleteMap]] */ |
+ | |||
.brownlink a { | .brownlink a { | ||
color: #775533 | color: #775533 | ||
} | } | ||
− | /* | + | /* Rhombus to display articles about places in the namespace for maps, embedded by [[Template:Map/Place]] */ |
+ | |||
.bg_rhombus { | .bg_rhombus { | ||
background-image: url('http://fwwiki.staticdata.de/images/4/49/Raute.png'); | background-image: url('http://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 { | .linktomap { | ||
background:url(http://fwwiki.staticdata.de/images/4/41/12px-Erde.png) center no-repeat; | background:url(http://fwwiki.staticdata.de/images/4/41/12px-Erde.png) center no-repeat; | ||
Line 88: | Line 97: | ||
/*-------------------------------------*/ | /*-------------------------------------*/ | ||
− | /* +++ 2. | + | /* +++ 2. Tables and Layout +++ */ |
/*-------------------------------------*/ | /*-------------------------------------*/ | ||
− | /* „Cold Sunfire“- | + | /* „Cold Sunfire“-related tables */ |
+ | |||
table.coldsunfire { | table.coldsunfire { | ||
border-collapse: collapse; | border-collapse: collapse; | ||
Line 113: | Line 123: | ||
} | } | ||
− | /* | + | /* Replaced prettytable template */ |
+ | |||
.prettytable { | .prettytable { | ||
border: 1px solid #aaaaaa; | border: 1px solid #aaaaaa; | ||
Line 133: | Line 144: | ||
− | /* | + | /* 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 { | .layout_border_solid { | ||
border-style:solid; | border-style:solid; | ||
Line 157: | Line 169: | ||
} | } | ||
− | /* | + | /* Colours (layout_color_...) */ |
+ | |||
.layout_color_antiquity { | .layout_color_antiquity { | ||
background:#eeeeee; | background:#eeeeee; | ||
Line 223: | Line 236: | ||
} | } | ||
− | . | + | .layout_color_amulet { |
background:#ffccd0; | background:#ffccd0; | ||
border-color:#c05040; | border-color:#c05040; | ||
Line 363: | Line 376: | ||
} | } | ||
− | /* | + | /* No printing of navigation bars */ |
+ | |||
@media print { | @media print { | ||
.boxmerge, | .boxmerge, | ||
Line 372: | Line 386: | ||
} | } | ||
− | /* | + | /* General definition for navigation bars */ |
− | #navbar { /* navbar | + | |
+ | #navbar { /* navbar exists according to current knowledge (23.01.2014) only on the main page */ | ||
background: none; | background: none; | ||
Line 434: | Line 449: | ||
} | } | ||
− | /* | + | /* Additional definitions for vertical tabs */ |
.boxmerge, | .boxmerge, | ||
Line 474: | Line 489: | ||
} | } | ||
− | /* | + | /* Navigation bar for Category-Navigation in [[MediaWiki:Sitenotice]] */ |
+ | |||
.sitenotice_navbar { | .sitenotice_navbar { | ||
background: none; | background: none; | ||
Line 494: | Line 510: | ||
/*-------------------------------------*/ | /*-------------------------------------*/ | ||
− | /* +++ 3. | + | /* +++ 3. Other adjustments +++ */ |
/*-------------------------------------*/ | /*-------------------------------------*/ | ||
− | /* | + | /* Brandhot-Star */ |
− | . | + | |
+ | .brandhot { | ||
background:url(http://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat; | background:url(http://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat; | ||
font-weight:bold; | font-weight:bold; | ||
} | } | ||
− | /* | + | /* Images of unicode characters for ie users */ |
+ | |||
.unicode span { | .unicode span { | ||
visibility:hidden; | visibility:hidden; | ||
Line 539: | Line 557: | ||
} | } | ||
− | /* | + | /* Warning messages for IE users */ |
+ | |||
*[class].IEonly { | *[class].IEonly { | ||
display:none; | display:none; | ||
Line 552: | Line 571: | ||
} | } | ||
− | /* | + | /* Provides transparency for graphics */ |
+ | |||
#file img { | #file img { | ||
background-image:url(http://fwwiki.staticdata.de/images/7/73/Checker.png); | background-image:url(http://fwwiki.staticdata.de/images/7/73/Checker.png); | ||
} | } | ||
− | /* | + | /* Is used to highlight [[MediaWiki:Anoneditwarning]] */ |
+ | |||
#mw-anon-edit-warning { | #mw-anon-edit-warning { | ||
background: #d3e1f2; | background: #d3e1f2; | ||
Line 566: | Line 587: | ||
} | } | ||
− | /* | + | /* Show bold admin links in the special page overview; hide legend */ |
+ | |||
.mw-specialpages-notes { | .mw-specialpages-notes { | ||
display: none; | display: none; | ||
Line 576: | Line 598: | ||
/* Markierung von Weiterleitungen (z.B. in [[Spezial:Alle Seiten]]) */ | /* Markierung von Weiterleitungen (z.B. in [[Spezial:Alle Seiten]]) */ | ||
+ | Marking forwarding (for example, in [[Special: All pages]]) | ||
+ | |||
.allpagesredirect, | .allpagesredirect, | ||
.redirect-in-category, | .redirect-in-category, |
Revision as of 14:13, 1 February 2017
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--***/ /** 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 px */
.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 namespace for maps, embedded by Template:Map/Place */
.bg_rhombus { background-image: url('http://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() 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();
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_aweapon { 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 { /* navbar exists according to current knowledge (23.01.2014) only on the main page */
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() center no-repeat;
font-weight:bold;
}
/* Images of unicode characters for ie users */
.unicode span { visibility:hidden; }
.unicode#✓ {
background:url() no-repeat;
}
.unicode#✗ {
background:url() no-repeat;
}
.unicode#✓colorgreen {
background:url() no-repeat;
}
.unicode#✗colorred {
background:url() no-repeat;
}
.unicode#☮font-size2em {
background:url() 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();
}
/* 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; }
/* Markierung von Weiterleitungen (z.B. in Spezial:Alle Seiten) */ Marking forwarding (for example, in Special: All pages)
.allpagesredirect, .redirect-in-category, .watchlistredir { font-style: italic; }
/* Entfernt den Pfeil hinter Links auf das FreewarWiki, wodurch man sich die „plainlinks“-Klasse erspart */ div#content a.external[href^="http://fwwiki.org"], div#content a.external[href^="http://www.fwwiki.org"],
- mw_content a.external[href^="http://fwwiki.org"],
- mw_content a.external[href^="http://www.fwwiki.org"] {
background: none; padding-right: 0; }
/* Verhindert die Sprengung des Layouts bei momentanen SVG-Errors */ .MediaTransformError { overflow: hidden; }
/* Einleitende Tabelle bei auf Special:RecentChanges */ .RecentChangesHeadingTable { width: 70%; margin-left: 100px; }
/* ANFANG: Logo */
- p-logo a { background-image:
url()
/* url(
) */
/* url(
) */
!important; } /* ENDE: Logo */
/* ANFANG: NPC Filter für Karten, CSS für Common.js (8.) */
.MapNPCBorder {
border: 0 !important;
width: 50px !important;
height: 50px !important;
background: #d00 url() center no-repeat !important;
}
.MapNPCBorder img { opacity: .5; filter: alpha(opacity = 50); } /* ENDE: NPC Filter für Karten */
/* START: FreewarWiki-KatNav */
/* @author: Benutzer:Cembon */
- page_jump_to_div {
display: inline-block;
position: absolute;
padding: 2px 5px 3px 20px;
background: #f9f9f9 url() 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-KatNav */
/* MediaWiki Hilfelinks ausblenden */
- mw-indicator-mw-helplink {
display: none; }
/*** einzelne CSS-Klassen ***/
.sitenotice { margin-right: 100px; padding: 2px; border:medium #8888ff ridge };
/*** ENDE: einzelne CSS-Klassen ***/