« MediaWiki:Common.css » : différence entre les versions
aucun résumé des modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 4 016 : | Ligne 4 016 : | ||
.adv-bandeau.adv-pachad { background: linear-gradient(135deg, #7A5A9E, #9878B8); } | .adv-bandeau.adv-pachad { background: linear-gradient(135deg, #7A5A9E, #9878B8); } | ||
.adv-bandeau.adv-aresh { background: linear-gradient(135deg, #B84A4A, #D46A6A); } | .adv-bandeau.adv-aresh { background: linear-gradient(135deg, #B84A4A, #D46A6A); } | ||
/* =========================================================== | |||
BLOC DE CITATION LONGUE | |||
Alternative au blockquote italique pour les longs passages | |||
=========================================================== */ | |||
body:not(.page-Accueil) .mw-body-content .citation-longue { | |||
margin: 1.5em 0; | |||
padding: 1.2em 1.6em; | |||
background: linear-gradient(135deg, #F8F5FB 0%, #F2EEF6 100%); | |||
border-left: 4px solid #C49A2A; | |||
border-right: 1px solid #D0C4DC; | |||
border-top: 1px solid #D0C4DC; | |||
border-bottom: 1px solid #D0C4DC; | |||
border-radius: 0 6px 6px 0; | |||
font-style: normal; | |||
color: #3A3530; | |||
font-size: 0.97em; | |||
line-height: 1.65; | |||
position: relative; | |||
} | |||
body:not(.page-Accueil) .mw-body-content .citation-longue::before { | |||
content: '\275D'; | |||
position: absolute; | |||
top: -8px; | |||
left: 10px; | |||
font-size: 2.5em; | |||
color: rgba(196, 154, 42, 0.15); | |||
font-style: normal; | |||
line-height: 1; | |||
} | |||
/* Espacement généreux entre paragraphes dans les longs blocs */ | |||
body:not(.page-Accueil) .mw-body-content .citation-longue p { | |||
margin: 0.7em 0; | |||
} | |||
body:not(.page-Accueil) .mw-body-content .citation-longue p:first-child { | |||
margin-top: 0; | |||
} | |||
body:not(.page-Accueil) .mw-body-content .citation-longue p:last-child { | |||
margin-bottom: 0; | |||
} | |||
/* Filet décoratif en bas */ | |||
body:not(.page-Accueil) .mw-body-content .citation-longue::after { | |||
content: ''; | |||
display: block; | |||
margin-top: 1em; | |||
height: 1px; | |||
background: linear-gradient(90deg, #C49A2A 0%, transparent 80%); | |||
opacity: 0.3; | |||
} | |||