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

De Association Linéage de France et d'International
Aller à la navigationAller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 1 : Ligne 1 :
/* ===============================================================
/* ===============================================================
   ⚜️ STYLE ROYAL ALFI — VERSION AVEC COMMANDES RÉTABLIES
   ⚜️ STYLE ROYAL ALFI — VERSION RÉPARATRICE INTERFACE
   =============================================================== */
   =============================================================== */


/* 1. SÉCURITÉ : FORCE L'AFFICHAGE DES BOUTONS DE COMMANDE */
/* 1. RÉTABLIT LA ZONE DE TEXTE ET LES BOUTONS (Indispensable) */
#p-views, #p-cactions, .vectorTabs, #left-navigation, #right-navigation {
#wpTextbox1, .wikiEditor-ui {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 500px !important;
    font-family: monospace !important;
    font-size: 14px !important;
}
 
/* Force l'affichage des onglets de commande en haut */
#p-views, #left-navigation, #right-navigation, .vectorTabs {
     display: block !important;
     display: block !important;
     visibility: visible !important;
     visibility: visible !important;
     position: relative !important;
     margin-top: 20px !important;
     z-index: 10000 !important; /* Passe au-dessus de tout */
     z-index: 1000 !important;
    background: #f8f9fa !important; /* Fond gris clair pour les voir */
}
}


.vectorTabs li a, #p-views li a {
.vectorTabs li a, #p-views li a {
     color: #0645ad !important; /* Force les liens en BLEU pour les voir */
     color: #0645ad !important; /* Liens en bleu */
     padding: 10px !important;
     font-weight: bold !important;
}
}


/* 2. VOTRE BASE GÉNIALE (16px) */
/* 2. BASE DE LECTURE (16px comme vous aimiez) */
* {
#mw-content-text {
     font-size: 16px !important;
     font-size: 16px !important;
     line-height: 1.5 !important;
     line-height: 1.6 !important;
     font-family: 'EB Garamond', serif !important;
     max-width: 950px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    background: #ffffff !important;
}
}


/* 3. TITRES ROYAUX MAIS DISCRETS */
/* 3. TITRES HARMONISÉS */
h1, h2, h3, .mw-headline, #firstHeading {
h1, h2, h3, .mw-headline, #firstHeading {
     font-size: 24px !important;
     font-size: 24px !important;
Ligne 31 : Ligne 44 :
     margin: 15px 0 !important;
     margin: 15px 0 !important;
     padding: 5px 0 !important;
     padding: 5px 0 !important;
    font-weight: bold !important;
}
}


/* 4. STRUCTURE DE L'ARTICLE ET BARRE DE GAUCHE */
/* 4. POSITIONNEMENT DE LA BARRE DE GAUCHE */
#mw-panel {
#mw-panel {
     position: absolute !important;
     position: absolute !important;
     top: 160px !important;
     top: 160px !important;
     left: 0 !important;
     left: 0 !important;
     width: 10em !important;
     width: 11em !important;
}
}


#content {
#content {
     max-width: 900px !important;
     margin-left: 12em !important; /* Laisse la place au menu de gauche */
    margin: 0 auto !important;
    padding: 30px !important;
    background: #ffffff !important;
    border: 1px solid #eeeeee !important;
}
}



Version du 25 mars 2026 à 11:29

/* ===============================================================
   ⚜️ STYLE ROYAL ALFI — VERSION RÉPARATRICE INTERFACE
   =============================================================== */

/* 1. RÉTABLIT LA ZONE DE TEXTE ET LES BOUTONS (Indispensable) */
#wpTextbox1, .wikiEditor-ui {
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
    min-height: 500px !important;
    font-family: monospace !important;
    font-size: 14px !important;
}

/* Force l'affichage des onglets de commande en haut */
#p-views, #left-navigation, #right-navigation, .vectorTabs {
    display: block !important;
    visibility: visible !important;
    margin-top: 20px !important;
    z-index: 1000 !important;
}

.vectorTabs li a, #p-views li a {
    color: #0645ad !important; /* Liens en bleu */
    font-weight: bold !important;
}

/* 2. BASE DE LECTURE (16px comme vous aimiez) */
#mw-content-text {
    font-size: 16px !important;
    line-height: 1.6 !important;
    max-width: 950px !important;
    margin: 40px auto !important;
    padding: 30px !important;
    background: #ffffff !important;
}

/* 3. TITRES HARMONISÉS */
h1, h2, h3, .mw-headline, #firstHeading {
    font-size: 24px !important;
    color: #3a260b !important;
    border-bottom: 1px solid #d4af37 !important;
    margin: 15px 0 !important;
    padding: 5px 0 !important;
}

/* 4. POSITIONNEMENT DE LA BARRE DE GAUCHE */
#mw-panel {
    position: absolute !important;
    top: 160px !important;
    left: 0 !important;
    width: 11em !important;
}

#content {
    margin-left: 12em !important; /* Laisse la place au menu de gauche */
}

/* 5. ÉLÉMENTS ALFI */
.lettre-alfi {
    background: linear-gradient(180deg,#f8f2d0,#f6e27f) !important;
    border: 1px solid #d4af37 !important;
    padding: 4px 8px !important;
    display: inline-block !important;
}

#alfi-footer {
    position: fixed !important;
    bottom: 0 !important;
    width: 100% !important;
    background: rgba(255,253,248,0.95) !important;
    border-top: 2px solid #d4af37 !important;
    z-index: 1000 !important;
}