MediaWiki:Common.css: Unterschied zwischen den Versionen
(12 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | /* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ | ||
.mw-body a:link { color: #003f87; } /* normal unvisited links */ | .mw-body a:link { color: #003f87; } /* normal unvisited links */ | ||
− | .mw-body a:link:visited { color: # | + | .mw-body a:link:visited { color: #005196; } /* visited links */ |
− | .mw-body a:link:active { color: # | + | .mw-body a:link:active { color: #005196; } /* active links */ |
.mw-body a:link.new { color: #FF0000; } /* new links */ | .mw-body a:link.new { color: #FF0000; } /* new links */ | ||
− | .mw-body a:link.interwiki { color: # | + | .mw-body a:link.interwiki { color: #005196; } /* interwiki links */ |
− | .mw-body a:link.external { color: # | + | .mw-body a:link.external { color: #005196; } /* external links */ |
− | .mw-body a:link.external:visited { color: # | + | .mw-body a:link.external:visited { color: #005196; } /* external links */ |
− | .mw-body a:link.stub { color: # | + | .mw-body a:link.stub { color: #005196; } /* hovered links */ |
− | .mw-body a:link {color: # | + | .mw-body a:link {color: #005196} |
− | .mw-body a:visited {color: # | + | .mw-body a:visited {color: #005196} |
− | .mw-body a:hover {color: # | + | .mw-body a.new:visited { color: #FF0000; } |
− | .mw-body a:active {color: # | + | .mw-body a:hover {color: #005196} |
+ | .mw-body a:active {color: #005196} | ||
.listTable { | .listTable { | ||
Zeile 20: | Zeile 21: | ||
} | } | ||
− | .listTable tr:nth-child( | + | .listTable tr:nth-child(2n+1) { |
− | background-color: # | + | background-color: #dedede; |
} | } | ||
.listTable td { | .listTable td { | ||
Zeile 28: | Zeile 29: | ||
border: solid 1px #ccc; | border: solid 1px #ccc; | ||
} | } | ||
+ | |||
+ | .santoTable tr td:first-child { | ||
+ | vertical-align:top; | ||
+ | max-width: 50%; | ||
+ | } | ||
+ | .santoTable tr td:nth-child(2) i { | ||
+ | float: right; | ||
+ | color: #aaa; | ||
+ | } | ||
+ | .santoTable tr td:nth-child(2) p:first-child { | ||
+ | margin-top: 0; | ||
+ | } | ||
+ | |||
+ | body .content table.templateTable { | ||
+ | display: table !important; | ||
+ | } | ||
+ | |||
+ | /* Änderungen vorgeschlagen von Pfingsts */ | ||
+ | |||
+ | |||
+ | /* left & right floating images max width */ | ||
+ | .thumb.tright, | ||
+ | .thumb.tleft { | ||
+ | max-width: 40%; | ||
+ | } | ||
+ | .thumb.tnone, /* centered image */ | ||
+ | .thumbinner, | ||
+ | .thumbinner > a, | ||
+ | .thumbinner img { | ||
+ | max-width: 100%; | ||
+ | } | ||
+ | /* Since img has a height attribute */ | ||
+ | .thumbinner img { | ||
+ | height: auto; | ||
+ | } | ||
+ | /* Wrap lines on pre */ | ||
+ | #mw-content-text > pre { | ||
+ | overflow-x: auto; | ||
+ | } | ||
+ | /* Move down content, so the menu does not overlap in small widths */ | ||
+ | @media only screen and (max-width: 730px) { | ||
+ | #content { | ||
+ | padding-top: 48px !important; | ||
+ | } | ||
+ | } | ||
+ | |||
+ | .embedvideo, .embedvideo > iframe { | ||
+ | max-width: 100%; | ||
+ | } |
Aktuelle Version vom 4. April 2019, 09:13 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */ .mw-body a:link { color: #003f87; } /* normal unvisited links */ .mw-body a:link:visited { color: #005196; } /* visited links */ .mw-body a:link:active { color: #005196; } /* active links */ .mw-body a:link.new { color: #FF0000; } /* new links */ .mw-body a:link.interwiki { color: #005196; } /* interwiki links */ .mw-body a:link.external { color: #005196; } /* external links */ .mw-body a:link.external:visited { color: #005196; } /* external links */ .mw-body a:link.stub { color: #005196; } /* hovered links */ .mw-body a:link {color: #005196} .mw-body a:visited {color: #005196} .mw-body a.new:visited { color: #FF0000; } .mw-body a:hover {color: #005196} .mw-body a:active {color: #005196} .listTable { width: 100%; border: solid 1px #ccc; border-collapse: collapse; } .listTable tr:nth-child(2n+1) { background-color: #dedede; } .listTable td { padding: 5px; margin: 0; border: solid 1px #ccc; } .santoTable tr td:first-child { vertical-align:top; max-width: 50%; } .santoTable tr td:nth-child(2) i { float: right; color: #aaa; } .santoTable tr td:nth-child(2) p:first-child { margin-top: 0; } body .content table.templateTable { display: table !important; } /* Änderungen vorgeschlagen von Pfingsts */ /* left & right floating images max width */ .thumb.tright, .thumb.tleft { max-width: 40%; } .thumb.tnone, /* centered image */ .thumbinner, .thumbinner > a, .thumbinner img { max-width: 100%; } /* Since img has a height attribute */ .thumbinner img { height: auto; } /* Wrap lines on pre */ #mw-content-text > pre { overflow-x: auto; } /* Move down content, so the menu does not overlap in small widths */ @media only screen and (max-width: 730px) { #content { padding-top: 48px !important; } } .embedvideo, .embedvideo > iframe { max-width: 100%; }