« MediaWiki:Common.css » : différence entre les versions
Apparence
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 16 : | Ligne 16 : | ||
clear:both; | clear:both; | ||
margin-top:2rem; | margin-top:2rem; | ||
line-height: 1.5em; | |||
} | } | ||
@media only screen and (min-width: 768px) { | @media only screen and (min-width: 768px) { | ||
| Ligne 25 : | Ligne 26 : | ||
clear:both; | clear:both; | ||
margin-top:2rem; | margin-top:2rem; | ||
line-height: 1.5em; | |||
} | } | ||
} | } | ||
Version du 15 novembre 2025 à 10:25
/* 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;} */
img {
max-width: 100%;
}
/* 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;
line-height: 1.5em;
}
@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;
line-height: 1.5em;
}
}
/* 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;
}
/*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 {
background-color:#E9EBEE;
padding:5px;
margin:3px;
font-weight:bold;
text-align:center;
font-size:120%;
color :black
}
.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;
}
#p-namespaces .selected a {
border-bottom: 3px solid #5D2A68;
}
/*Template:Blackthumb*/
.blackthumb > figure[typeof~="mw:File/Thumb"] > a > img {
background-color: black;
}
<noinclude>[[Catégorie:WikiHalo]]</noinclude>