« 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 : | ||
/*************************************************************** | /*************************************************************** | ||
⚜️ THEME OFFICIEL — ALFI ROYAL CSS ⚜️ | |||
Association des Lignages de France et de l’International | |||
Style graphique : Monarchie spirituelle – Élégance française | |||
Version : 1.4 (mars 2026, justification + harmonisation visuelle) | |||
****************************************************************/ | ****************************************************************/ | ||
/* ======================= | /* ======================= BASE GÉNÉRALE ======================= */ | ||
======================= */ | |||
body { | body { | ||
font-family: "Crimson Pro", serif; | font-family: "Crimson Pro", serif; | ||
font-size: 17px; | font-size: 17px; | ||
line-height: 1.6; | line-height: 1.6; | ||
color: #2a1b0a; | color: #2a1b0a; /* Brun noble */ | ||
background-color: #fffdf8; /* Blanc parchemin */ | background-color: #fffdf8; /* Blanc parchemin */ | ||
margin: 0; | margin: 0; | ||
| Ligne 19 : | Ligne 17 : | ||
} | } | ||
/* ======================= | /* ======================= JUSTIFICATION TYPOGRAPHIQUE ======================= */ | ||
.mw-parser-output p, | |||
======================= */ | .mw-parser-output li, | ||
.mw-parser-output .thumbcaption, | |||
.mw-parser-output .gallerytext, | |||
.mw-parser-output td { | |||
text-align: justify; | |||
text-justify: inter-word; | |||
hyphens: auto; | |||
-webkit-hyphens: auto; | |||
-ms-hyphens: auto; | |||
} | |||
/* Exceptions pour les éléments courts ou centrés */ | |||
.mw-parser-output blockquote, | |||
.mw-parser-output .ordo, | |||
.mw-parser-output .signature-alfi, | |||
.mw-parser-output .toc, | |||
#toc h2 { | |||
text-align: left; | |||
hyphens: manual; | |||
} | |||
/* Sur petit écran, éviter la justification rigide */ | |||
@media (max-width: 480px) { | |||
.mw-parser-output p, | |||
.mw-parser-output li, | |||
.mw-parser-output .thumbcaption { | |||
text-align: left; | |||
} | |||
} | |||
/* Classes utilitaires */ | |||
.justify { text-align: justify !important; hyphens: auto; } | |||
.no-justify { text-align: left !important; } | |||
/* ======================= TITRES PRINCIPAUX ======================= */ | |||
h1, h2, h3, h4, h5 { | h1, h2, h3, h4, h5 { | ||
font-family: "EB Garamond", serif; | font-family: "EB Garamond", serif; | ||
| Ligne 32 : | Ligne 64 : | ||
/* ⚜️ Titre royal — équilibré + filet doré */ | /* ⚜️ Titre royal — équilibré + filet doré */ | ||
h1 { | h1 { | ||
font-size: 1.55em; | font-size: 1.55em; | ||
font-weight: 700; | font-weight: 700; | ||
text-align: center; | text-align: center; | ||
| Ligne 76 : | Ligne 108 : | ||
} | } | ||
/* ======================= | /* ======================= 🎇 TITRES ALFI SECONDAIRES — Doré lumineux ======================= */ | ||
======================= */ | |||
.titre-alfi { | .titre-alfi { | ||
font-family: "EB Garamond", serif; | font-family: "EB Garamond", serif; | ||
| Ligne 119 : | Ligne 149 : | ||
} | } | ||
/* ======================= | /* ======================= CITATIONS & ÉPIGRAPHES ======================= */ | ||
======================= */ | |||
blockquote { | blockquote { | ||
font-family: "Cormorant Garamond", serif; | font-family: "Cormorant Garamond", serif; | ||
| Ligne 133 : | Ligne 161 : | ||
} | } | ||
/* ======================= | /* ======================= TABLE DES SOMMAIRES ======================= */ | ||
======================= */ | |||
#toc, .toc { | #toc, .toc { | ||
background: #f9f6ef; | background: #f9f6ef; | ||
| Ligne 154 : | Ligne 180 : | ||
} | } | ||
/* ======================= | /* ======================= LIENS ======================= */ | ||
a, a:visited { color: #7a4e00; text-decoration: none; } | |||
======================= */ | a:hover { color: #d4af37; text-decoration: underline; } | ||
a, a:visited { | |||
} | |||
/* ======================= TABLEAUX ======================= */ | |||
table { border-collapse: collapse; background-color: #fffefb; } | |||
/* ======================= | |||
======================= */ | |||
table { | |||
} | |||
th { | th { | ||
| Ligne 188 : | Ligne 200 : | ||
} | } | ||
/* ======================= | /* ======================= CITATION ROYALE (“ordo”) ======================= */ | ||
======================= */ | |||
.ordo { | .ordo { | ||
font-family: "Cinzel", serif; | font-family: "Cinzel", serif; | ||
| Ligne 204 : | Ligne 214 : | ||
} | } | ||
/* ======================= | /* ======================= HEADER / BANNIÈRE ======================= */ | ||
======================= */ | |||
#mw-head, .mw-header { | #mw-head, .mw-header { | ||
background-color: #f8f5e8; | background-color: #f8f5e8; | ||
| Ligne 218 : | Ligne 226 : | ||
} | } | ||
/* ======================= | /* ======================= MENUS & INTERFACE ======================= */ | ||
.vector-menu-content, | |||
======================= */ | #p-navigation, | ||
.vector-menu-content, #p-navigation, #p-personal { | #p-personal { | ||
font-family: "Lato", sans-serif; | font-family: "Lato", sans-serif; | ||
font-size: 14px; | font-size: 14px; | ||
} | } | ||
.vector-menu-content a { | .vector-menu-content a { color: #3b2a0b; } | ||
.vector-menu-content a:hover { color: #d4af37; } | |||
} | |||
.vector-menu-content a:hover { | |||
} | |||
/* ======================= | /* ======================= SIGNATURE FINALE ======================= */ | ||
======================= */ | |||
.signature-alfi { | .signature-alfi { | ||
text-align: center; | text-align: center; | ||
| Ligne 245 : | Ligne 246 : | ||
} | } | ||
.signature-alfi::before { | .signature-alfi::before { content: "⚜️ "; color: #d4af37; } | ||
.signature-alfi::after { content: " ⚜️"; color: #d4af37; } | |||
} | |||
.signature-alfi::after { | |||
} | |||
Version du 25 octobre 2025 à 07:57
/***************************************************************
⚜️ THEME OFFICIEL — ALFI ROYAL CSS ⚜️
Association des Lignages de France et de l’International
Style graphique : Monarchie spirituelle – Élégance française
Version : 1.4 (mars 2026, justification + harmonisation visuelle)
****************************************************************/
/* ======================= BASE GÉNÉRALE ======================= */
body {
font-family: "Crimson Pro", serif;
font-size: 17px;
line-height: 1.6;
color: #2a1b0a; /* Brun noble */
background-color: #fffdf8; /* Blanc parchemin */
margin: 0;
padding: 0;
}
/* ======================= JUSTIFICATION TYPOGRAPHIQUE ======================= */
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output .thumbcaption,
.mw-parser-output .gallerytext,
.mw-parser-output td {
text-align: justify;
text-justify: inter-word;
hyphens: auto;
-webkit-hyphens: auto;
-ms-hyphens: auto;
}
/* Exceptions pour les éléments courts ou centrés */
.mw-parser-output blockquote,
.mw-parser-output .ordo,
.mw-parser-output .signature-alfi,
.mw-parser-output .toc,
#toc h2 {
text-align: left;
hyphens: manual;
}
/* Sur petit écran, éviter la justification rigide */
@media (max-width: 480px) {
.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output .thumbcaption {
text-align: left;
}
}
/* Classes utilitaires */
.justify { text-align: justify !important; hyphens: auto; }
.no-justify { text-align: left !important; }
/* ======================= TITRES PRINCIPAUX ======================= */
h1, h2, h3, h4, h5 {
font-family: "EB Garamond", serif;
color: #2a1b0a;
text-transform: none;
line-height: 1.3;
word-wrap: break-word;
}
/* ⚜️ Titre royal — équilibré + filet doré */
h1 {
font-size: 1.55em;
font-weight: 700;
text-align: center;
margin: 0.8em auto 0.4em;
padding-bottom: 0.4em;
position: relative;
max-width: 90%;
}
/* Filet doré lumineux sous le titre */
h1::after {
content: "";
display: block;
width: 100px;
height: 2px;
background: linear-gradient(to right, #d4af37, #f6e27f, #d4af37);
margin: 10px auto 0 auto;
border-radius: 2px;
box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}
/* Sous-titres harmonieux */
h2 {
font-size: 1.35em;
font-weight: 600;
border-left: 4px solid #d4af37;
padding-left: 8px;
margin-top: 1.2em;
}
h3 {
font-size: 1.18em;
font-weight: 600;
color: #3b2a0b;
margin-top: 1em;
}
/* ✅ Responsive */
@media (max-width: 600px) {
h1 { font-size: 1.3em; line-height: 1.2; }
h2 { font-size: 1.1em; }
h3 { font-size: 1em; }
}
/* ======================= 🎇 TITRES ALFI SECONDAIRES — Doré lumineux ======================= */
.titre-alfi {
font-family: "EB Garamond", serif;
font-size: 1.25em;
font-weight: 600;
color: #2a1b0a;
text-transform: none;
letter-spacing: 0.02em;
margin-top: 1.2em;
margin-bottom: 0.5em;
position: relative;
padding-left: 16px;
border-left: 3px solid transparent;
}
/* Filet doré lumineux à gauche */
.titre-alfi::before {
content: "";
position: absolute;
left: 0;
top: 0.2em;
bottom: 0.1em;
width: 4px;
background: linear-gradient(to bottom, #f6e27f, #d4af37, #f6e27f);
border-radius: 2px;
box-shadow: 0 0 6px rgba(212, 175, 55, 0.4);
}
/* Première lettre dorée */
.titre-alfi::first-letter {
color: #d4af37;
font-size: 1.35em;
font-weight: 700;
}
/* Effet lumineux au survol */
.titre-alfi:hover {
text-shadow: 0 0 6px rgba(246, 226, 127, 0.6);
transition: text-shadow 0.3s ease;
}
/* ======================= CITATIONS & ÉPIGRAPHES ======================= */
blockquote {
font-family: "Cormorant Garamond", serif;
font-size: 1.05em;
font-style: italic;
color: #4b3621;
background-color: #fefaf3;
border-left: 4px solid #d4af37;
margin: 1em 2em;
padding: 0.8em 1.2em;
}
/* ======================= TABLE DES SOMMAIRES ======================= */
#toc, .toc {
background: #f9f6ef;
border: 1px solid #d4af37;
border-radius: 8px;
font-family: "EB Garamond", serif;
padding: 10px 15px;
margin: 1em auto;
width: 80%;
}
#toc h2 {
text-align: center;
color: #2a1b0a;
border: none;
font-weight: 700;
font-size: 1.15em;
}
/* ======================= LIENS ======================= */
a, a:visited { color: #7a4e00; text-decoration: none; }
a:hover { color: #d4af37; text-decoration: underline; }
/* ======================= TABLEAUX ======================= */
table { border-collapse: collapse; background-color: #fffefb; }
th {
background-color: #f6ecd4;
color: #2a1b0a;
font-family: "EB Garamond", serif;
font-weight: 600;
border-bottom: 2px solid #d4af37;
}
td, th {
border: 1px solid #e2c885;
padding: 6px 10px;
}
/* ======================= CITATION ROYALE (“ordo”) ======================= */
.ordo {
font-family: "Cinzel", serif;
text-align: center;
color: #3b2a0b;
background: #fdf8ee;
border: 2px solid #d4af37;
border-radius: 10px;
padding: 15px;
margin: 1.5em auto;
width: 80%;
font-size: 1.1em;
}
/* ======================= HEADER / BANNIÈRE ======================= */
#mw-head, .mw-header {
background-color: #f8f5e8;
border-bottom: 3px solid #d4af37;
}
#p-logo a {
background-image: url("https://wiki.alfinternational.eu/images/logo_alfi_gold.png");
background-size: contain;
background-repeat: no-repeat;
}
/* ======================= MENUS & INTERFACE ======================= */
.vector-menu-content,
#p-navigation,
#p-personal {
font-family: "Lato", sans-serif;
font-size: 14px;
}
.vector-menu-content a { color: #3b2a0b; }
.vector-menu-content a:hover { color: #d4af37; }
/* ======================= SIGNATURE FINALE ======================= */
.signature-alfi {
text-align: center;
font-family: "Cinzel", serif;
font-size: 1em;
margin-top: 2em;
color: #2a1b0a;
}
.signature-alfi::before { content: "⚜️ "; color: #d4af37; }
.signature-alfi::after { content: " ⚜️"; color: #d4af37; }