MediaWiki:Common.css: Unterschied zwischen den Versionen
(CSS für pre) |
(horizontal scrollbar on pre blocks) |
||
| (11 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
| Zeile 9: | Zeile 9: | ||
float:right; | float:right; | ||
} | } | ||
/* Info- / | /* Info- / Hinweiskästen */ | ||
div.info { | div.info { | ||
border: 2px solid blue; | border: 2px solid blue; | ||
| Zeile 21: | Zeile 21: | ||
background-position-x: 5px; | background-position-x: 5px; | ||
background-position-y: 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 */ | /* Thumbnails */ | ||
| Zeile 46: | Zeile 82: | ||
font-family: Consolas,"Liberation Mono",Courier,monospace; | font-family: Consolas,"Liberation Mono",Courier,monospace; | ||
font-weight: normal; | font-weight: normal; | ||
padding: 0.125rem 0.3125rem 0. | padding: 0.125rem 0.3125rem 0.125rem; | ||
font-size: small; | font-size: small; | ||
line-height: initial; | line-height: initial; | ||
margin-bottom: 0.25em; | |||
overflow-x: scroll; | |||
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;
}