Flore locale

Base de connaissances sur les végétaux locaux


MediaWiki:Common.css

De Flore locale
Version datée du 23 novembre 2025 à 12:31 par Osd84 (discussion | contributions)
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)
Aller à :navigation, rechercher

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
/** Code ajouté par Diatomée **/
// j’utilise la classe .miaCSS pour ne pas créer de conflits avec les autres éléments du forum


::-webkit-scrollbar {width: 8px; height: 0;}
::-webkit-scrollbar-thumb {background: #355c47;}
::-webkit-scrollbar-track {background: transparent;}
* {
	scrollbar-color: #355c47 transparent;
	box-sizing: border-box;
}

body {
    font-family: 'Assistant', sans-serif;
}
.container {
    max-width: 100%;
    padding: 0;
}
.row, .col {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
}
img {
    max-width: 100%;
}

.miaCSS {
    font-family: 'Assistant', sans-serif;
    font-size: 1rem;
}

.miaCSS a, .miaCSS a:hover {
    text-decoration: none;
}

.box.miaCSS {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1em;
}


header.miaCSS {
    background: #355c47 url(https://florelocale.fr/assets/banner.svg);
    background-position-x: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: .8em 0;
    line-height: 1.7em;
}
header.miaCSS a {
    color: #fff;
}
header.miaCSS h1 {
    margin: 0;
    font-size: 1.5em;
    line-height: inherit;
    border: none;
    font-weight: bold;
    padding-top: 0;
    padding-bottom: 0;
}
header.miaCSS p {
    margin: 0;
}


nav.miaCSS {
    background: #f7dac7;
}
nav.miaCSS a {
    color: #000;
    display: inline-block;
    padding: .3em;
    margin-right: 1em;
    font-size: 1rem;
}
nav.miaCSS a.active {
    background: #f1bd9a;
}


footer.miaCSS {
    background: #355c47;
    color: #f7dac7;
    font-size: .9em;
    margin-top: 1.5em;
}
footer.miaCSS a {
    color: #fff;
    display: inline-block;
    padding: .3em;
    margin-right: 1em;
}
footer.miaCSS a:hover {
    background: #99c4ad;
    color: #000;
}
footer.miaCSS span {
    float: right;
    padding: .3em 0;
}

#mw-navigation {
    background: var(--light);
}
.mt-4, .p-navbar .navbar-nav.right, .my-4 {
    margin-top: 2px !important;
}