No edit summary |
No edit summary |
||
| (7 intermediate revisions by the same user not shown) | |||
| Line 14: | Line 14: | ||
background:var(--prime-color); | background:var(--prime-color); | ||
} | } | ||
/* the following applies the monospace font to verbatime and code boxes */ | |||
body pre { | body pre { | ||
font-family: monospace; | font-family: monospace, monospace; | ||
line-height: 1. | line-height: 1.2em; | ||
} | |||
pre { | |||
font-family: monospace; | |||
line-height: 1.2em; | |||
} | } | ||
/* All classes from here to the next comment below, style the Infoxbox */ | /* All classes from here to the next comment below, style the Infoxbox */ | ||
.Infobox { | .Infobox { | ||
padding: 0px; | |||
clear: right; | clear: right; | ||
float: right; | float: right; | ||
Latest revision as of 11:26, 2 October 2024
/* CSS placed here will be applied to all skins */
/* Definition of Prime-Color-colors. To change colors, simply update
the color codes. */
:root {
--prime-color: #bfd7ea;
--prime-color-light: #dbe8f3;
}
/* the following applies the prime-color to the body's background */
body {
background:var(--prime-color);
}
/* the following applies the monospace font to verbatime and code boxes */
body pre {
font-family: monospace, monospace;
line-height: 1.2em;
}
pre {
font-family: monospace;
line-height: 1.2em;
}
/* All classes from here to the next comment below, style the Infoxbox */
.Infobox {
padding: 0px;
clear: right;
float: right;
font-weight: inherit;
margin: 0 0 1em 1em;
}
.Infobox-title {
background: var(--prime-color);
padding: .3em;
font-size: 120%;
}
.mw-parser-output .Infobox {
width: 23em;
line-height: 135%;
}
.mw-parser-output .Infobox td:not([colspan]) ul {
list-style: none none;
margin: 0;
}
.Infobox > tr > th, .Infobox > tr > td, .Infobox > * > tr > th, .Infobox > * > tr > td {
border: none;
}
.Infobox td:nth-child(1) {
background: var(--prime-color-light);
width: 7em;
vertical-align: top;
text-align: left;
padding-top: 0.5rem;
}
body .Infobox > tr > th, body .Infobox > tr > td, body .Infobox > * > tr > th {
background-color: #eaecf0;
text-align: center;
}
}
.mw-content-ltr ul, .mw-content-rtl .mw-content-ltr ul {
list-style: none none;
margin: 0.3em;
padding: 0;
}
/* The following adapts the h2 headings of the skins "Vector" and "Cosmos" */
.vector-body h2 {
margin-top: 1em;
font-size: 1.5em;
padding: 0.1em;
background: var(--prime-color);
}
.mw-body-content h2 {
padding: 0.1em;
background: var(--prime-color);
}
.mw-body h2 {
padding: 0.1em;
background: var(--prime-color);
}
h2#mw-toc-heading {
background: none;
}