MediaWiki:Common.css: Unterschied zwischen den Versionen
(ensure no wordwrapping in pre blocks) |
(horizontal scrollbar on pre blocks) |
||
| Zeile 86: | Zeile 86: | ||
line-height: initial; | line-height: initial; | ||
margin-bottom: 0.25em; | margin-bottom: 0.25em; | ||
overflow-x: scroll; | |||
white-space:pre; | white-space:pre; | ||
} | } | ||
Aktuelle Version vom 14. November 2022, 10:16 Uhr
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.navigation {
text-align:center;
font-size:12px;
margin:0 0 0.5em 0.5em;
padding:0.2em 0.5em;
border:1px solid #aaa;
background-color:#f6f6f6;
float:right;
}
/* Info- / Hinweiskästen */
div.info {
border: 2px solid blue;
background-color: #D1DEFF;
padding: 5px;
padding-left: 50px;
margin: 5px 0;
min-height: 55px;
background-image: url(/docs/images/e/e2/Icon_info.png);
background-repeat: no-repeat;
background-position-x: 5px;
background-position-y: 5px;
}
div.achtung {
border: 2px solid red;
background-color: #FFFB8C;
padding: 5px;
padding-left: 50px;
margin: 5px 0;
min-height: 55px;
background-image: url(/docs/images/b/ba/Icon_warning.png);
background-repeat: no-repeat;
background-position-x: 5px;
background-position-y: 5px;
}
div.TODO {
border: 6px dashed black;
background-color: #FFF843;
padding: 5px;
padding-left: 58px;
margin: 5px 0;
min-height: 70px;
background-image: url(/docs/images/5/56/Icon_construction.png);
background-repeat: no-repeat;
background-position-x: 5px;
background-position-y: 5px;
}
/* Dateiversionen Infobox */
div.versionen,
div.versionen p,
div.versionen li {
font-size:small;
}
div.versionen {
background-color:#F8F9FA;
padding:0.5em;
float:right;
border:1px solid #A2A9B1;
}
/* Thumbnails */
.thumb {
border: 1px solid lightgray;
padding: 0.5em;
}
.thumb.tright {
margin: 0 0 0.5em 0.5em;
}
.thumbcaption {
font-size: smaller;
padding-top: 0.5em;
}
div.gallerytext p {
font-size: smaller;
}
/* Code blocks */
pre {
background-color: #f8f8f8;
border-color: #dfdfdf;
border-style: solid;
border-width: 1px;
color: #333333;
font-family: Consolas,"Liberation Mono",Courier,monospace;
font-weight: normal;
padding: 0.125rem 0.3125rem 0.125rem;
font-size: small;
line-height: initial;
margin-bottom: 0.25em;
overflow-x: scroll;
white-space:pre;
}