« MediaWiki:Common.css » : différence entre les versions
De Les Archives Infinies
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 2 : | Ligne 2 : | ||
#site-header { | #site-header { | ||
background-image: url("https://legiodraconis.fr/wikia/images/ | background-image: url("https://legiodraconis.fr/wikia/images/d/df/Bandeau-salle-detude-livres-1920x200.jpg"); | ||
background-position: center; | background-position: center; | ||
background-size: cover; | background-size: cover; | ||
Version du 29 mars 2025 à 14:02
@import url('https://fonts.googleapis.com/css2?family=MedievalSharp&display=swap');
#site-header {
background-image: url("https://legiodraconis.fr/wikia/images/d/df/Bandeau-salle-detude-livres-1920x200.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
height: 200px;
color: #f0e6d6;
font-family: 'MedievalSharp', cursive;
font-size: 36px;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
text-shadow: 2px 2px 4px #000;
position: fixed;
top: 0;
width: 100%;
z-index: 99999;
box-shadow: 0 4px 6px rgba(0,0,0,0.5);
}
/* Faire descendre la barre native Timeless */
#mw-header-container {
position: fixed !important;
top: 200px;
width: 100%;
z-index: 99998;
}
/* Décaler le contenu principal */
body {
padding-top: 200px;
}
html, body {
overflow-x: hidden;
}
/* Largeur du contenu non définie */
@media screen and (min-width: 851px) {
.color-middle-container,
.ts-inner { max-width: none; }
}
/* Menu de navigation unilatéral */
@media (min-width: 1340px) {
#mw-content-block {
display: block;
}
#mw-content,
#content-bottom-stuff {
margin-left: 14em;
}
#mw-content-wrapper {
float: right;
margin-left: -14em;
width: 100%;
}
#mw-related-navigation {
width: 14em;
padding: 0 1em 0 0;
}
div.color-middle {
margin-right: 0;
}
.mw-wiki-logo {
display: inline-block;
}
}
/* Aligner la barre de couleurs supérieure avec les colonnes de la page */
.ts-inner {
padding: 0 0 0 1em;
}
/* Réalignement des logos inférieurs */
#footer { padding-right: 1em; }