Foreground.css : Différence entre versions
De erg
| Ligne 7 : | Ligne 7 : | ||
| :root { | :root { | ||
| --font-title: Combined; | --font-title: Combined; | ||
| − | --font-body:  | + | --font-body: Vega; | 
| --color-link: blue; | --color-link: blue; | ||
| } | } | ||
| body { | body { | ||
| font-family: var(--font-body); | font-family: var(--font-body); | ||
| + | font-size: 17px; | ||
| + | line-height: 1.6em; | ||
| } | } | ||
| /* INTERFACE */ | /* INTERFACE */ | ||
Version du 16 juillet 2019 à 16:15
@font-face {
font-family: Combined;
src: url("/mw/skins/foreground/assets/fonts/combined.otf");
}
:root {
--font-title: Combined;
--font-body: Vega;
--color-link: blue;
}
body {
font-family: var(--font-body);
font-size: 17px;
line-height: 1.6em;
}
/* INTERFACE */
a#actions-button {
margin-top: -1em;
}
.fa,
button, .button,
.top-bar-section ul li > a {
font-family: var(--font-body);
}
.fa::before {
font-family: FontAwesome;
}
.top-bar-section .has-dropdown.hover > .dropdown, .top-bar-section .has-dropdown.not-click:hover > .dropdown {
width: 70vw;
}
.mw-category-generated {
margin-top: 2em;
}
/* if no content but only listing subcategories*/
.mw-parser-output + .mw-category-generated h2 {
display: none;
}
#mw-subcategories p:first-of-type {
display: none;
}
/* HEADER */
.title-name {
font-family: var(--font-title);
}
.top-bar-section .dropdown li {
width: initial;
height: 2em;
}
/* CONTENT */
h1, h1#firstHeading, h2, h3 {
font-family: var(--font-title);
font-size: 1.5em;
}
h3#tagline {
display: none;
}
#page-content {
margin: 1em;
}