Basculer le menu
Changer de menu des préférences
Basculer le menu personnel
Non connecté(e)
Votre adresse IP sera visible au public si vous faites des modifications.

MediaWiki:Common.css

Page de l’interface de MediaWiki
Version datée du 11 juin 2026 à 16:42 par WikiThionvilleSyncBot (discussion | contributions) (Sync homepage from repository (commit b06f0a0))
(diff) ← Version précédente | Version actuelle (diff) | Version suivante → (diff)

Note : après avoir publié vos modifications, il se peut que vous deviez forcer le rechargement complet du cache de votre navigateur pour voir les changements.

  • Firefox / Safari : maintenez la touche Maj (Shift) en cliquant sur le bouton Actualiser ou appuyez sur Ctrl + F5 ou Ctrl + R (⌘ + R sur un Mac).
  • Google Chrome : appuyez sur Ctrl + Maj + R (⌘ + Shift + R sur un Mac).
  •  Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
/* BEGIN wikithionville-homepage */
html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body.page-Accueil {
	--home-accent: #f15234;
	--home-accent-2: #edaa7d;
	--home-bg: var(--color-surface-0);
	--home-text: var(--color-base);
	--home-text-strong: var(--color-emphasized);
	--home-muted: var(--color-subtle);
	--home-card-bg: var(--color-surface-2);
	--home-card-bg-glass: color-mix(in srgb, var(--color-surface-2) 82%, transparent);
	--home-card-text: var(--color-emphasized);
	--home-card-frame: var(--border-color-base);
	--home-border-muted: var(--border-color-subtle);
	--home-surface-tint: color-mix(in srgb, var(--home-accent) 7%, var(--color-surface-0));
	--home-card-tint: color-mix(in srgb, var(--home-accent) 10%, transparent);
	--home-hero-bg: var(--color-surface-3);
	--home-hero-text: var(--color-inverted-fixed);
	--home-hero-muted: color-mix(in srgb, var(--color-inverted-fixed) 78%, transparent);
	--home-hero-surface: rgb(33 38 48 / 82%);
	--home-hero-border: rgb(142 26 2 / 60%);
	--home-hero-shadow: rgb(0 0 0 / 10%);
	--home-hero-title-shadow: 2px 2px 50px rgb(17 17 17);
	--home-image-dark-source-filter: none;
	--home-image-light-source-filter: var(--filter-invert-fixed);
	--home-image-brand-filter: none;

	background: var(--home-bg);
}

html.skin-theme-clientpref-night body.page-Accueil {
	--home-bg: var(--color-surface-2);
	--home-card-bg: var(--color-surface-3);
	--home-card-bg-glass: color-mix(in srgb, var(--color-surface-3) 82%, transparent);
	--home-surface-tint: color-mix(in srgb, var(--home-accent) 7%, var(--color-surface-2));
	--home-card-tint: color-mix(in srgb, var(--home-accent) 10%, transparent);
	--home-image-dark-source-filter: var(--filter-invert-fixed);
	--home-image-light-source-filter: none;
}

@media (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os body.page-Accueil {
		--home-bg: var(--color-surface-2);
		--home-card-bg: var(--color-surface-3);
		--home-card-bg-glass: color-mix(in srgb, var(--color-surface-3) 82%, transparent);
		--home-surface-tint: color-mix(in srgb, var(--home-accent) 7%, var(--color-surface-2));
		--home-card-tint: color-mix(in srgb, var(--home-accent) 10%, transparent);
		--home-image-dark-source-filter: var(--filter-invert-fixed);
		--home-image-light-source-filter: none;
	}
}

body.page-Accueil .citizen-body-container {
	display: block;
	margin: 0!important;
	padding: 0;
}

body.page-Accueil .mw-body,
body.page-Accueil .mw-body-content,
body.page-Accueil .mw-parser-output {
	width: 100%;
	max-width: none;
	margin: 0!important;
	padding: 0;
}

body.page-Accueil .mw-body-header,
body.page-Accueil .mw-body-footer,
body.page-Accueil #citizen-body-header-sticky-sentinel,
body.page-Accueil #contentSub,
body.page-Accueil #contentSub2 {
	display: none;
}

body.page-Accueil .citizen-page-footer {
	display: none;
}

body.page-Accueil .citizen-footer {
	margin-top: 0;
}

.home-page h1:not(.home-section--plain-heading *),
.home-page .mw-heading1:not(.home-section--plain-heading *),
.home-page .home-card__title:not(.home-section--plain-heading *),
.home-page .home-stat-card__value:not(.home-section--plain-heading *) {
	background: var(--home-accent);
	background: linear-gradient(
		311deg,
		var(--home-accent) 0%,
		var(--home-accent-2) 100%
	);

	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	-moz-background-clip: text;
	-moz-text-fill-color: transparent;
}

.home-page .home-card__text {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-clamp: 3;
}
/* END wikithionville-homepage */