MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus VolynWiki
Admin (Diskussion | Beiträge) K |
Admin (Diskussion | Beiträge) K |
||
(63 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | + | html, | |
+ | body { | ||
+ | font-size: 100%; } | ||
− | + | ||
− | + | /* Wikiname */ | |
− | + | .title-name { | |
− | + | line-height: 1.2em; | |
− | + | font-size: 2.13em; | |
− | + | color: #ABD42E; | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | + | /* Hide "Main Page" titles */ |
− | + | body.page-Wiki-Startseite .title, body.page-Hauptseite .title, body.page-Wiki-Startseite #tagline { | |
− | + | display:none; | |
− | |||
} | } | ||
+ | /*div#navwrapper { background: url('http://wolhynien.net/testback.jpg');} */ | ||
− | /* | + | /* Layout fuer 2-Spaltentabellen */ |
− | . | + | .tabelle2 { |
− | border: | + | border: 0px solid #4D64CF; |
− | |||
− | |||
− | |||
border-collapse: collapse; | border-collapse: collapse; | ||
+ | empty-cells: show; | ||
+ | margin: 0.5em 0; | ||
+ | background: transparent; | ||
border-spacing: 0 0; | border-spacing: 0 0; | ||
} | } | ||
− | + | .tabelle2 td, .tabelle2 th { | |
− | + | border: 0px solid #4D64CF; | |
− | + | padding: 0.25em 1em 0.25em 0; /* oben rechts unten links */ | |
− | |||
− | |||
− | |||
− | |||
− | border | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | ||
− | |||
vertical-align: baseline; | vertical-align: baseline; | ||
} | } | ||
− | . | + | .tabelle2 th { /* hightlighting */ |
− | |||
− | |||
text-align: left; | text-align: left; | ||
− | + | border-bottom: 0px solid #4D64CF; | |
+ | border-top: 0px solid #4D64CF; | ||
+ | background: transparent; /*#DFF1FF*/ | ||
} | } | ||
− | . | + | .nowrap { |
− | + | nowrap: nowrap; /*kein Umbruch*/ | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | ||
− | |||
− | |||
} | } | ||
− | + | /* Layout fuer Statistik-Tabellen */ | |
− | /* | + | .statistik { |
− | + | width:100%; | |
− | + | border: 0px solid #4D64CF; | |
− | border | ||
− | |||
− | |||
border-collapse: collapse; | border-collapse: collapse; | ||
+ | empty-cells: show; | ||
+ | margin: 0.8em 0; | ||
+ | background: transparent; | ||
border-spacing: 0 0; | border-spacing: 0 0; | ||
} | } | ||
− | + | .statistik td, .statistik th { | |
− | + | border-bottom: 1px solid #4D64CF; | |
− | + | padding: 0.3em 1em 0.3em 1px; /* oben rechts unten links */ | |
− | |||
− | |||
− | |||
− | |||
− | border- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | ||
− | |||
vertical-align: baseline; | vertical-align: baseline; | ||
} | } | ||
− | . | + | .statistik th { /* hightlighting */ |
− | + | font-size:100%; | |
− | + | font-weight:normal; | |
text-align: left; | text-align: left; | ||
− | |||
− | |||
− | |||
− | |||
border-bottom: 1px solid #4D64CF; | border-bottom: 1px solid #4D64CF; | ||
border-top: 1px solid #4D64CF; | border-top: 1px solid #4D64CF; | ||
− | background | + | background: #DFF1FF; |
− | |||
− | |||
} | } | ||
− | + | ||
− | border | + | pre { |
− | + | white-space: -moz-pre-wrap; /* need for Firefox */ | |
− | + | overflow-x: visible; /* need for Firefox, extreme long string :( */ | |
+ | padding: 10px 12px; | ||
+ | border: 1px dashed #2f6fab; | ||
+ | color: #222; | ||
+ | background: #f9f9f9; /*#F1FFFF*/ | ||
+ | line-height: 1.1em; | ||
+ | margin: .2em 0; | ||
+ | overflow-x: auto; /* need for Firefox, extreme long string :( */ | ||
+ | font-size: 100%; | ||
} | } | ||
− | . | + | |
− | + | /* Custom Foreground menubar colors */ | |
− | + | .top-bar, | |
+ | .top-bar-section ul, | ||
+ | .top-bar-section ul li.active > a, | ||
+ | .top-bar-section li a:not(.button), | ||
+ | .top-bar-section .has-form { | ||
+ | background: #33B5E5; /*Balken oben blau*/ | ||
+ | color: #000; | ||
} | } | ||
− | . | + | |
− | + | .top-bar-section > ul > .divider, | |
− | + | .top-bar-section > ul > [role="separator"] { | |
− | + | border-color: #ABD42E; /*Trennstrich grün*/ | |
} | } | ||
− | . | + | |
− | + | /* Darker color for the hover over items */ | |
− | + | .top-bar-section ul li.hover > a, | |
+ | .top-bar-section ul li ul.dropdown li.hover > a { | ||
+ | background: #ABD42E; /*Dropdown hover grün*/ | ||
} | } | ||
− | + | ||
− | + | /* Slightly darker color for the dropdowns */ | |
− | + | .top-bar-section ul li ul.dropdown li > a { | |
− | . | + | background: #33B5E5; /*Dropdownmenu Hintergrund blau*/ |
− | |||
− | |||
− | |||
− | |||
− | |||
− | . | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
} | } | ||
+ | /* Bearbeiten-Hinweis ausblenden */ | ||
+ | .mw-editsection { display: none; } | ||
+ | |||
+ | /* Schrift verkleinern von Quellen */ | ||
+ | ol.references li { | ||
+ | font-size: 90%; | ||
+ | } | ||
− | /* | + | /* images */ |
− | + | div.floatright, table.floatright { | |
− | . | + | clear: right; |
− | + | float: right; | |
− | + | position: relative; | |
− | + | margin: 0 0 .5em .5em; | |
− | + | border: 0; | |
− | + | /* | |
− | + | border: .5em solid white; | |
+ | border-width: .5em 0 .8em 1.4em; | ||
+ | */ | ||
} | } | ||
− | . | + | |
− | + | /* thumbnails */ | |
− | + | div.thumb { | |
− | + | margin-bottom: .5em; | |
+ | border-style: solid; | ||
+ | border-color: white; | ||
+ | width: auto; | ||
} | } | ||
− | . | + | div.thumbinner { |
− | + | border: 1px solid #ccc; | |
− | + | padding: 3px !important; | |
− | + | background-color: #f9f9f9; | |
− | + | font-size: 94%; | |
+ | text-align: center; | ||
+ | overflow: hidden; | ||
} | } | ||
− | . | + | html .thumbimage { |
− | + | border: 1px solid #ccc; | |
} | } | ||
− | . | + | html .thumbcaption { |
− | + | border: none; | |
+ | text-align: left; | ||
+ | line-height: 1.4em; | ||
+ | padding: 3px !important; | ||
+ | font-size: 85%; /*94%*/ | ||
} | } | ||
− | . | + | div.magnify { |
− | + | float: right; | |
+ | border: none !important; | ||
+ | background: none !important; | ||
} | } | ||
− | . | + | div.magnify a, div.magnify img { |
− | + | display: block; | |
− | + | border: none !important; | |
− | + | background: none !important; | |
} | } | ||
− | . | + | div.tright { |
− | + | clear: right; | |
− | + | float: right; | |
− | + | border-width: .5em 0 .8em 1.4em; | |
− | |||
− | |||
− | |||
− | |||
} | } | ||
− | . | + | div.tleft { |
− | + | float: left; | |
− | + | clear: left; | |
− | + | margin-right: .5em; | |
+ | border-width: .5em 1.4em .8em 0; | ||
} | } | ||
− | + | img.thumbborder { | |
− | + | border: 1px solid #dddddd; | |
} | } | ||
− | . | + | .hiddenStructure { |
− | + | display: none; | |
− | |||
} | } | ||
− | /* | + | ## Schriftgrößen |
− | + | ||
− | + | h1 { | |
− | + | font-size: 2.125em; } /*2.125em*/ | |
− | + | ||
− | + | h2 { | |
− | + | font-size: 1.6875em; } /*1.6875*/ | |
− | + | ||
− | + | h3 { | |
+ | font-size: 1.375em; } /*1.375*/ | ||
+ | |||
+ | h4 { | ||
+ | font-size: 1.125em; } | ||
+ | |||
+ | h5 { | ||
+ | font-size: 1.125em; } | ||
+ | |||
+ | h6 { | ||
+ | font-size: 1em; } | ||
+ | |||
+ | |||
+ | @media only screen and (min-width: 768px) { | ||
+ | h1, h2, h3, h4, h5, h6 { | ||
+ | line-height: 1.3; /*1.4*/} | ||
+ | |||
+ | h1 { | ||
+ | font-size: 2.75em; } /*2.75*/ | ||
+ | |||
+ | h2 { | ||
+ | font-size: 1.8em; } /*2.3125*/ | ||
+ | |||
+ | h3 { | ||
+ | font-size: 1.45em; } /*1.6875*/ | ||
− | + | h4 { | |
− | + | font-size: 1.15em; } /*1.4375*/ } | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | /* | + | /* Default paragraph styles */ |
− | + | p { | |
− | font-size: . | + | font-family: inherit; |
− | + | font-weight: normal; | |
+ | font-size: 0.9975em; | ||
+ | line-height: 1.6; | ||
+ | margin-bottom: 1.25em; | ||
+ | text-rendering: optimizeLegibility; } |
Aktuelle Version vom 11. April 2018, 17:36 Uhr
html, body { font-size: 100%; } /* Wikiname */ .title-name { line-height: 1.2em; font-size: 2.13em; color: #ABD42E; } /* Hide "Main Page" titles */ body.page-Wiki-Startseite .title, body.page-Hauptseite .title, body.page-Wiki-Startseite #tagline { display:none; } /*div#navwrapper { background: url('http://wolhynien.net/testback.jpg');} */ /* Layout fuer 2-Spaltentabellen */ .tabelle2 { border: 0px solid #4D64CF; border-collapse: collapse; empty-cells: show; margin: 0.5em 0; background: transparent; border-spacing: 0 0; } .tabelle2 td, .tabelle2 th { border: 0px solid #4D64CF; padding: 0.25em 1em 0.25em 0; /* oben rechts unten links */ vertical-align: baseline; } .tabelle2 th { /* hightlighting */ text-align: left; border-bottom: 0px solid #4D64CF; border-top: 0px solid #4D64CF; background: transparent; /*#DFF1FF*/ } .nowrap { nowrap: nowrap; /*kein Umbruch*/ } /* Layout fuer Statistik-Tabellen */ .statistik { width:100%; border: 0px solid #4D64CF; border-collapse: collapse; empty-cells: show; margin: 0.8em 0; background: transparent; border-spacing: 0 0; } .statistik td, .statistik th { border-bottom: 1px solid #4D64CF; padding: 0.3em 1em 0.3em 1px; /* oben rechts unten links */ vertical-align: baseline; } .statistik th { /* hightlighting */ font-size:100%; font-weight:normal; text-align: left; border-bottom: 1px solid #4D64CF; border-top: 1px solid #4D64CF; background: #DFF1FF; } pre { white-space: -moz-pre-wrap; /* need for Firefox */ overflow-x: visible; /* need for Firefox, extreme long string :( */ padding: 10px 12px; border: 1px dashed #2f6fab; color: #222; background: #f9f9f9; /*#F1FFFF*/ line-height: 1.1em; margin: .2em 0; overflow-x: auto; /* need for Firefox, extreme long string :( */ font-size: 100%; } /* Custom Foreground menubar colors */ .top-bar, .top-bar-section ul, .top-bar-section ul li.active > a, .top-bar-section li a:not(.button), .top-bar-section .has-form { background: #33B5E5; /*Balken oben blau*/ color: #000; } .top-bar-section > ul > .divider, .top-bar-section > ul > [role="separator"] { border-color: #ABD42E; /*Trennstrich grün*/ } /* Darker color for the hover over items */ .top-bar-section ul li.hover > a, .top-bar-section ul li ul.dropdown li.hover > a { background: #ABD42E; /*Dropdown hover grün*/ } /* Slightly darker color for the dropdowns */ .top-bar-section ul li ul.dropdown li > a { background: #33B5E5; /*Dropdownmenu Hintergrund blau*/ } /* Bearbeiten-Hinweis ausblenden */ .mw-editsection { display: none; } /* Schrift verkleinern von Quellen */ ol.references li { font-size: 90%; } /* images */ div.floatright, table.floatright { clear: right; float: right; position: relative; margin: 0 0 .5em .5em; border: 0; /* border: .5em solid white; border-width: .5em 0 .8em 1.4em; */ } /* thumbnails */ div.thumb { margin-bottom: .5em; border-style: solid; border-color: white; width: auto; } div.thumbinner { border: 1px solid #ccc; padding: 3px !important; background-color: #f9f9f9; font-size: 94%; text-align: center; overflow: hidden; } html .thumbimage { border: 1px solid #ccc; } html .thumbcaption { border: none; text-align: left; line-height: 1.4em; padding: 3px !important; font-size: 85%; /*94%*/ } div.magnify { float: right; border: none !important; background: none !important; } div.magnify a, div.magnify img { display: block; border: none !important; background: none !important; } div.tright { clear: right; float: right; border-width: .5em 0 .8em 1.4em; } div.tleft { float: left; clear: left; margin-right: .5em; border-width: .5em 1.4em .8em 0; } img.thumbborder { border: 1px solid #dddddd; } .hiddenStructure { display: none; } ## Schriftgrößen h1 { font-size: 2.125em; } /*2.125em*/ h2 { font-size: 1.6875em; } /*1.6875*/ h3 { font-size: 1.375em; } /*1.375*/ h4 { font-size: 1.125em; } h5 { font-size: 1.125em; } h6 { font-size: 1em; } @media only screen and (min-width: 768px) { h1, h2, h3, h4, h5, h6 { line-height: 1.3; /*1.4*/} h1 { font-size: 2.75em; } /*2.75*/ h2 { font-size: 1.8em; } /*2.3125*/ h3 { font-size: 1.45em; } /*1.6875*/ h4 { font-size: 1.15em; } /*1.4375*/ } /* Default paragraph styles */ p { font-family: inherit; font-weight: normal; font-size: 0.9975em; line-height: 1.6; margin-bottom: 1.25em; text-rendering: optimizeLegibility; }