« MediaWiki:Common.css » : différence entre les versions
De Les Archives Infinies
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 35 : | Ligne 35 : | ||
overflow-x: hidden; | overflow-x: hidden; | ||
position: static !important; | position: static !important; | ||
} | |||
#mw-header-container { | |||
position: relative !important; | |||
top: 200px; /* ou la hauteur de ton bandeau */ | |||
z-index: 9998; | |||
} | } | ||
Version du 29 mars 2025 à 02:39
@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');
#site-header {
background-image: url("/images/e/e3/Bandeau-codex-all%C3%A9g%C3%A9.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
height: 200px;
color: #f0e6d6;
font-family: 'MedievalSharp', cursive;
font-size: 36px;
text-align: center;
padding-top: 70px;
text-shadow: 2px 2px 4px #000;
position: fixed;
top: 0;
width: 100%;
z-index: 999999; /* encore plus haut */
box-shadow: 0 4px 6px rgba(0,0,0,0.5);
opacity: 1;
}
#mw-header-container {
position: fixed;
top: 200px; /* même hauteur que ton bandeau */
width: 100%;
z-index: 9998;
}
body {
padding-top: 260px; /* 200px pour le bandeau + 60px pour la barre Timeless */
}
body, html {
overflow-x: hidden;
position: static !important;
}
#mw-header-container {
position: relative !important;
top: 200px; /* ou la hauteur de ton bandeau */
z-index: 9998;
}