Kategorien
![]() |
Bitte befüllt die Seite DarkfleetWiki:NoSpamUser in alphabetischer Reihenfolge mit den Namen von Wikibenutzern, welche keine Spam-Bots sind. | ![]() |
MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus DarkfleetWiki
Galak (Diskussion | Beiträge) |
Galak (Diskussion | Beiträge) (testweise teile der common.css des fwwiki) |
||
Zeile 1: | Zeile 1: | ||
− | /** | + | /**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/ |
− | + | /** GEMEINSAME SKINANPASSUNGEN FÜR DAS DarkfleetWiki **/ | |
+ | /** Jede Ergänzung oder Änderung an dieser Seite muss unbedingt vorher **/ | ||
+ | /** für alle Skins auf ihre Funktionalität hin geprüft werden. Alle **/ | ||
+ | /** Änderungen auf dieser Seite wirken sich auf die Darstellung aller **/ | ||
+ | /** Inhalte aus. Bitte achte deshalb mit besonderer Sorgfalt auf deine **/ | ||
+ | /** Änderungen; sprich sie vorher am besten mit der Community ab. **/ | ||
+ | /** teilweise Import von: FreewarWiki: MediaWiki:Common.css **/ | ||
+ | /**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/ | ||
− | + | /********** Inhaltsverzeichnis **********/ | |
− | + | /*** 1. Tabellen und Layout ***/ | |
+ | /*** 2. Sonstige Anpassungen ***/ | ||
+ | /****************************************/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /*-------------------------------------*/ | |
− | + | /* +++ 1. Tabellen und Layout +++ */ | |
+ | /*-------------------------------------*/ | ||
− | + | /* „Cold Sunfire“-ähnliche Tabellen */ | |
− | + | 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(http://fwwiki.de/images/a/ae/Button_bg.jpg); | ||
+ | border: 1px solid #A2A09F; | ||
+ | font-weight: bold; | ||
+ | padding: 2px; | ||
+ | padding-left: 5px; | ||
+ | text-align: left; | ||
+ | } | ||
− | + | /* Ersetzt Prettytable-Vorlage */ | |
+ | .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; | |
− | + | } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | /* Navigationsleisten nicht mit ausdrucken */ | |
− | + | @media print { | |
− | + | .BoxenVerschmelzen, | |
+ | .NavFrame, | ||
+ | .VTabs { | ||
+ | display: none; | ||
+ | } | ||
+ | } | ||
− | + | /* Allgemeine Definition für Navigationsleisten */ | |
− | + | #navbar { | |
− | + | background: none; | |
− | + | border: none; | |
− | + | 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; | ||
+ | top: -1.5em; | ||
+ | /* top: -3.2em; */ | ||
+ | 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; | ||
+ | } | ||
+ | |||
+ | /* Zusätzliche Definitionen für vertikale Tabs */ | ||
+ | .BoxenVerschmelzen, | ||
+ | .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%; | ||
+ | } | ||
+ | |||
+ | .BoxenVerschmelzen .NavFrame, | ||
+ | .BoxenVerschmelzen .VTabs { | ||
+ | border-style: none; | ||
+ | border-style: hidden; | ||
+ | width: 100%; | ||
+ | } | ||
+ | |||
+ | .VTabCaption { | ||
+ | margin: 2px; | ||
+ | } | ||
+ | .VTabContent { | ||
+ | height: 0; | ||
+ | } | ||
+ | |||
+ | /* Navigationsleiste für Kategorie-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. Sonstige Anpassungen +++ */ | ||
+ | /*-------------------------------------*/ | ||
+ | |||
+ | /* Brandheiss-Stern */ | ||
+ | .brandheiss { | ||
+ | background:url(http://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat; | ||
+ | font-weight:bold; | ||
+ | } | ||
+ | |||
+ | /* Bilder von Unicode-Zeichen für IE-Nutzer */ | ||
+ | .unicode span { | ||
+ | visibility:hidden; | ||
+ | } | ||
+ | |||
+ | .unicode#✓ { | ||
+ | background:url(http://fwwiki.staticdata.de/images/e/e5/%E2%9C%93.gif) no-repeat; | ||
+ | } | ||
+ | |||
+ | .unicode#✗ { | ||
+ | background:url(http://fwwiki.staticdata.de/images/2/23/%E2%9C%97.gif) no-repeat; | ||
+ | } | ||
+ | |||
+ | .unicode#✓colorgreen { | ||
+ | background:url(http://fwwiki.staticdata.de/images/e/e2/%E2%9C%93green.gif) no-repeat; | ||
+ | } | ||
+ | |||
+ | .unicode#✗colorred { | ||
+ | background:url(http://fwwiki.staticdata.de/images/9/95/%E2%9C%97red.gif) no-repeat; | ||
+ | } | ||
+ | |||
+ | .unicode#☮font-size2em { | ||
+ | background:url(http://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(); | ||
+ | } | ||
+ | |||
+ | /* Warnmeldungen für IE-Benutzer */ | ||
+ | *[class].IEonly { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | *.noIE { | ||
+ | display:none; | ||
+ | } | ||
+ | |||
+ | *[class].noIE { | ||
+ | display:inherit; | ||
+ | } | ||
+ | |||
+ | /* Dient zur Transparenzanzeige bei Grafiken */ | ||
+ | #file img { | ||
+ | background-image:url(http://fwwiki.staticdata.de/images/7/73/Checker.png); | ||
+ | } | ||
+ | |||
+ | /* Dient der Hervorhebung von [[MediaWiki:Anoneditwarning]] */ | ||
+ | #mw-anon-edit-warning { | ||
+ | background: #d3e1f2; | ||
+ | border: 1px solid #1a47ff; | ||
+ | margin: 1em auto; | ||
+ | padding: 1em; | ||
+ | width: 80%; | ||
+ | } | ||
+ | |||
+ | /* Fette Admin-Links in der Spezialseiten-Übersicht normal anzeigen; Legende ausblenden */ | ||
+ | .mw-specialpages-notes { | ||
+ | display: none; | ||
+ | } | ||
+ | |||
+ | .mw-specialpagerestricted { | ||
+ | font-weight: normal; | ||
+ | } | ||
+ | |||
+ | /* Markierung von Weiterleitungen (z.B. in [[Spezial:Alle Seiten]]) */ | ||
+ | .allpagesredirect, | ||
+ | .redirect-in-category, | ||
+ | .watchlistredir { | ||
+ | font-style: italic; | ||
+ | } | ||
+ | |||
+ | /* Entfernt den Pfeil hinter Links auf das DarkfleetWiki, wodurch man sich die „plainlinks“-Klasse erspart */ | ||
+ | div#content a.external[href^="http://darkfleetwiki.de"], | ||
+ | div#content a.external[href^="http://www.darkfleetwiki.de"], | ||
+ | #mw_content a.external[href^="http://darkfleetwiki.de"], | ||
+ | #mw_content a.external[href^="http://www.darkfleetwiki.de"] { | ||
+ | background: none; | ||
+ | padding-right: 0; | ||
+ | } | ||
− | /* SVG-Errors */ | + | /* Verhindert die Sprengung des Layouts bei momentanen SVG-Errors */ |
.MediaTransformError { | .MediaTransformError { | ||
− | + | overflow: hidden; | |
} | } | ||
+ | |||
+ | /* Einleitende Tabelle bei auf [[Spezial:Letzte Änderungen]] */ | ||
+ | .RecentChangesHeadingTable { | ||
+ | width: 70%; | ||
+ | margin-left: 100px; | ||
+ | } | ||
+ | |||
+ | /* Alternativlogo: Standard weg */ | ||
+ | /* #p-logo { display: none; } */ |
Version vom 9. August 2012, 06:29 Uhr
/**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/ /** GEMEINSAME SKINANPASSUNGEN FÜR DAS DarkfleetWiki **/ /** Jede Ergänzung oder Änderung an dieser Seite muss unbedingt vorher **/ /** für alle Skins auf ihre Funktionalität hin geprüft werden. Alle **/ /** Änderungen auf dieser Seite wirken sich auf die Darstellung aller **/ /** Inhalte aus. Bitte achte deshalb mit besonderer Sorgfalt auf deine **/ /** Änderungen; sprich sie vorher am besten mit der Community ab. **/ /** teilweise Import von: FreewarWiki: MediaWiki:Common.css **/ /**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**--**/ /********** Inhaltsverzeichnis **********/ /*** 1. Tabellen und Layout ***/ /*** 2. Sonstige Anpassungen ***/ /****************************************/ /*-------------------------------------*/ /* +++ 1. Tabellen und Layout +++ */ /*-------------------------------------*/ /* „Cold Sunfire“-ähnliche Tabellen */ 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(http://fwwiki.de/images/a/ae/Button_bg.jpg); border: 1px solid #A2A09F; font-weight: bold; padding: 2px; padding-left: 5px; text-align: left; } /* Ersetzt Prettytable-Vorlage */ .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; } /* Navigationsleisten nicht mit ausdrucken */ @media print { .BoxenVerschmelzen, .NavFrame, .VTabs { display: none; } } /* Allgemeine Definition für Navigationsleisten */ #navbar { background: none; border: none; 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; top: -1.5em; /* top: -3.2em; */ 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; } /* Zusätzliche Definitionen für vertikale Tabs */ .BoxenVerschmelzen, .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%; } .BoxenVerschmelzen .NavFrame, .BoxenVerschmelzen .VTabs { border-style: none; border-style: hidden; width: 100%; } .VTabCaption { margin: 2px; } .VTabContent { height: 0; } /* Navigationsleiste für Kategorie-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. Sonstige Anpassungen +++ */ /*-------------------------------------*/ /* Brandheiss-Stern */ .brandheiss { background:url(http://fwwiki.staticdata.de/images/f/fc/Brandheiß.gif) center no-repeat; font-weight:bold; } /* Bilder von Unicode-Zeichen für IE-Nutzer */ .unicode span { visibility:hidden; } .unicode#✓ { background:url(http://fwwiki.staticdata.de/images/e/e5/%E2%9C%93.gif) no-repeat; } .unicode#✗ { background:url(http://fwwiki.staticdata.de/images/2/23/%E2%9C%97.gif) no-repeat; } .unicode#✓colorgreen { background:url(http://fwwiki.staticdata.de/images/e/e2/%E2%9C%93green.gif) no-repeat; } .unicode#✗colorred { background:url(http://fwwiki.staticdata.de/images/9/95/%E2%9C%97red.gif) no-repeat; } .unicode#☮font-size2em { background:url(http://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(); } /* Warnmeldungen für IE-Benutzer */ *[class].IEonly { display:none; } *.noIE { display:none; } *[class].noIE { display:inherit; } /* Dient zur Transparenzanzeige bei Grafiken */ #file img { background-image:url(http://fwwiki.staticdata.de/images/7/73/Checker.png); } /* Dient der Hervorhebung von [[MediaWiki:Anoneditwarning]] */ #mw-anon-edit-warning { background: #d3e1f2; border: 1px solid #1a47ff; margin: 1em auto; padding: 1em; width: 80%; } /* Fette Admin-Links in der Spezialseiten-Übersicht normal anzeigen; Legende ausblenden */ .mw-specialpages-notes { display: none; } .mw-specialpagerestricted { font-weight: normal; } /* Markierung von Weiterleitungen (z.B. in [[Spezial:Alle Seiten]]) */ .allpagesredirect, .redirect-in-category, .watchlistredir { font-style: italic; } /* Entfernt den Pfeil hinter Links auf das DarkfleetWiki, wodurch man sich die „plainlinks“-Klasse erspart */ div#content a.external[href^="http://darkfleetwiki.de"], div#content a.external[href^="http://www.darkfleetwiki.de"], #mw_content a.external[href^="http://darkfleetwiki.de"], #mw_content a.external[href^="http://www.darkfleetwiki.de"] { background: none; padding-right: 0; } /* Verhindert die Sprengung des Layouts bei momentanen SVG-Errors */ .MediaTransformError { overflow: hidden; } /* Einleitende Tabelle bei auf [[Spezial:Letzte Änderungen]] */ .RecentChangesHeadingTable { width: 70%; margin-left: 100px; } /* Alternativlogo: Standard weg */ /* #p-logo { display: none; } */