« MediaWiki:Common.css » : différence entre les versions

De Les Archives Infinies
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 84 : Ligne 84 :
     justify-content: center;
     justify-content: center;
     gap: 10px;
     gap: 10px;
     padding: 15px 0;
     padding: 10px 20px;
     background-color: #f8f1e0;
     background: rgba(0, 0, 0, 0.4); /* fond semi-transparent sur l’image */
     border-bottom: 2px solid #d6c18a;
    position: absolute;
     bottom: 0;
    width: 100%;
}
}



Version du 29 mars 2025 à 14:38

@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: 10px;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.4); /* fond semi-transparent sur l’image */
    position: absolute;
    bottom: 0;
    width: 100%;
}

.top-link {
    padding: 6px 12px;
    background-color: #e0d2af;
    border: 1px solid #bfa76f;
    border-radius: 6px;
    text-decoration: none;
    color: #3c2f1b;
    font-weight: bold;
    font-family: 'MedievalSharp', serif;
    transition: background-color 0.3s ease;
}

.top-link:hover {
    background-color: #d1b97e;
}