Différences entre les versions de « MediaWiki:Common.css »

Le WikiHalo rappelle à ses contributeurs que toute information ajoutée doit être officielle et vérifiable. Les contributions sans sources et les théories sur Halo Infinite seront rejetées.

Ligne 4 : Ligne 4 :
#siteSub { display:block !important; font-style:italic; font-weight:normal; font-size:0.9em;} */
#siteSub { display:block !important; font-style:italic; font-weight:normal; font-size:0.9em;} */


@media only screen and (max-width: 600px) {
 
   .navbox{
   .navbox{
   border:1px solid silver;
   border:1px solid silver;
Ligne 13 : Ligne 13 :
   margin-top:2rem;
   margin-top:2rem;
   }
   }
}


.navbox{
@media only screen and (min-width: 600px) {
  border:1px solid silver;
.navbox{
  font-size:90%;
    border:1px solid silver;
  width:60%;
    font-size:90%;
  text-align:center;
    width:60%;
  clear:both;
    text-align:center;
  margin-top:2rem;
    clear:both;
    margin-top:2rem;
  }
}
}



Version du 15 juillet 2022 à 19:39

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

/* Tagline à activer en cas d'annonce globale 
#siteSub { display:block !important; font-style:italic; font-weight:normal; font-size:0.9em;} */


  .navbox{
  border:1px solid silver;
  font-size:90%;
  width:100%;
  text-align:center;
  clear:both;
  margin-top:2rem;
  }

@media only screen and (min-width: 600px) {
 .navbox{
    border:1px solid silver;
    font-size:90%;
    width:60%;
    text-align:center;
    clear:both;
    margin-top:2rem;
  }
}

/* Boutons de Modèle:Collapse */
.mw-collapsible-centered{
  text-align:center;
  float:none !important;
}
.mw-collapsible .mw-collapsible-toggle,
mw-collapsible-toggle-default,
mw-collapsible-toggle-collapsed {
 float:none;
 color:#0056b3
}

/* Galeries centrées par défaut */
ul.gallery{
    text-align:center;
}

/* hr moins gros */
hr {
 margin-bottom:0.5rem;
 margin-top:0.5rem;
}

/* Anciens titres */
h1 {
    font-size:2.1em !important;
}

/* Texte du menu de gauche plus espacé */
.nav {
    line-height:1.2;
}

/* Liens déjà visités dans une autre couleur */
a:visited {
    color:#36c;
}

/*Classe alerte (cf. Modèle:WIP)*/
.alerte {
 border:1px solid #446622;
 border-left:10px solid #446622;
 background-color:#DDFFBB;
 margin-right:auto;
 margin-left:auto;
 margin-bottom: 1em;
}
.alerte td{
  padding:0.4em;
}

/* Restriction taille thumbs au conteneur pour les infobox  */
.thumbinner{
  max-width:100%;
}

/* Pas de restriction de taille d'image dans les tableaux  */
table img{
  max-width:initial;
}

/* Pour usage dans hover */
.explain[title] {
	text-decoration: none;
	border-bottom: 1px dotted;
}

/* Nouveaux bandeaux */
.entete-spoiler {
  border:solid #D9A302 1px;
  border-left:solid #D9A302 10px;
}
.entete-important {
  border:solid #C20000 1px; 
  border-left:solid #C20000 10px;
}
.entete-standard {
  border:solid #060099 1px; 
  border-left:solid #060099 10px;
}
.entete-info {
  border:solid #006F00 1px; 
  border-left:solid #006F00 10px;
}
.entete-wikipol {
  border:solid #4B007A 1px; 
  border-left:solid #4B007A 10px;
}

/* Fix glitch MultimediaViewer */
.mw-mmv-image-metadata {
  margin-top: 0px;
}

/* Header de listes */
dl {
  margin-top: 0.5em;
  margin-bottom: 0;
}

<noinclude>[[Catégorie:WikiHalo]]</noinclude>