User:Joystick/NewCommoncss
From C64-Wiki
Jump to navigationJump to search
/*-----------------------------------------------------------------------------------------*/ /* ACHTUNG! Common.css enthält die gemeinsamen Skin-Anpassungen des C64-Wiki */ /*-----------------------------------------------------------------------------------------*/
/* Common.css ist in drei grundlegende Abschnitte gegliedert: */ /* 1. Editierbare Seiteninhalte */ /* 2. Sonstige Anpassungen (Spezialseiten, u.a.) */ /* 3. Hauptseitenspezifisches */ /* Jede Ergänzung/Änderung muss vorher jeweils für alle Skins auf Tauglichkeit getestet werden, */ /* individuell per User.css! Ist hier erstmal geändert, dauert es dank Cache eine Weile, bis die */ /* Änderungen bei allen Nutzern sichtbar oder, bei Fehlern, korrigiert sind. */ /* Translation February 2013 */
/* +++++ 1. ANPASSUNGEN DER ANZEIGE VON EDITIERBAREN SEITENINHALTEN +++++ */
/* Edit-Section-Links */ .editsection { font-size:90%; }
/* Stylesheet-Ergänzung zu Standard-Navigationsleisten */ div.BoxenVerschmelzen, div.NavFrame { margin: 0px; padding: 2px; border: 1px solid #aaa; text-align: center; border-collapse: collapse; font-size: 95%; clear:both; } div.BoxenVerschmelzen div.NavFrame { border-style: none; border-style: hidden; } div.NavFrame + div.NavFrame { border-top-style: none; border-top-style: hidden; } div.NavPic { background-color: #fff; margin: 0px; padding: 2px; float: left; } div.NavFrame div.NavHead { height: 1.6em; font-weight: bold; font-size: 100%; background-color: #efefef; } div.NavFrame p { font-size: 100%; } div.NavFrame div.NavContent { font-size: 100%; } div.NavFrame div.NavContent p { font-size: 100%; } div.NavEnd { margin: 0px; padding: 0px; line-height: 1px; clear: both; } /* Dont print the navigation bar */ @media print{ .NavFrame { display: none; } .BoxenVerschmelzen { display: none; } }
/* Stylesheet addition for sideboxes */ div.sideBox { position: relative; float: right; background: #fff; margin-left: 1em; border: 1px solid grey; padding: 0.3em; width: 200px; overflow: hidden; clear: right; } div.sideBox dl { padding: 0; margin: 0 0 0.3em 0; font-size: 96%; } div.sideBox dl dt { background: none; margin: 0.4em 0 0 0; } div.sideBox dl dd { margin: 0.1em 0 0 1.1em; background-color: #f3f3f3; }
/* Dont show the Stub templates*/ #Template_Stub { display: none; }
/* * Color definition for borders and backgrounds of textboxes. * Hier: Standardvorgaben für "dunkle Schrift auf hellem Grund". * Für Hell-auf-dunkel-Skins (Amethyst) müssen dort entsprechende Definitionen * zusätzlich eingetragen werden! Anpassungen für andere Skins sind optional. * (Die Angaben der Rahmenstärke dienen der Bequemlichkeit, so dass man * für dünne Rahmen nur noch "border-style" angeben muss.) */
.borderc1 { /* same like contents */ border-color: #aaa; border-width: 1px; } .borderc2 { /* Unauffällig, geringer Kontrast */ border-color: #e9e9e9; border-width: 1px; } .borderc3 { /* "red", auffällig */ border-color: #c00000; border-width: 1px; } .borderc4 { /* neutral color, deutlich */ border-color: #8888aa; border-width: 1px; } .borderc5 { /* "black", high contrast */ border-color: #000; border-width: 1px; }
table > * > tr.backgroundc1 > th, table > * > tr > th.backgroundc1, table.backgroundc1, .backgroundc1 { /* same like contents */ background-color: #f9f9f9; } table > * > tr.backgroundc2 > th, table > * > tr > th.backgroundc2, table.backgroundc2, .backgroundc2 { /* "white", for non-article pages, neutral */ background-color: #fff; } table > * > tr.backgroundc3 > th, table > * > tr > th.backgroundc3, table.backgroundc3, .backgroundc3 { /* "yellow", auffällig */ background-color: #ffff40; } table > * > tr.backgroundc4 > th, table > * > tr > th.backgroundc4, table.backgroundc4, .backgroundc4 { /* Sehr auffällig */ background-color: #ffaa00; } table > * > tr.backgroundc5 > th, table > * > tr > th.backgroundc5, table.backgroundc5, .backgroundc5 { /* neutral, abgesetzt */ background-color: #e0e0e0; } table > * > tr.backgroundc6 > th, table > * > tr > th.backgroundc6, table.backgroundc6, .backgroundc6 { /* common,colorful, für Hervorhebungen und Unterscheidungen */ background-color: #b3b7ff; } table > * > tr.backgroundc7 > th, table > * > tr > th.backgroundc7, table.backgroundc7, .backgroundc7 { /* common,colorful, für Hervorhebungen und Unterscheidungen */ background-color: #ffcbcb; } table > * > tr.backgroundc8 > th, table > * > tr > th.backgroundc8, table.backgroundc8, .backgroundc8 { /* common,colorful, für Hervorhebungen und Unterscheidungen */ background-color: #ffebad; } table > * > tr.backgroundc9 > th, table > * > tr > th.backgroundc9, table.backgroundc9, .backgroundc9 { /* common,colorful, für Hervorhebungen und Unterscheidungen */ background-color: #b9ffc5; }
/* +++++ 2. SONSTIGE ANPASSUNGEN (Special pages and more) +++++ */
/* Markierung von Redirects in Special:Allpages und Special:Watchlist */ .allpagesredirect { font-style: italic; } .watchlistredir { font-style: italic; }
/* Bug 1583 Korrektur beim Ausdruck von Thumbnails */ div.tright { clear: right; }
/* Einmal gelesene Bestandteile (z.B. in der Sitenotice) ausblenden, sobald css geladen ist */ #gelesen { display:none; }
#Striped tables 14 März 2012 Joystick .wikitable, .prettytable { background: #f9f9f9; border: 1px solid #aaa; border-collapse: collapse; margin: 1em 1em 1em 0; } .prettytable th, .prettytable td { border: 1px solid #aaa; padding: 0.2em; } .prettytable th { text-align: center; } .prettytable caption { font-weight: bold; }
/* Striped tables */ .wikitable.zebra > tbody > :nth-child(even):not([class*="backgroundc"]) { background: #fff; }