« MediaWiki:Common.css » : différence entre les versions

De HyperCodex
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 38 : Ligne 38 :
}
}
.bandeau .info {
.bandeau .info {
  background-color: lightcoral;
  background-color: aliceblue;
  border: red 1px solid;
  border: lavender 1px solid;
}
}
.bandeau .attention {
.bandeau .attention {
  background-color: aliceblue;
  background-color: lightpink;
  border: lavender 1px solid;
  border: lightsalmon 1px solid;
}
}

Version du 28 avril 2024 à 15:42

/* Le CSS placé ici sera appliqué à tous les habillages. */

/* FLEXBOX */

.flex {
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: center;
}

/* CADRES POUR PAGE D'ACCUEIL */

.accueil_cadre {
 box-shadow:0 0 0.3rem #999;
 border-radius:0.2rem;
 padding:1.2rem;
 margin-bottom:1.6rem
}
.accueil_cadre h2 {
 font-variant:small-caps;
 letter-spacing:0.01em;
 border-bottom:solid 0.2rem #bdd8fb;
 margin:-0.4rem 0 0.5rem
}
.accueil_pied {
 margin-top:1.8em;
 font-size:85%;
 text-align:right
}

/* BANDEAU EN HAUT DES PAGES */

.bandeau {
 height: 5em;
 margin:auto;
 padding: .5em 1em;
}
.bandeau .info {
 background-color: aliceblue;
 border: lavender 1px solid;
}
.bandeau .attention {
 background-color: lightpink;
 border: lightsalmon 1px solid;
}