/ Voici un exemple de css custom pour le theme margot, il agit sur les variables css non personnalisables dans le theme et permet de faire des css sur mesure. Chaque ligne ci-dessous est à décommenter pour etre utilisée Pour en savoir plus, voyez la documentation sur https://yeswiki.net/?DocumentationThemeMargot /

  • :root {

/ couleur des titres /
  • -title-h1-color:var(--secondary-color-1);
  • -title-h2-color:var(--secondary-color-2);
  • -title-h3-color:var(--neutral-color);
  • -title-h4-color:var(--neutral-color);
/ couleur pour les messages positifs par defaut vert /
/ --success-color: #3cab3b; /

/ couleur pour les messages d'erreur par defaut rouge /
/ --danger-color: #d8604c; /

/ couleur pour les messages d'alerte par defaut orange /
/ --warning-color: #D78958; /

/ couleur de fond de la partie centrale votre wiki /
/ --main-container-bg-color:var(--neutral-light-color); /
--main-bg-color:var(--neutral-light-color);

/ couleur des liens /
/ --link-color: var(--primary-color); /

/ couleur des liens au survol /
/ --link-hover-color: var(--primary-color); /

/ couleur de la barre de menu /

--navbar-bg-color:var(--neutral-light-color) ;

  • -navbar-text-color:var(--primary-color) ;

  • -navbar-link-color: var(--primary-color);

/ --navbar-link-bg-color: transparent; /

  • -navbar-link-hover-color: var(--secondary-color-2);

/ --navbar-link-hover-color: rgba(255,255,255,0.85); /

/ --navbar-link-bg-hover-color: transparent; /

/ --navbar-border: none; /

/ --navbar-border-radius: 0; /

/ --navbar-shadow: none; /

/ --header-bg-color: var(--neutral-light-color); /

/ --header-text-color: var(--neutral-color); /

/ --header-title-color: var(--primary-color); /

/ couleur de fond du pied de page /
  • -footer-bg-color: white;

/ --footer-text-color: var(--main-text-color); /

/ --footer-title-color: var(--main-text-color); /

/ --footer-border: 3px solid var(--neutral-soft-color); /

/ --btn-border: none; /

  • -btn-border-radius: 0;

/ --checkbox-color: var(--primary-color); /

  • }

/ Style menu /
#yw-topnav {
  • box-shadow: 0px 0px 30px #b8c1d778;
  • }
#yw-topnav .navbar-nav > li > a:not(.btn) {
  • text-transform: uppercase;
  • font-weight: lighter;
}

h1,h2{text-align:center;}
h2{font-size:2.8rem;}
h3 {font-size:1.8rem;}
h3, h4{font-weight:600;}

/ Home page /
h3>a{text-transform : uppercase;
  • background-image: linear-gradient(white 50%, var(--secondary-color-2)50%);
  • width: fit-content;
  • color:var(--neutral-color);}
h3>a:hover{
  • color: var(--neutral-soft-color);
  • text-decoration: none;}
#home-text{width: 600px;font-size:1.8em;text-align: center;margin-left: auto;margin-right: auto;}
.bloc-service{max-width:200px;margin-left:auto;margin-right:auto;text-align: center;
color: var(--secondary-color-1);}
.bloc-service>h4>a{ text-transform: uppercase; color: var(--secondary-color-1);}
.bloc-compteurs{display:flex;}
.bloc-service:hover{opacity:.7;}


/ Correction affichage card partie - coller le footer au bas de card /
.bazar-card .content {
  • justify-content: space-between;
}
.style-vertical .bazar-card .footer-area{font-size:.7rem;background-color:var(--secondary-color-1);}

ul.liste_rss{ list-style: square;color:var(--primary-color);}

.attached_file.logo {
  • width: 89px;
  • height: auto;
}



/ template custom apercu.twig /
.apercu_fiche{background-color: #2f435b;
  • color: white ;
  • padding: 2em;
  • text-align: justify;
  • margin-top:2em;
  • margin-bottom:2em;
}
.apercu_fiche h4{color:white;}

.btn-light{border: 2px solid white;}
.btn-white{background-color:white;border: 2px solid white;}
a.btn-white{color: var(--neutral-color);}
.apercu_fiche .btn-light, .apercu_fiche .btn-white{width:45%;}

/
/ / Extra small devices (phones, 600px and down) /
@media only screen and (max-width: 600px) {
#home-text { width: 100%;}
.bloc-compteurs { flex-wrap: wrap;}
.apercu_fiche .btn-light, .apercu_fiche .btn-white { width: 100%; margin-bottom: 1em;}
h5 { color: var(--title-h5-color);}
}
a.btn-primary{color:var(--neutral-light-color)!important;}