« MediaWiki:Common.css » : différence entre les versions
aucun résumé des modifications
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| Ligne 3 683 : | Ligne 3 683 : | ||
.arbre-de-vie { | .arbre-de-vie { | ||
position: relative; | position: relative; | ||
margin: | margin: 0 auto; | ||
font-family: sans-serif; | font-family: sans-serif; | ||
} | |||
/* Title h2 generated by template — kill default margins */ | |||
.mw-body-content h2 + .arbre-de-vie { | |||
margin-top: 0 !important; | |||
} | |||
.mw-parser-output > h2:has(+ .arbre-de-vie) { | |||
margin: 5px 0 0 0 !important; | |||
padding-bottom: 2px !important; | |||
} | |||
/* Direct class on the h2 */ | |||
.mw-body-content h2.adv-titre { | |||
margin: 0 0 0 0 !important; | |||
padding: 0 0 2px 0 !important; | |||
border-bottom: none !important; | |||
text-align: center !important; | |||
} | } | ||
| Ligne 3 799 : | Ligne 3 817 : | ||
} | } | ||
.adv-satellite:hover .adv-sat- | .adv-satellite:hover .adv-sat-link { | ||
color: var(--adv-accent) !important; | color: var(--adv-accent) !important; | ||
} | } | ||
.adv-sat-text | /* Satellite link — covers entire circle */ | ||
.adv-sat-link { | |||
position: absolute; | |||
top: 0; | |||
left: 0; | |||
width: 100%; | |||
height: 100%; | |||
display: flex; | |||
align-items: center; | |||
justify-content: center; | |||
text-align: center; | |||
font-size: 10px !important; | font-size: 10px !important; | ||
font-weight: 400; | font-weight: 400; | ||
| Ligne 3 809 : | Ligne 3 837 : | ||
line-height: 1.05 !important; | line-height: 1.05 !important; | ||
text-decoration: none; | text-decoration: none; | ||
padding: 6px; | |||
box-sizing: border-box; | |||
border-radius: 50%; | |||
transition: color 0.2s ease; | transition: color 0.2s ease; | ||
} | } | ||
.adv- | .adv-satellite a { | ||
color: inherit; | color: inherit; | ||
text-decoration: none; | text-decoration: none; | ||
display: contents; | |||
} | } | ||
/* MediaWiki wraps wiki links in <p> tags — override their inherited styles */ | /* MediaWiki wraps wiki links in <p> tags — override their inherited styles */ | ||
.adv-satellite p { | .adv-satellite p { | ||
margin: 0 !important; | margin: 0 !important; | ||
| Ligne 3 832 : | Ligne 3 855 : | ||
line-height: 1.05 !important; | line-height: 1.05 !important; | ||
font-size: 10px !important; | font-size: 10px !important; | ||
position: static; | |||
display: contents; | |||
} | } | ||
.mw-body-content .adv-sat- | .mw-body-content .adv-sat-link, | ||
.mw-body-content .adv-satellite p, | .mw-body-content .adv-satellite p, | ||
.mw-body-content .adv-satellite p a { | .mw-body-content .adv-satellite p a, | ||
.mw-body-content .adv-satellite a { | |||
font-size: 10px !important; | font-size: 10px !important; | ||
line-height: 1.05 !important; | line-height: 1.05 !important; | ||
text-decoration: none; | |||
} | } | ||