Aller au contenu

MediaWiki:Vector-2022.css

De Wikidébats, l'encyclopédie des débats et des arguments « pour » et « contre »

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.
/* Enlever la Toolbox */
#p-tb {
	display:none !important;
}

/* Taille des titres */
#firstHeading { font-size: 140% !important; font-weight: bold; padding-bottom: 0; line-height: 110%; }
#bodyContent h2 { font-size: 140% !important; margin-top: 2.25em; margin-bottom: 0.5em; padding-bottom: 0.25em !important; }
#bodyContent h3 { font-size: 120% !important; font-weight:bold !important; margin-top: 2em; margin-bottom: 0.5em; padding-top: 0; }
#bodyContent h4 { font-size: 110% !important; font-weight:bold !important; margin-top: 1.5em; margin-bottom: 0.5em; padding-top: 0; color: inherit; }
#bodyContent h5 { font-size: 104% !important; font-weight:bold !important; margin-top: 1.5em; margin-bottom: 0.5em; padding-top: 0; color: inherit; }
#bodyContent h6 { font-size: 100% !important; font-weight:normal !important; font-style: italic !important;}

.italique {
	font-style: italic;
}
.italique i {
	font-style: normal
}
code {
	background: transparent;
}
pre {
	overflow-x: auto;
}
/* Pour un défilement doux des ancres de liens */
html {
	scroll-behavior: smooth;
}
/* Classe de masquage, remplace display:none. Contenu non affiché mais lisible par les lecteurs d'écrans */
.hidden {
	position: absolute;
	left: 0;
	top: -5000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
caption.hidden {
	position: static;
	text-indent: -5000px;
}
/* Réduction de la hauteur de la ligne pour les balises "sup" et "sub" */
sup,
sub {
	line-height: 1em;
}

/* Pour masquer le bouton "Modifier avec wikicode" alors qu'il correspond à "Modifier avec l'éditeur visuel" */
#ca-ve-edit {
	display: none;
}
.ns-4 #ca-ve-edit {
	display: inherit;
}


/* COMMUN AUX VECTOR */
.mobile-only {
	display: none;
}
.mw-editsection {
	font-size: x-small;
}
/* Pour masquer l'affichage de l'espace de noms lors d'un renommage de page */
#wpNewTitleNs {
	display: none;
}
.mw-widget-complexTitleInputWidget .mw-widget-titleInputWidget {
	max-width: none !important;
}
.movepage-wrapper {
	width: unset !important;
}
.colonnes {
	display: inline-block;
	width: 100%;
	margin-top: 0.5em;
}
.colonne-gauche, .colonne-droite {
	margin-top: 1.5em;
	flex: 1; /* largeur égale */
	display: flex;
	flex-direction: column;
}
.colonnes-3 {
	width: 32%;
	padding: 0 2% 0 0;
}
@media screen and (max-width: 600px) {
		.colonne-gauche {
				width: 100%;
		}
		.colonne-droite {
				width: 100%;
		}
}
.colonnes.inline .colonne-gauche, .colonnes.inline .colonne-droite {
	width: 100%;
}
.colonnes.inline {
	display: inline-block;
}

/* Pour mettre en forme le wikicode */
.CodeMirror {
	font-family: serif;
	font-size: 17px !important;
	line-height: 130% !important;
}

/* * RECHERCHES * */
.mw-search-createlink {
	margin-bottom: 1em !important;
}

/* * TABLEAUX * */

table.wikitable th,
table.wikitable td {
	padding: 0.3em;
}
.wikitable th[scope=row] {
	text-align: left;
}
table.gauche,
table.left {
	float: left;
	margin: 0 1em 1em 0;
}
table.droite,
table.right {
	float: right;
	margin: 0 0 1em 1em;
}
table.centre,
table.center {
	margin: 1em auto;
}
/* Pour les cas où le code de l'article contienne un paramètre align de valeur center */
table.wikitable[align=center] {
	margin: 1em auto;
}

/* * GALERIES DE PHOTOS * */

ul.gallery {
	margin: 2px auto;
	text-align: center;
}
div.gallerytext {
	text-align: left;
	font-size: 89%;
}
.gallery.mw-gallery-traditional {
	margin-top: 0.5em;
}
.thumb.tnone {
	margin: 0.5em 0;
}
h2.sub img {
	vertical-align: sub;
}

/* Pour les modifications récentes, l'historique et la liste de suivi */
.mw-rcfilters-enabled #firstHeading {
	margin-bottom: 1em;
}
.mw-history-compareselectedversions {
	margin: 0.5em 0;
}
#pagehistory li {
	padding: 5px;
}
table.mw-enhanced-rc {
	margin-bottom: 5px;
}
.mw-checkbox-toggle-controls {
	margin: 0.5em 0;
}
#mw-undelete-revision {
	margin-bottom: 1em;
}

/* Pour les messages d'avertissement */
.warningbox {
	margin-top: 1em;
}
.mw-warning {
	margin-top: 1em;
	margin-bottom: 1em;
}
.action-edit #firstHeading, .action-submit #firstHeading, .ns-10 #firstHeading {
	margin-bottom: 0.5em;
}


/*\
* * BANDEAUX
\*/

.bandeau {
	text-align: left;
	margin: 12px 1.5% 12px;
	border-style: solid;
	border-width: 0 0 0 10px;
	padding: 2px 10px;
	font-size: 90%;
	border-color: #77ccff;
}
.bandeau-orange {
	border-color: #ff8822 !important;
}
.bandeau-rouge {
	border-color: #aa0044;
	background-color: #ffcccc;
}
.bandeau-vert {
	border-color: #02a68f;
}
.bandeau table {
	background-color: transparent
}
.bandeau-icone {
	vertical-align: middle;
	text-align: center;
	min-width: 45px;
	padding-right: 10px;
}
.bandeau-titre {
	font-size: 1em;
	line-height: 1.4em;
	margin-bottom: 0.5em;
}
div.bandeau-section {
	position: relative;
	display: block;
	margin: 0.5em;
	font-size: 90%;
	border-style: solid;
	border-width: 1px 0;
	padding: 2px 0 2px 0px;
	text-align: left;
}
div.bandeau-section table {
	margin: -2px 0 -2px 0;
}
.bandeau-avertissement {
	display: inline-flex;
	margin: 0 0 .4em 0;
	font-size: 95%;
	overflow: hidden;
	border-style: solid;
	border-width: 1px 0;
	padding: 1px 0.25em 1px 6px;
	text-align: left;
	font-family: 'Linux Libertine','Georgia','Times',serif;
	border-color: #ff8822;
}
.bandeau- {
	border-color: #ff8822;
	background-color: #fbfbfb;
}
.bandeau-avertissement a {
	display: contents;
}
.bandeau-en-tete {
	margin-top: 0;
}

/* DIVERS À MIEUX ORGANISER */
.page-Wikidébats_Bistro #ca-talk {
	display: none;
}
/* Pour les pages d'utilisateurs */
.entete-utilisateur {
	font-size: x-small;
	margin-top: -1em;
}


/*\
* * PAGES DE DÉBATS ET D'ARGUMENTS
\*/

.ns-0 .contenu-argument-pour, .ns-0 .contenu-argument-contre {
	margin: 0.5em 0 1em -0.75em;
	padding-left: 30px;
}
.ns-3100 .contenu-argument-pour, .ns-3100 .contenu-argument-contre {
	margin: 0 !important;
	padding-left: 30px;
}
.contenu-argument {
	margin-top: 1em;
}
.bouton-ajouter {
	margin-top: 2.75em !important;
}
.aucun-contenu {
	margin: 0.85em 0 0 1em;
	font-size: 90%;
}
.liste-arguments .aucun-contenu {
	margin-top: 2em;
	margin-bottom: -1em;
}
.modifier-section a, .modifier-rubrique a, .modifier-argument a {
	width: 22px;
	height: 22px;
	background-size: 15px 15px;
}
.modifier-section, .modifier-argument, .modifier-rubrique {
	padding-left: 4px;
}

/* POUR LE MENU DÉROULANT "MODIFIER" */
.argument-expandable-title {
	position: relative; /* pour que le positionnement absolu se fasse par rapport à ce conteneur */
}
.modifier-dropdown {
	top: 100%; /* placer le menu sous le bouton "modifier" */
	padding: 4px 5px;
	margin-top: 1px;
	z-index: 1000;
	min-width: 186px;
}
.modifier-dropdown a {
	padding: 6px 10px;
	font-weight: normal;
	font-size: 14px;
}

.pictogramme {
	margin: 0 0.6em 0 0.25em;
}
.aucune-reference {
	margin: 0.25em 0.5em 0 0.5em;
}
blockquote {
	padding-left: 20px;
	padding-right: 8px;
	border-style: solid;
	border-color: #ccc;
	border-width: 0;
	border-left-width: 5px;	
	font-size: 1.15em;
	margin: 1em 0;
}
.masquer-externe a.external.text {
	background: none;
	padding-right: 0;
}
.bouton-ajouter-reference {
	margin-top: 0.25em;
}
.contenu-argument.premier-niveau blockquote:first-child {
	margin-top: -0.5em;
}
.page-detaillee {
	margin: 0.75em 0 1em 0.4em;
	padding: 2px 0.25em 2px 0px;
}
.argument-vide {
	font-size: 90%;
}
.quotes-expandable-button {
	margin-top: 0.25em;
	font-size: 95%;
}
.more-content-button {
	margin-top: 0.5em;
}
.question-FAQ {
	line-height: 1.2em;
	margin: 0 0 1.5em 1em;
}
ul.liste-arguments {
	list-style: none;
	margin: -1em 0 0 0;
}
.liste-arguments .argument-expandable-title {
	margin-top: 2em;
	font-weight: bold;
	color: inherit;
	cursor: pointer;
	display: inline-block;
	scroll-margin-top: calc(var(--vector-sticky-header-height, 0px) + 12px);
}
.liste-arguments .argument-expandable-title.level-1 {
	font-size: 120%;
}
.liste-arguments .argument-expandable-title.level-sup {
	font-size: 100%;
}
.argument-expandable-title::before {
	opacity: 0.95;
}
.argument-content-wrapper {
	margin: 0 18px;
}
.aucun-argument {
	margin: 2.25em 0.25em 0 1em;
	font-size: 90%;
}
.ns-3100 .aucun-argument {
	margin-bottom: 1.5em;
}
.ns-3100 .argument-content-wrapper {
	margin-top: 1em !important;
}
.NavFramex {
	padding: 0.25em 0.75em 0.65em 0.75em;
	flex: 1;
	display: flex;
	flex-direction: column;
}
.NavHead {
	font-size: 101%;
	padding-bottom: 0.25em;
}
.NavContent {
	flex: 1;
}
.resume .thumb.tright {
	float: none;
	margin: 0.5em 0;
}
.contenu-references {
	margin: 1em 0 0 1.5em;
}
div.floatleft {
	margin-bottom: 0;
}

/* FIL D'ARIANE animé comme le sticky header */
#fil-ariane {
	position: sticky;
	top: var(--vector-sticky-header-height, 0px);
	z-index: 100;
	padding: 1em 2em 1em 19px;
	box-shadow: 0 5px 6px 0 rgba(32,33,36,0.28);
	background: var(--background-color-base,#fff);
	box-sizing: border-box;
	transition: opacity 100ms ease-out;
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	pointer-events: none;
	visibility: hidden;
	border: 1px solid var(--border-color-subtle);
}

#fil-ariane.is-visible {
	opacity: 1;
	max-height: 240px;
	pointer-events: auto;
	visibility: visible;
}

#fil-ariane.is-hidden {
	opacity: 0;
	max-height: 0;
	pointer-events: none;
	visibility: hidden;
}

#fil-ariane.no-anim { transition: none !important; }

@media (prefers-reduced-motion: reduce) {
	#fil-ariane { transition: none !important; }
}


.vector-sticky-header-context-bar-primary {
	font-family: inherit;
	font-size: 140%;
}
#supprimer-ariane {
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;
}
.lien-ariane {
	cursor: pointer;
	color: var(--color-progressive,#36c);
}
.lien-ariane:hover {
	text-decoration: underline;
}
.titre-ariane a {
	color: var(--color-emphasized,#101418);
}
.titre-argument-carte {
	margin-top: 0.1em;
	cursor: pointer;
	text-indent: 19px;
	font-size: 95%;
}
.titre-argument-carte:hover {
	text-decoration: underline;	
}

/* INFOBULLES SÉMANTIQUES */
.hover-content-wrapper {
	position: absolute;
	padding: .25em .5em .25em .75em;
	text-align: initial;
	word-break: break-word;
	overflow-y: auto;
	border: 1px solid;
	border-radius: calc(.3em - 1px);
	display: none;
	z-index: 2;
	overflow: visible;
	font-style: normal;
	font-size: 90%;
	box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.3);
}
.hover-content-wrapper.show {
	display: flex;
}
li .hover-content-wrapper {
	margin-left: -1em;
}
.bandeau-section .hover-content-wrapper {
	right: 0;
}
.hover-top {
	bottom: 100%;
}
.popup-placeholder {
	position: absolute;
	top: 100%;
	right: 0;
	width: max-content;
	max-width: 43vw;
	padding: .5em .8em;
	text-align: initial;
	word-break: break-word;
	overflow-y: auto;
	border: 1px solid #ebebeb;
	border-radius: calc(0.25em);
	-webkit-box-shadow: 0 0 10px 4px rgba(0,0,0,0.27);
	box-shadow: 0 0 10px 4px rgba(0,0,0,0.27);
	display: none;
	z-index: 2;
	overflow: visible;
	font-style: normal;
	font-size: 100%;
}
.popup-placeholder.show {
	display: flex;
}

/* Pour le formulaire "Nouveau titre d'argument" */
div.pfPageNameWithoutNamespace {
	width: 700px;
}
/* Pour les portails de recherche */
.barre-arborescence {
	line-height: 1.2em;
	margin-bottom: 1em;
	width: auto;
}
/* Pour les sections déroulantes */
.fr-collapsible {
	margin: 2em 0;
}
.fr-collapsible .fr-collapsible-content {
	margin: 0 1.5em;
}
.encadre-section-deroulante {
	padding: 5px 10px;
}

/*\
* * AUTOÉVALUATIONS
\*/

.oo-ui-widget.oo-ui-widget-enabled.oo-ui-inputWidget.oo-ui-buttonElement.oo-ui-buttonElement-framed.oo-ui-iconElement.oo-ui-labelElement.oo-ui-flaggedElement-progressive.oo-ui-buttonInputWidget {
	margin-bottom: 0.25em;
}
/* Pour afficher la colonne des points sans retour à la ligne */
.ns-3100 .autoevaluation td:nth-child(2) {
	min-width: 315px;
}
/* Pour l'affichage des résultats d'un camembert au format jqplotchart */
.jqplot-target {
	color: #000;
}
.jqplot-data-label::after {
	content: " %";
}
.ns-3100 ul.autoevaluation {
	list-style: none;
	margin-left: 0;
}


/*\
* * PAGES D'AIDE
\*/

.aa-en-tete-aide-largeur {
	margin-left: 10px;
}
.aa-en-tete-aide-droite {
	float: right;
	margin: 6px;
}
.aa-en-tete-aide-ariane {
	margin-left: 10px;
}


/* POUR MEDIAWIKI 1.43 */
.mw-logo-wordmark {
	width: 9em !important;
	height: unset !important;
}

/* Pour l'étoile pour suivre une page */
.vector-menu-tabs .mw-list-item .cdx-button--icon-only {
	margin-top: 5px !important;
}
/* Pour #contentSub */
.mw-body-header.vector-page-titlebar {
	flex-wrap: wrap !important;
}
.mw-body-header.vector-page-titlebar::after {
	content: "";
	display: block;
	/* height: var(--subspace, 0px); */
}
.mw-body-header.vector-page-titlebar #firstHeading { order: 2; margin-right: auto; }
.mw-body-header.vector-page-titlebar #contentSub   { order: 3; flex: 0 0 100%; margin: 0 0 0 0; }
.mw-body-header.vector-page-titlebar .vector-toc-landmark { order: 1; }
.mw-body-header.vector-page-titlebar #p-lang-btn {
	order: 2;
}
#contentSub {
	display: block;
}
/* Pour aligner le bouton "Modifier les sujets" avec "Arguments pour et contre" */
#contentSub {
	align-items: center;
}
#mw-content-subtitle:not(:empty) {
	font-size: 90%;
}
#contentSub2 {
	display: none;
}

/* Pour les messages d'avertissement */
.cdx-message--block {
	margin: 1em 0 !important;
}
@media screen {
	:root {
		--border-color-base: #e7e7e7;
		--border-color-subtle: #e7e7e7;
	}
}

.vector-main-menu-action-opt-out {
	display: none;
}

/* Pour l'étoile pour suivre une page */
.vector-menu-tabs .mw-list-item .cdx-button--icon-only {
	margin: 7px 0 0;
}
/* Pour le sommaire latéral */
#mw-panel-toc {
	background-color: #f8f9fa;
	margin-top: 2em;
}
#mw-panel-toc-list {
	font-size: 95%;
}
#mw-panel-toc-list .vector-toc-level-2 .vector-toc-text {
	font-size: 95%;
	padding: 3px;
}
.ns-0 #mw-panel-toc-list .vector-toc-level-2, .ns-0 #mw-panel-toc-list .vector-icon {
	display: none;
}
.sidebar-toc-title {
	font-size: 100% !important;
}
.vector-toc-collapse-button, .vector-toc-uncollapse-button {
	font-size: 70% !important;
}
.sidebar-toc-contents {
	font-size: 100% !important;
}
.sidebar-toc-level-2 {
	font-size: 0.875em !important;
}
.vector-toc-not-collapsed .sidebar-toc::after {
	background: none !important;
}
#mw-panel-toc .cdx-button.cdx-button--weight-quiet.cdx-button--icon-only.vector-toc-toggle {
	margin-top: 2px;
}
#mw-panel-toc .vector-pinnable-header-toggle-button.vector-pinnable-header-unpin-button {
	display: none !important;
}
#vector-toc-pinned-container {
	padding: 0.5em;
}
.vector-column-start .vector-sticky-pinned-container::after {
	background: none;
}
#vector-toc .vector-toc-text span span {
	display: none;
}
/* Pour l'en-tête */
.vector-body-before-content {
	display: none;
}

/* Pour le menu Outils */
#vector-page-tools-unpinned-container .vector-pinnable-header-toggle-button.vector-pinnable-header-pin-button, #p-cactions .vector-menu-heading, #vector-page-tools .vector-pinnable-header {
	display: none;
}
#vector-page-tools-dropdown .vector-dropdown-content {
	padding: 6px 16px;
}
.mw-special-RunQuery #vector-page-tools-dropdown {
	display: none;
}
.mw-special-FormEdit .vector-page-tools-landmark {
	display: none;
}

/* Pour le menu Langues */
#p-lang-btn .interlanguage-link.mw-list-item {
	list-style: none;
}
#p-lang-btn .vector-menu-content-list {
	margin-left: 0;
	justify-content: center;
	display: grid;
}
#p-lang-btn .vector-dropdown-content {
	padding: 0;
	width: 100%;
}
#vector-user-links-dropdown .vector-dropdown-content {
	border: 1px solid var(--border-color-subtle, #a2a9b1) !important;
}
#p-lang-btn .vector-menu-content {
	padding: 1em;
}
#bouton-modifier-interlangue.modifier-rubrique a {
	background-size: 11px 11px;
	padding-left: 0;
}
.modifier-langues {
	padding: 8px 12px;
	cursor: pointer;
	background-color: var(--background-color-neutral-subtle,#f8f9fa);
	border: 1px solid var(--border-color-subtle,#c8ccd1);
}
.modifier-langues a {
	padding-left: 30px;
	font-size: 110%;
	font-weight: bold;
	color: var(--color-emphasized, #101418) !important;
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}
.modifier-langues a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: 16px;
	height: 16px;
	background: url("/w/images/fr/b/ba/Modifier.svg") no-repeat center/contain;
	filter: invert(1) hue-rotate(180deg);
}

/* Pour mettre un fond gris */
.mw-body-header.vector-page-titlebar, .vector-page-toolbar, #bodyContent {
	background-color: var(--background-color-base);
}
.mw-body-header.vector-page-titlebar {
	padding: 1.5em 2em 0 2em;
}
.vector-page-toolbar {
	padding: 0 2em;
}
#bodyContent {
	padding: 0 3em 3em 3em;
}
.mw-page-container {
	background-color: var(--background-color-neutral-subtle);
}
.vector-page-titlebar::after {
	display: none !important;
}

/* Pour le menu Apparence */
#vector-appearance-dropdown .vector-pinnable-header-toggle-button.vector-pinnable-header-pin-button, #skin-theme-beta-notice {
	display: none !important;
}
#vector-appearance-dropdown .vector-dropdown-content {
	min-width: 9em;
}

/* Dans les préférences */
#mw-indicator-mw-helplink {
	display: none;
}

/* Masquage de l'indicateur de chargement sémantique à gauche du titre */
#mw-indicator-smw-entity-examiner {
	display: none;
}
/* Supprime le sommaire raté dans les formulaires */
.action-formedit #toc {
	display: none;
}
.action-formedit #mw-content-subtitle {
	display: none;
}
#pfForm .createboxInput {
	min-width: 500px;
	max-width: 583px !important;
}
#pfForm select {
	max-width: 600px !important;
}


/*\
* * REFERENCE TOOLTIPS
\*/
/* See [[mw:Reference Tooltips]] */

/* Infobulle interactive pour références — minimal (au clic) */
.wk-ref-tooltip {
	position: absolute;
	z-index: 2000;
	max-width: 36rem;
	max-height: 60vh;
	overflow: auto;
	background: var(--background-color-base, #fff);;
	font-size: 0.875rem;
	line-height: 1.5;
	border: 1px solid var(--border-color-subtle, #a2a9b1);
	border-radius: 4px;
	box-shadow: 0 8px 30px rgba(0,0,0,.2);
	padding: 10px 12px;
}
.wk-ref-tooltip a {
	text-decoration: underline;
}
/* Masquer la liste de références imprimée par MediaWiki */
.mw-references-wrap {
	display: none;
}


/* Pour l'extension Comments */
#allcomments {
	display: inline-block;
	margin-top: 2em;
}
#comment {
	min-width: 100%;
}
.site-button {
	padding: 0.546875em 1em;
	border: 1px solid;
	font-weight: bold;
}
.c-form-title {
	margin-top: 5px;
}
.c-time {
	margin-top: 0.5em;
}
.c-avatar {
	display: none;
}
.c-container {
	padding: 0px 0px 0px 5px;
	margin: 0px 0px 0px 5px;
}
.c-item {
	padding-bottom: 15px;
}
.full, .c-item.reply, .r-message {
	width: unset;
}
.f-message {
	width: 90%;
}
.c-spy {
	display: none;
}
.c-order-select select {
	padding: 0.5em;
}
.c-order {
	padding-bottom: 0;
}
.reply {
	margin-left: 2em !important;
	width: auto;
}
.r-message {
	width: auto;
}
.c-actions {
	float: none;
}

/*\
* * MODE SOMBRE
\*/
@media (prefers-color-scheme: dark) {
	.skin-theme-clientpref-os #footer-icons,
	.skin-theme-clientpref-os .fr-collapsible-toggle::before,
	.skin-theme-clientpref-os .fr-collapsible-toggle-collapsed::before {
		filter: invert(1) hue-rotate(180deg);
	}
}
.skin-theme-clientpref-night #footer-icons,
.skin-theme-clientpref-night .fr-collapsible-toggle::before,
.skin-theme-clientpref-night .fr-collapsible-toggle-collapsed::before {
	filter: invert(1) hue-rotate(180deg);
}