« 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 FINALE HARMONISÉE | ||
=============================================================== */ | |||
line-height: 1. | |||
/* --- 1. RÉTABLISSEMENT DE LA NAVIGATION (MODIFIER, PAGE, ETC.) --- */ | |||
#p-views, #left-navigation, #right-navigation, #p-cactions { | |||
display: block !important; | |||
visibility: visible !important; | |||
position: relative !important; | |||
z-index: 1001 !important; | |||
} | |||
#p-views ul li, #left-navigation ul li, #right-navigation ul li { | |||
display: inline-block !important; | |||
background: #f8f9fa !important; | |||
border: 1px solid #a2a9b1 !important; | |||
margin-right: 2px !important; | |||
} | |||
/* --- 2. STRUCTURE DE L'ARTICLE (Lecture de prestige) --- */ | |||
#mw-content-text { | |||
max-width: 1000px !important; | |||
margin: 40px auto !important; /* Espace pour ne pas cacher les onglets */ | |||
line-height: 1.7 !important; | |||
color: #2c2c2c !important; | |||
padding: 30px !important; | |||
background: #ffffff !important; | |||
box-shadow: 0 0 20px rgba(0,0,0,0.05) !important; | |||
font-family: 'EB Garamond', 'Garamond', serif !important; | |||
font-size: 17px !important; | |||
} | |||
/* --- 3. AJUSTEMENT ROYAL DES TITRES --- */ | |||
h1, .firstHeading { | |||
font-size: 32px !important; | |||
color: #3a260b !important; | |||
font-family: 'EB Garamond', serif !important; | |||
border-bottom: 2px solid #d4af37 !important; | |||
padding-bottom: 10px !important; | |||
margin-top: 20px !important; | |||
} | } | ||
h2, .mw-headline { | |||
font-size: 26px !important; | |||
font-size: | color: #3a260b !important; | ||
font-family: 'EB Garamond', serif !important; | |||
padding: 5px !important; | border-bottom: 1px solid #d4af37 !important; | ||
padding-bottom: 5px !important; | |||
margin-top: 30px !important; | |||
display: block !important; | display: block !important; | ||
} | } | ||
/* | /* --- 4. IMAGES ET INFOBOX --- */ | ||
# | .thumb, .infobox { | ||
margin: 15px 0 25px 25px !important; | |||
border: 1px solid #d4af37 !important; | |||
padding: | background: #fffdf8 !important; | ||
padding: 10px !important; | |||
box-shadow: 4px 4px 10px rgba(0,0,0,0.1) !important; | |||
} | |||
.thumbinner { margin: 0 auto !important; } | |||
/* --- 5. ÉLÉMENTS ALFI (Menu et Index) --- */ | |||
#alfi-index { | |||
position: relative !important; /* Changé de sticky à relative pour libérer les onglets */ | |||
text-align: center !important; | |||
background: rgba(255, 253, 248, 0.98) !important; | |||
border-bottom: 2px solid #d4af37 !important; | |||
padding: 15px !important; | |||
margin-bottom: 30px !important; | |||
} | |||
.lettre-alfi { | |||
background: linear-gradient(180deg,#f8f2d0,#f6e27f) !important; | |||
border: 1px solid #d4af37 !important; | |||
border-radius: 6px !important; | |||
padding: 6px 12px !important; | |||
font-size: 16px !important; | |||
font-weight: bold !important; | |||
color: #3a260b !important; | |||
display: inline-block !important; | |||
margin: 3px !important; | |||
text-decoration: none !important; | |||
} | |||
#alfi-footer { | |||
position: fixed !important; | |||
bottom: 0 !important; | |||
left: 0 !important; | |||
width: 100% !important; | |||
background: rgba(255,253,248,0.95) !important; | |||
border-top: 2px solid #d4af37 !important; | |||
text-align: center !important; | |||
padding: 10px 0 !important; | |||
z-index: 1000 !important; | |||
} | } | ||
/* | /* --- 6. ADAPTATION MOBILE --- */ | ||
. | @media (max-width: 768px) { | ||
#mw-content-text { width: 95% !important; padding: 15px !important; } | |||
.thumb { float: none !important; display: block !important; margin: 10px auto !important; } | |||
} | |||
Version du 25 mars 2026 à 10:17
/* ===============================================================
⚜️ STYLE ROYAL ALFI — VERSION FINALE HARMONISÉE
=============================================================== */
/* --- 1. RÉTABLISSEMENT DE LA NAVIGATION (MODIFIER, PAGE, ETC.) --- */
#p-views, #left-navigation, #right-navigation, #p-cactions {
display: block !important;
visibility: visible !important;
position: relative !important;
z-index: 1001 !important;
}
#p-views ul li, #left-navigation ul li, #right-navigation ul li {
display: inline-block !important;
background: #f8f9fa !important;
border: 1px solid #a2a9b1 !important;
margin-right: 2px !important;
}
/* --- 2. STRUCTURE DE L'ARTICLE (Lecture de prestige) --- */
#mw-content-text {
max-width: 1000px !important;
margin: 40px auto !important; /* Espace pour ne pas cacher les onglets */
line-height: 1.7 !important;
color: #2c2c2c !important;
padding: 30px !important;
background: #ffffff !important;
box-shadow: 0 0 20px rgba(0,0,0,0.05) !important;
font-family: 'EB Garamond', 'Garamond', serif !important;
font-size: 17px !important;
}
/* --- 3. AJUSTEMENT ROYAL DES TITRES --- */
h1, .firstHeading {
font-size: 32px !important;
color: #3a260b !important;
font-family: 'EB Garamond', serif !important;
border-bottom: 2px solid #d4af37 !important;
padding-bottom: 10px !important;
margin-top: 20px !important;
}
h2, .mw-headline {
font-size: 26px !important;
color: #3a260b !important;
font-family: 'EB Garamond', serif !important;
border-bottom: 1px solid #d4af37 !important;
padding-bottom: 5px !important;
margin-top: 30px !important;
display: block !important;
}
/* --- 4. IMAGES ET INFOBOX --- */
.thumb, .infobox {
margin: 15px 0 25px 25px !important;
border: 1px solid #d4af37 !important;
background: #fffdf8 !important;
padding: 10px !important;
box-shadow: 4px 4px 10px rgba(0,0,0,0.1) !important;
}
.thumbinner { margin: 0 auto !important; }
/* --- 5. ÉLÉMENTS ALFI (Menu et Index) --- */
#alfi-index {
position: relative !important; /* Changé de sticky à relative pour libérer les onglets */
text-align: center !important;
background: rgba(255, 253, 248, 0.98) !important;
border-bottom: 2px solid #d4af37 !important;
padding: 15px !important;
margin-bottom: 30px !important;
}
.lettre-alfi {
background: linear-gradient(180deg,#f8f2d0,#f6e27f) !important;
border: 1px solid #d4af37 !important;
border-radius: 6px !important;
padding: 6px 12px !important;
font-size: 16px !important;
font-weight: bold !important;
color: #3a260b !important;
display: inline-block !important;
margin: 3px !important;
text-decoration: none !important;
}
#alfi-footer {
position: fixed !important;
bottom: 0 !important;
left: 0 !important;
width: 100% !important;
background: rgba(255,253,248,0.95) !important;
border-top: 2px solid #d4af37 !important;
text-align: center !important;
padding: 10px 0 !important;
z-index: 1000 !important;
}
/* --- 6. ADAPTATION MOBILE --- */
@media (max-width: 768px) {
#mw-content-text { width: 95% !important; padding: 15px !important; }
.thumb { float: none !important; display: block !important; margin: 10px auto !important; }
}