« MediaWiki:Common.css » : différence entre les versions
De Les Archives Infinies
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 83 : | Ligne 83 : | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
justify-content: center; | justify-content: center; | ||
gap: | gap: 8px; | ||
padding: 10px | padding: 8px 10px; | ||
background: rgba(0, 0, 0, 0. | background: rgba(0, 0, 0, 0.3); /* légère ombre en fond de bloc */ | ||
position: absolute; | position: absolute; | ||
bottom: 0; | bottom: 0; | ||
| Ligne 91 : | Ligne 91 : | ||
} | } | ||
/* Liens minimalistes */ | |||
.top-link { | .top-link { | ||
padding: 6px | padding: 2px 6px; | ||
background-color: | background-color: transparent; | ||
border: | border: none; | ||
text-decoration: none; | text-decoration: none; | ||
color: # | color: #f3e9d1; | ||
font-size: 14px; | |||
font-family: 'MedievalSharp', serif; | |||
font-weight: bold; | font-weight: bold; | ||
transition: color 0.3s ease; | |||
transition: | |||
} | } | ||
.top-link:hover { | .top-link:hover { | ||
color: #d6b66a; | |||
text-shadow: 0 0 4px #d6b66a; | |||
} | } | ||
Version du 29 mars 2025 à 14:40
@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; }
#top-links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 8px;
padding: 8px 10px;
background: rgba(0, 0, 0, 0.3); /* légère ombre en fond de bloc */
position: absolute;
bottom: 0;
width: 100%;
}
/* Liens minimalistes */
.top-link {
padding: 2px 6px;
background-color: transparent;
border: none;
text-decoration: none;
color: #f3e9d1;
font-size: 14px;
font-family: 'MedievalSharp', serif;
font-weight: bold;
transition: color 0.3s ease;
}
.top-link:hover {
color: #d6b66a;
text-shadow: 0 0 4px #d6b66a;
}