MediaWiki:Vector-2022.css
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%; font-weight: bold; padding-bottom: 0; margin-bottom: 0.25em; line-height: 110%; }
.mw-body h2 { font-size: 140%; margin-top: 2.5em; margin-bottom: 0.5em; padding: 0 0 0.25em; line-height: 1.35; }
.mw-body h3 { font-size: 120%; font-weight:bold; margin-top: 2em; margin-bottom: 0.5em; padding-top: 0; }
.mw-body h4 { font-size: 110%; font-weight:bold; margin-top: 1.5em; margin-bottom: 0.5em; padding-top: 0; color: inherit; }
.mw-body h5 { font-size: 104%; font-weight:bold; margin-top: 1.5em; margin-bottom: 0.5em; padding-top: 0; color: inherit; }
.mw-body h6 { font-size: 100%; font-weight:normal; font-style: italic;}
.mw-body p {
margin: 0.5em 0;
}
.italique {
font-style: italic;
}
.italique i {
font-style: normal
}
.mw-body p + ul, .mw-body p + ol, .mw-body p + table, .mw-body p + dl, .mw-body p + blockquote {
margin-top: -0.3em;
}
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;
}
.mw-editform #editpage-copywarn {
margin: 1em 0;
}
.mw-summary-preview {
margin-bottom: 1em;
}
/* 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;
}
/* 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 */
.mw-warning {
margin-top: 1em;
margin-bottom: 1em;
}
.action-edit #firstHeading, .action-submit #firstHeading, .ns-10 #firstHeading {
margin-bottom: 0.5em;
}
/*\
* * BANDEAUX
\*/
.bandeau {
margin: 12px 1.5% 12px;
border-style: solid;
border-width: 0 0 0 10px;
padding: 7px 0;
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;
align-items: center;
font-size: 90%;
overflow: hidden;
margin-left: 0.5em;
}
blockquote .bandeau-avertissement:first-of-type {
margin-left: 0;
}
li .bandeau-avertissement {
margin-bottom: 0;
}
.bandeau- {
border-color: #ff8822;
background-color: #fbfbfb;
}
.bandeau-avertissement a {
display: contents;
}
.bandeau-en-tete {
margin-top: 0;
--wd-arg-icon-gap: 0.45em;
}
/* 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
\*/
.argument-title--map:hover {
text-decoration: underline;
}
.aucun-contenu, .aucun-argument {
margin: 0.85em 0 1.5em 1em;
font-size: 90%;
}
.argument-list {
margin-bottom: 2em !important;
}
.bouton-modifier a {
width: 22px;
height: 22px;
background-size: 15px 15px;
}
.aucune-reference {
margin: 0.25em 0.5em 0 0.5em;
}
blockquote {
padding: 3px 8px 8px 32px !important;
border-style: solid;
border-color: #ccc;
border-width: 0;
border-left-width: 5px;
font-size: 1.15em;
margin: 1em 0;
}
.bouton-ajouter-reference {
margin-top: 0.25em;
}
.page-detaillee {
margin: 0.75em 0 1em 0.4em;
padding: 2px 0.25em 2px 0px;
}
.argument-vide {
font-size: 90%;
}
.more-content-button {
margin-top: 0.5em;
}
.question-FAQ {
line-height: 1.2em;
margin: 0 0 1.5em 1em;
}
ul.argument-list {
list-style: none;
margin: -0.5em 0 0 0;
}
.argument {
margin-top: 2.5em;
}
.argument-title {
font-size: 115%;
--wd-arg-icon-left: 1em;
}
.resume .thumb.tright {
float: none;
margin: 0.5em 0;
}
.contenu-references {
margin: 1em 0 0 1.5em;
}
div.floatleft {
margin-bottom: 0;
}
.vector-sticky-header-context-bar-primary {
font-family: inherit;
font-size: 140%;
}
/* INFOBULLES SÉMANTIQUES */
.hover-wrapper {
position: absolute;
margin: 0.5em 0 0.25em 0;
padding: 0.5em 1em;
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: 95%;
box-shadow: 0 15px 45px -10px rgba(0, 0, 0, 0.3);
}
.hover-wrapper.show {
display: flex;
}
li .hover-wrapper {
margin-left: -1em;
}
.bandeau-section .hover-wrapper {
right: 0;
}
.hover-top .hover-wrapper {
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 calc(var(--wd-carret-size) + var(--wd-carret-gap));
}
.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 #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%;
display: inline;
}
.mw-redirectedfrom {
display: block;
}
#contentSub2 {
display: none;
}
/* Pour les messages d'avertissement */
.cdx-message--block {
margin: 1em 0 !important;
}
/* Pour le menu principal */
.vector-main-menu-action-opt-out {
display: none;
}
#vector-main-menu .mw-list-item a {
padding: 4px 0;
}
#vector-main-menu {
font-size: 0.85rem;
}
#vector-main-menu .vector-pinnable-header-toggle-button.vector-pinnable-header-pin-button {
font-size: 75%;
}
.vector-column-start .vector-main-menu-container {
margin-left: 0;
}
.vector-pinned-container {
padding: 0.5em 1em;
}
/* 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-level-1-active {
font-weight: bold;
}
.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;
}
#mw-panel-toc .mw-ui-icon-wikimedia-expand {
mask-size: 10px;
margin-left: 6px;
}
/* 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;
margin-top: 2px;
}
#vector-page-tools-dropdown-label {
padding-left: 0.5em;
padding-right: 0.5em;
}
.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.bouton-modifier 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);
margin-top: -1px;
}
.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 .wk-icon-edit {
--wd-icon-width: 16px;
--wd-icon-height: 16px;
}
/* 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;
}
/*\
* * 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 {
margin-top: 1em;
}
#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-select {
float: none !important;
}
.c-order {
padding-bottom: 0;
}
.reply {
margin-left: 2em !important;
width: auto;
}
.r-message {
width: auto;
}
.c-actions {
float: none;
}
/*\
* * MODE SOMBRE
\*/
.skin-theme-clientpref-night #footer-poweredbyico img,
.skin-theme-clientpref-night #footer-poweredbysmwico img {
filter: invert(1) hue-rotate(180deg);
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os #footer-poweredbyico img,
.skin-theme-clientpref-os #footer-poweredbysmwico img {
filter: invert(1) hue-rotate(180deg);
}
}
.skin-theme-clientpref-night #footer-icons a {
background-color: transparent;
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os #footer-icons a {
background-color: transparent;
}
}
/* Pour la barre de recherche en haut */
.skin-theme-clientpref-night #searchform .cdx-text-input__input:enabled,
.skin-theme-clientpref-night #searchform .cdx-button:enabled {
border-color: #72777d;
}
.skin-theme-clientpref-night #searchform .cdx-text-input__input:enabled ~ .cdx-text-input__icon-vue {
color: #72777d;
}
.skin-theme-clientpref-night #vector-page-tools-dropdown .vector-dropdown-content {
border: 1px solid var(--border-color-subtle);
}
.skin-theme-clientpref-night #p-lang-btn .vector-menu-content {
border: 1px solid var(--border-color-subtle,#c8ccd1);
}
@media (prefers-color-scheme: dark) {
.skin-theme-clientpref-os #searchform .cdx-text-input__input:enabled,
.skin-theme-clientpref-os #searchform .cdx-button:enabled {
border-color: #72777d;
}
.skin-theme-clientpref-os #searchform .cdx-text-input__input:enabled ~ .cdx-text-input__icon-vue {
color: #72777d;
}
.skin-theme-clientpref-os #vector-page-tools-dropdown .vector-dropdown-content {
border: 1px solid var(--border-color-subtle);
}
.skin-theme-clientpref-os #p-lang-btn .vector-menu-content {
border: 1px solid var(--border-color-subtle,#c8ccd1);
}
}
/* Formulaires sémantiques */
#pfForm .inputSpan input.createboxInput {
min-height: 3em !important;
box-sizing: border-box !important;
width: 100% !important;
}
.formtable tr > :first-child {
white-space: nowrap;
padding-right: 1em;
}
#pfForm .pfTokens,
#pfForm .select2-container {
box-sizing: border-box;
width: 100%;
}
/* Pour espacer autour des ":" de la barre de titre */
.mw-page-title-separator {
padding: 0 3px;
}
.logo-accueil {
max-width: 450px;
}
html.vector-feature-limited-width-content-disabled body.page-Main_Page .mw-body {
grid-template-columns: minmax(0px, 59.25rem) min-content;
}
/* Réactiver la barre de titre sur la page d'accueil pour que #p-lang-btn s'y accroche */
body.page-Wikidébats_Accueil .mw-body-header.vector-page-titlebar,
body.page-Main_Page .mw-body-header.vector-page-titlebar {
display: flex !important;
align-items: center;
}
html.wk-hide-vector-sticky .vector-sticky-header {
display: none !important;
}
.argument-title--map {
padding-left: calc(var(--wd-arg-icon-gap) + var(--wd-arg-icon-size));
}
h2.wk-icon-before {
padding-left: calc(var(--wd-icon-gap) + var(--wd-icon-size)) !important;
--wd-icon-gap: 0.5em;
}
/* =========================
Masquage chrome Vector
========================= */
html.wk-reading-active .mw-body-header.vector-page-titlebar,
html.wk-reading-active .vector-page-toolbar,
html.wk-reading-active .vector-column-end,
html.wk-reading-active .vector-header-container,
html.wk-reading-active #mw-panel-toc {
display: none !important;
}
.wk-reading-h1__actions {
display: flex;
position: static;
}
.wk-h1-btn.wk-icon-more {
width: 1.5em;
}
.wk-reading-close {
position: fixed;
width: 40px;
height: 40px;
top: 18px;
right: 16px;
z-index: 100000;
display: inline-flex;
align-items: center;
justify-content: center;
background: transparent;
border: 0;
cursor: pointer;
opacity: 0.8;
transition: opacity 120ms ease;
}
.wk-reading-close svg {
width: 14px;
height: 14px;
}
.wk-reading-close svg path {
stroke: currentColor;
stroke-width: 1.25;
fill: none;
stroke-linecap: round;
}
#wk-reading-close:hover {
opacity: 1;
}
#wk-reading-close:focus-visible {
outline: 2px solid currentColor;
outline-offset: 2px;
}
.hover-wikipedia a[title],
.hover-map a[title] {
pointer-events: auto;
}
.hover-wikipedia a[title]::after,
.hover-map a[title]::after {
content: none !important;
}