Foreground.css : Différence entre versions
De erg
Ligne 8 : | Ligne 8 : | ||
--font-title: Combined; | --font-title: Combined; | ||
--font-body: Vega; | --font-body: Vega; | ||
− | --color- | + | --color-a: #009900; |
+ | --color-b: #F00DF0; | ||
} | } | ||
body { | body { | ||
Ligne 73 : | Ligne 74 : | ||
h1, h2, h3, h4, h5, h6 { | h1, h2, h3, h4, h5, h6 { | ||
margin-top: 2em; | margin-top: 2em; | ||
+ | color: --color-b; | ||
+ | } | ||
+ | h1 { | ||
+ | color: --color-a; | ||
} | } | ||
#page-content a { | #page-content a { | ||
− | border-image: linear-gradient(to right, | + | border-image: linear-gradient(to right, --color-a, --color-b); |
border-bottom-width: 2px; | border-bottom-width: 2px; | ||
border-image-slice: 1; | border-image-slice: 1; |
Version du 18 juillet 2019 à 11:09
@font-face { font-family: Combined; src: url("/mw/skins/foreground/assets/fonts/combined.otf"); } :root { --font-title: Combined; --font-body: Vega; --color-a: #009900; --color-b: #F00DF0; } 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 { } .mw-category-generated { margin-top: 2em; } /* if no content but only listing subcategories */ .mw-parser-output:empty + .mw-category-generated h2 { display: none; } /* If only one subcategory, don't list the initial */ .mw-category-generated #mw-pages div:only-of-type h3, #mw-subcategories div:only-of-type h3 { display: none; } /* removes counting of categories */ .mw-category-generated #mw-pages p:first-of-type, #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 */ #page-content { margin: 1em; } h1, h1#firstHeading, h2, h3 { font-family: var(--font-title); font-size: 1.5em; } h1, h2, h3, h4, h5, h6 { margin-top: 2em; color: --color-b; } h1 { color: --color-a; } #page-content a { border-image: linear-gradient(to right, --color-a, --color-b); border-bottom-width: 2px; border-image-slice: 1; color: black; border-bottom-style: solid; } #page-content a:hover, #catlinks .label:hover { background-color: #009900; color: white; } /* Removes user name */ h3#tagline { display: none; } #bodyContent { margin-top: 3em; } .group { margin-top: 5em; } #catlinks .label { border-width: 2px; border-style: solid; background-color: transparent; } /* THUMBNAILS */ .thumb.tleft { margin-right: 2em; }