« 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
 
(53 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 */
--width-layout: 1280px;

.mw-body-header,
.citizen-body {
max-width: 1400px;
}
}
/* 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;
}

#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;
}

.navbox .citizen-body table, .mw-body-content table {
margin-top: 0;
}

.client-js .section-subheading {
display: inherit;
}

/* icônes de tête titre principal */


@media screen and (prefers-color-scheme:dark) {
.mw-indicators {
:root.skin-theme-clientpref-os {
display: inherit;
--border-color-base: #ffd700;
--color-surface-0: #0f090b;
--color-surface-1: #481919;
--color-surface-1: #160807;
}
}
}
/* Footer */


@media screen {
.skin-citizen-dark .mw-indicator {
.citizen-footer {
filter: none;
padding: var(--space-md) var(--padding-page);
vertical-align: middle;
margin-top: 0;
}
}
}
/* 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 */