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.

 
(66 versions intermédiaires par 2 utilisateurs non affichées)
Ligne 1 : Ligne 1 :
/* Le CSS placé ici sera appliqué à tous les habillages.*/
/* Le CSS placé ici sera appliqué à tous les habillages. */
#siteSub { display:block; font-style:italic; font-weight:normal; font-size:0.9em;}
 
/* Tagline à activer en cas d'annonce globale
#siteSub { display:block !important; font-style:italic; font-weight:normal; font-size:0.9em;} */
 
/*  Permet l'affichage des navbox sur toute la largeur de l'écran sur mobiles */
.navbox{
  border:1px solid silver;
  font-size:90%;
  width:100%;
  text-align:center;
  clear:both;
  margin-top:2rem;
}
@media only screen and (min-width: 768px) {
.navbox{
    border:1px solid silver;
    font-size:90%;
    width:60%;
    text-align:center;
    clear:both;
    margin-top:2rem;
  }
}
 
/* Affichages mobiles */
@media only screen and (max-width: 768px) {
.embedvideo{
    margin:0 auto !important;
  }
ul.gallery{
    margin:0;
}
}
 
/* Fix espacement dans les tableaux pour compatibilité listes */
.wikitable td p {
  margin-bottom:0em;
}
 
/* 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>

Version actuelle datée du 20 mars 2024 à 20:08

/* 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;} */

/*  Permet l'affichage des navbox sur toute la largeur de l'écran sur mobiles */
.navbox{
  border:1px solid silver;
  font-size:90%;
  width:100%;
  text-align:center;
  clear:both;
  margin-top:2rem;
}
@media only screen and (min-width: 768px) {
 .navbox{
    border:1px solid silver;
    font-size:90%;
    width:60%;
    text-align:center;
    clear:both;
    margin-top:2rem;
  }
}

/* Affichages mobiles */
@media only screen and (max-width: 768px) {
 .embedvideo{
    margin:0 auto !important;
  }
 ul.gallery{
    margin:0;
 }
}

/* Fix espacement dans les tableaux pour compatibilité listes */
.wikitable td p {
  margin-bottom:0em;
}

/* 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>