« MediaWiki:Citizen.css » : différence entre les versions
De Battlestar Wiki
Aucun résumé des modifications |
Aucun résumé des modifications Balise : Révocation manuelle |
||
(24 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 6 : | Ligne 6 : | ||
:root { | :root { | ||
--border-color-base: #160807; | |||
--color-surface-0: #cbb57e; | --color-surface-0: #cbb57e; | ||
--color-surface-1: #cbb57e; | --color-surface-1: #cbb57e; | ||
Ligne 11 : | Ligne 12 : | ||
--color-surface-3: #cbb57e; | --color-surface-3: #cbb57e; | ||
--color-surface-3: #cbb57e; | --color-surface-3: #cbb57e; | ||
--color-primary__h: | --color-primary__h: 230; | ||
--color-base--emphasized: #160807; | |||
} | } | ||
:root.skin-citizen-dark { | :root.skin-citizen-dark { | ||
--background-color-framed: #160807; | |||
--background-color-icon: #ffdd00; | |||
--border-color-base: #ffdd00; | |||
--border-color-base--lighter: #ff9900; | |||
--color-surface-0: #471919; | --color-surface-0: #471919; | ||
--color-surface-1: #471919; | --color-surface-1: #471919; | ||
Ligne 20 : | Ligne 26 : | ||
--color-surface-3: #471919; | --color-surface-3: #471919; | ||
--color-surface-4: #471919; | --color-surface-4: #471919; | ||
--color-primary__h: 45; | --color-primary__h: 45; | ||
--color-base--emphasized: #ffd700; | |||
} | } | ||
/* width */ | /* width */ | ||
Ligne 27 : | Ligne 33 : | ||
.mw-body-header, | .mw-body-header, | ||
.citizen-body { | .citizen-body { | ||
max-width: | max-width: 1280px; | ||
} | } | ||
/* Font style for titles */ | /* Font style for titles */ | ||
Ligne 46 : | Ligne 52 : | ||
#content #firstHeading { | #content #firstHeading { | ||
font-family: Caprica; | font-family: Caprica; | ||
} | } | ||
Ligne 74 : | Ligne 79 : | ||
border: 1px solid #ff8c00; | border: 1px solid #ff8c00; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
color: #ffd700; | |||
} | } | ||
.mw-body .portail h3 { | |||
color: #ffd700; | |||
} | |||
.navbox .citizen-body table, .mw-body-content table { | .navbox .citizen-body table, .mw-body-content table { | ||
margin-top: 0; | margin-top: 0; | ||
Ligne 93 : | Ligne 102 : | ||
filter: none; | filter: none; | ||
vertical-align: middle; | vertical-align: middle; | ||
} | |||
.skin-citizen ul.gallery { | |||
justify-content: flex-start; | |||
} | |||
.skin-citizen-dark .ext-replacetext-searchoptions { | |||
background-color: #160807; | |||
} | |||
/* Footer */ | |||
.mw-footer { | |||
background: #160807; | |||
} | |||
#mw-drawer-header { | |||
background: var(--background-color-framed); | |||
} | |||
.thumb .thumbinner a.new { | |||
display: inline; | |||
padding: inherit; | |||
background-color: transparent; | |||
} | |||
.citizen-body a.image, .mw-body-content a.image { | |||
display: inline; | |||
} | |||
a.image > img { | |||
transition: transform 250ms cubic-bezier(0.215,0.61,0.355,1); | |||
clip-path: polygon(0 10.00px,10.00px 0,calc(100% - 8px) 0,100% 10.00px,100% calc(100% - 10.00px),calc(100% - 10.00px) 100%,10.00px 100%,0 calc(100% - 10.00px)); | |||
} | } |
Dernière version du 20 mars 2023 à 15:55
/* La totalité du CSS placé ici s’appliquera aux utilisateurs de l’habillage Citizen. */
html {
--width-layout: 1600px;
}
:root {
--border-color-base: #160807;
--color-surface-0: #cbb57e;
--color-surface-1: #cbb57e;
--color-surface-2: #cbb57e;
--color-surface-3: #cbb57e;
--color-surface-3: #cbb57e;
--color-primary__h: 230;
--color-base--emphasized: #160807;
}
:root.skin-citizen-dark {
--background-color-framed: #160807;
--background-color-icon: #ffdd00;
--border-color-base: #ffdd00;
--border-color-base--lighter: #ff9900;
--color-surface-0: #471919;
--color-surface-1: #471919;
--color-surface-2: #471919;
--color-surface-3: #471919;
--color-surface-4: #471919;
--color-primary__h: 45;
--color-base--emphasized: #ffd700;
}
/* width */
.mw-body-header,
.citizen-body {
max-width: 1280px;
}
/* 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;
}
#content h1,
#content h2 {
font-variant: small-caps;
}
/* 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;
margin: 0;
z-index: -1;
}
.mw-body .portail h2 {
margin: 8px 0;
background-color: #471919;
border: 1px solid #ff8c00;
padding: 0.2em 0.4em;
color: #ffd700;
}
.mw-body .portail h3 {
color: #ffd700;
}
.navbox .citizen-body table, .mw-body-content table {
margin-top: 0;
}
.client-js .section-subheading {
display: inherit;
}
/* icônes de tête titre principal */
.mw-indicators {
display: inherit;
}
.skin-citizen-dark .mw-indicator {
filter: none;
vertical-align: middle;
}
.skin-citizen ul.gallery {
justify-content: flex-start;
}
.skin-citizen-dark .ext-replacetext-searchoptions {
background-color: #160807;
}
/* Footer */
.mw-footer {
background: #160807;
}
#mw-drawer-header {
background: var(--background-color-framed);
}
.thumb .thumbinner a.new {
display: inline;
padding: inherit;
background-color: transparent;
}
.citizen-body a.image, .mw-body-content a.image {
display: inline;
}
a.image > img {
transition: transform 250ms cubic-bezier(0.215,0.61,0.355,1);
clip-path: polygon(0 10.00px,10.00px 0,calc(100% - 8px) 0,100% 10.00px,100% calc(100% - 10.00px),calc(100% - 10.00px) 100%,10.00px 100%,0 calc(100% - 10.00px));
}