Difference between revisions of "MediaWiki:Common.css"
| Line 26: | Line 26: | ||
.toclimit-6 .toclevel-6, | .toclimit-6 .toclevel-6, | ||
.toclimit-7 .toclevel-7 { display: none; } | .toclimit-7 .toclevel-7 { display: none; } | ||
| + | |||
| + | body { | ||
| + | font-family: Helvetica,Arial, sans-serif; | ||
| + | } | ||
| + | |||
| + | table { | ||
| + | font-size: 1em; | ||
| + | } | ||
| + | |||
| + | |||
| + | fieldset { | ||
| + | border: 0; | ||
| + | } | ||
| + | |||
| + | label { | ||
| + | display: block; | ||
| + | margin: 30px 0 10px 0; | ||
| + | text-align:center; | ||
| + | } | ||
Revision as of 15:34, 14 January 2018
# Style for bash scripts: pre tags with class "bash"
pre.bash {
background-color: black;
color: grey;
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace;
}
.image200px img { width: 200px; }
.image300px img { width: 300px; }
.image400px img { width: 400px; }
.mw-collapsible-toggle {
float:none !important;
}
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 { display: none; }
body {
font-family: Helvetica,Arial, sans-serif;
}
table {
font-size: 1em;
}
fieldset {
border: 0;
}
label {
display: block;
margin: 30px 0 10px 0;
text-align:center;
}