« MediaWiki:Citizen.css » : différence entre les versions
De Battlestar Wiki
Contenu supprimé Contenu ajouté
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (64 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
/* Variables */ |
|||
/* La totalité du CSS placé ici s’appliquera aux utilisateurs de l’habillage Citizen. */ |
|||
:root.citizen-feature-custom-width-clientpref-standard { |
|||
| ⚫ | |||
--width-layout: 1280px; |
|||
.mw-body-header, |
|||
| ⚫ | |||
max-width: 1290px; |
|||
| ⚫ | |||
/* Font style for titles */ |
|||
@font-face { |
|||
font-family: Caprica; |
|||
font-style: normal; |
|||
src: url('caprica.ttf') format('truetype'), |
|||
url('caprica.otf') format('opentype'); |
|||
| ⚫ | |||
#content h1, |
|||
#content h2, |
|||
#content h3, |
|||
#content h4, |
|||
#content h5, |
|||
#content h6, |
|||
#content #firstHeading { |
|||
font-family: Caprica; |
|||
color: #ffd700; |
|||
} |
|||
/* Portails */ |
|||
.portail { |
|||
box-sizing: border-box; |
|||
border: 15px solid transparent; |
|||
border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 60 round; |
|||
-webkit-border-image: url('https://media.battlestarwiki.org/w/images/2/20/BSG_Border.png') 60 round; |
|||
background: #1f0b0c; |
|||
background-clip: padding-box; |
|||
padding: 2px; |
|||
vertical-align: top; |
|||
| ⚫ | |||
z-index: -1; |
|||
} |
} |
||
@media screen and (prefers-color-scheme:dark) { |
|||
.mw-body .portail h2 { |
|||
:root.skin-theme-clientpref-os { |
|||
margin: 8px 0; |
|||
--border-color-base: #ffd700; |
|||
--color-surface-0: #0f090b; |
|||
border: 1px solid #ff8c00; |
|||
--color-surface-1: #481919; |
|||
padding: 0.2em 0.4em; |
|||
--color-surface-1: #160807; |
|||
| ⚫ | |||
} |
} |
||
| ⚫ | |||
@media screen { |
|||
.citizen-body table, .mw-body-content table { |
|||
| ⚫ | |||
margin-top: 0; |
|||
padding: var(--space-md) var(--padding-page); |
|||
| ⚫ | |||
| ⚫ | |||
} |
} |
||
/* General colors */ |
|||
Dernière version du 21 août 2025 à 19:40
/* Variables */
:root.citizen-feature-custom-width-clientpref-standard {
--width-layout: 1280px;
}
@media screen and (prefers-color-scheme:dark) {
:root.skin-theme-clientpref-os {
--border-color-base: #ffd700;
--color-surface-0: #0f090b;
--color-surface-1: #481919;
--color-surface-1: #160807;
}
}
/* Footer */
@media screen {
.citizen-footer {
padding: var(--space-md) var(--padding-page);
margin-top: 0;
}
}
/* General colors */
