MediaWiki:Common.css: Unterschied zwischen den Versionen
Aus Stratum 0
(pre mit long-line-wrap) |
K (Version vom 31. März) |
||
(15 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */ | /* CSS an dieser Stelle wirkt sich auf alle Skins aus */ | ||
+ | |||
+ | /* Zitate */ | ||
+ | blockquote { | ||
+ | font-style: italic; | ||
+ | } | ||
/* Tabellen */ | /* Tabellen */ | ||
Zeile 23: | Zeile 28: | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
+ | } | ||
+ | |||
+ | .navbar { | ||
+ | clear:right; | ||
+ | float:right; | ||
+ | border:1px solid #888; | ||
+ | background-color:#eee; | ||
+ | padding: 0.5em 1em; | ||
+ | } | ||
+ | |||
+ | .one-column-list div { | ||
+ | columns: 1 !important; | ||
+ | -moz-columns: 1 !important; | ||
+ | -webkit-columns: 1 !important; | ||
} | } | ||
/** siehe zB http://weblogtoolscollection.com/archives/2007/06/16/css-for-code-wrap-long-lines/ */ | /** siehe zB http://weblogtoolscollection.com/archives/2007/06/16/css-for-code-wrap-long-lines/ */ | ||
− | + | .wrap { | |
white-space: pre-wrap; /* css-3 */ | white-space: pre-wrap; /* css-3 */ | ||
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ | white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */ | ||
Zeile 32: | Zeile 51: | ||
white-space: -o-pre-wrap; /* Opera 7 */ | white-space: -o-pre-wrap; /* Opera 7 */ | ||
word-wrap: break-word; /* Internet Explorer 5.5+ */ | word-wrap: break-word; /* Internet Explorer 5.5+ */ | ||
+ | } | ||
+ | |||
+ | .fold { | ||
+ | max-height: 200px; | ||
+ | overflow-y: scroll; | ||
+ | } | ||
+ | |||
+ | pre { | ||
+ | overflow: auto; | ||
+ | } | ||
+ | |||
+ | pre, .mw-code { | ||
+ | padding: 0.5em; | ||
+ | margin: 0.5em 0; | ||
+ | } | ||
+ | |||
+ | /* Standard Navigationsleisten, aka box hiding thingy | ||
+ | * from Wikipedia: https://en.wikipedia.org/wiki/MediaWiki:Common.css | ||
+ | * Documentation at https://en.wikipedia.org/wiki/Wikipedia:NavFrame | ||
+ | */ | ||
+ | div.NavFrame { | ||
+ | margin: 0; | ||
+ | padding: 4px; | ||
+ | border: 1px solid #aaa; | ||
+ | text-align: center; | ||
+ | border-collapse: collapse; | ||
+ | font-size: 95%; | ||
+ | } | ||
+ | div.NavFrame + div.NavFrame { | ||
+ | border-top-style: none; | ||
+ | border-top-style: hidden; | ||
+ | } | ||
+ | div.NavPic { | ||
+ | background-color: #fff; | ||
+ | margin: 0; | ||
+ | padding: 2px; | ||
+ | /* @noflip */ | ||
+ | float: left; | ||
+ | } | ||
+ | div.NavFrame div.NavHead { | ||
+ | height: 1.6em; | ||
+ | font-weight: bold; | ||
+ | background-color: #ccf; | ||
+ | position: relative; | ||
+ | } | ||
+ | div.NavFrame p, | ||
+ | div.NavFrame div.NavContent, | ||
+ | div.NavFrame div.NavContent p { | ||
+ | font-size: 100%; | ||
+ | } | ||
+ | div.NavEnd { | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | line-height: 1px; | ||
+ | clear: both; | ||
+ | } | ||
+ | a.NavToggle { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | /* @noflip */ | ||
+ | right: 3px; | ||
+ | font-weight: normal; | ||
+ | font-size: 90%; | ||
+ | } | ||
+ | |||
+ | .rawinclude-header { | ||
+ | clear: both; | ||
+ | vertical-align: center; | ||
+ | padding: 0.1em 0.5em; | ||
+ | margin-bottom: 0px; | ||
+ | border: 1px solid #ddd; | ||
+ | border-bottom: 0px; | ||
+ | background-color: #b5cad4; | ||
+ | font-style: italic; | ||
+ | } | ||
+ | .rawinclude-header .icon { | ||
+ | display: inline-block; | ||
} | } |
Aktuelle Version vom 3. April 2022, 13:47 Uhr
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */
/* Zitate */
blockquote {
font-style: italic;
}
/* Tabellen */
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.prettytable th, table.prettytable td {
border: 1px solid #8cacbb;
padding: 0.2em;
vertical-align: top;
}
table.prettytable th {
background: #dee7ec;
text-align: left;
}
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
.navbar {
clear:right;
float:right;
border:1px solid #888;
background-color:#eee;
padding: 0.5em 1em;
}
.one-column-list div {
columns: 1 !important;
-moz-columns: 1 !important;
-webkit-columns: 1 !important;
}
/** siehe zB http://weblogtoolscollection.com/archives/2007/06/16/css-for-code-wrap-long-lines/ */
.wrap {
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
.fold {
max-height: 200px;
overflow-y: scroll;
}
pre {
overflow: auto;
}
pre, .mw-code {
padding: 0.5em;
margin: 0.5em 0;
}
/* Standard Navigationsleisten, aka box hiding thingy
* from Wikipedia: https://en.wikipedia.org/wiki/MediaWiki:Common.css
* Documentation at https://en.wikipedia.org/wiki/Wikipedia:NavFrame
*/
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.NavFrame + div.NavFrame {
border-top-style: none;
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
/* @noflip */
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
/* @noflip */
right: 3px;
font-weight: normal;
font-size: 90%;
}
.rawinclude-header {
clear: both;
vertical-align: center;
padding: 0.1em 0.5em;
margin-bottom: 0px;
border: 1px solid #ddd;
border-bottom: 0px;
background-color: #b5cad4;
font-style: italic;
}
.rawinclude-header .icon {
display: inline-block;
}