Foreground.css : Différence entre versions
De erg
Ligne 137 : | Ligne 137 : | ||
.top-bar-section .has-dropdown > a::after { | .top-bar-section .has-dropdown > a::after { | ||
display: none; | display: none; | ||
+ | } | ||
+ | .top-bar-section .has-dropdown > a { | ||
+ | padding-right: initial; | ||
} | } | ||
.top-bar-section .dropdown li { | .top-bar-section .dropdown li { |
Version du 18 juillet 2019 à 15:48
@font-face { font-family: Combined; src: url("/mw/skins/foreground/assets/fonts/combined.otf"); } :root { --font-title: Combined; --font-body: Vega; --color-a: #a700ff; --color-b: #00ab6b; } body { font-family: var(--font-body); font-size: 17px; line-height: 1.5em; } p { font-size: 1em; line-height: 1.5em; margin-bottom: 0; } p + p { margin-top: 1.5em; } /* INTERFACE ------------------------------------------------------------------ */ /* remove category help button (does it remove other stuff? mmm...) */ #mw-indicator-mw-helplink { display: none; } h4.namespace.label { display: none; } .mw-editsection, .mw-editsection-like { font-size: 10px; } 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, .top-bar-section, #top-bar-right, #top-bar-right .columns { display: flex; } .top-bar-section, li.has-form { flex-grow: 1; } #top-bar-right { justify-content: space-between; flex-grow: 1; } .top-bar input { padding-top: 8px; top: 9px; flex-grow: 1; } .button.search { background-color: transparent; border-style: solid; border-width: 2px; border-image: linear-gradient(to right, var(--color-a), var(--color-b)); border-image-slice: 1; top: 2px !important; position: relative; margin-left: 0px !important; } .button.search:hover { background-color: var(--color-a); } #toc, .toc { float: right; margin-left: 1em; max-width: 45%; } table.infobox { width: initial; max-width: 45%; } table.infobox th.head { background-color: var(--color-b); } th, td { padding: 0.5em !important; } .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; } .group { margin-top: 5em; } #catlinks .label { border-width: 2px; border-style: solid; background-color: transparent; padding: 2px 6px !important; } /* HEADER ------------------------------------------------------------------ */ .title-name { font-family: var(--font-title); } .top-bar-section .has-dropdown > a::after { display: none; } .top-bar-section .has-dropdown > a { padding-right: initial; } .top-bar-section .dropdown li { width: initial; height: 2em; position: relative } .top-bar-section ul li > a { font-size: 16px; } .top-bar-section ul li:hover { z-index: 1000; } .top-bar-section .dropdown li:not(.has-form):not(.active):hover > a:not(.button) { background: linear-gradient(90deg,var(--color-a), var(--color-b)); } /* CONTENT ------------------------------------------------------------------ */ #page-content { margin: 1em; } #english { position: relative; top: -1.5em; } h1, h1#firstHeading, h2 { font-family: var(--font-title); font-size: 1.5em; } h3 { font-family: var(--font-title); font-size: 1em; } h1, h2, h3, h4, h5, h6 { margin-top: 2em; color: var(--color-b); line-height: 1.5em; } h1 { color: var(--color-a); } h2 span { display: initial; } body.action-view #page-content a { border-image: linear-gradient(to right, var(--color-a), var(--color-b)); border-bottom-width: 2px; border-image-slice: 1; color: black; border-bottom-style: solid; padding: 3px 5px 1px; } #page-content a:hover, #catlinks .label:hover { background-color: var(--color-a); color: white !important; } /* Removes user name */ h3#tagline { display: none; } #bodyContent { margin-top: 3em; } /* ACTUALITÉS ------------------------------------------------------------------ */ .medialisting { display: flex; flex-wrap: wrap; } .Media { display: flex; align-items: flex-start; margin-bottom: 1em; flex-direction: column; flex-basis: 32%; box-sizing: border-box; justify-content: center; } .Media-body { flex: initial; } /* THUMBNAILS ------------------------------------------------------------------ */ .thumb.tleft { margin-right: 2em; } .Media-figure a, .image.fancybox { display: inline-block; } .magnify a { text-indent: 0; width: 25px; height: 25px; border-style: solid; border-width: 2px; line-height: 15px; } .magnify a:before { content: "+"; font-family: FontAwesome; font-size: 20px; } /* MEDIA QUERIES ------------------------------------------------------------------ */ @media (max-width: 800px) { div.tleft, div.floatleft, table.floatleft { width: 100%; margin-bottom: 3em; } }