MediaWiki:Vector.css — WikiHalo Aller au contenu
Bienvenue sur le WikiHalo. Ce wiki peut être amélioré par tous les visiteurs, même sans créer de compte.
Découvrez comment contribuer.

MediaWiki:Vector.css

Le WikiHalo rappelle à ses contributeurs que toute information ajoutée doit être [[Aide:Sources|officielle et vérifiable]]. Les contributions sans sources et les théories sur [[Halo Infinite]] seront rejetées. <noinclude>[[Catégorie:WikiHalo]]</noinclude>
Version datée du 29 décembre 2025 à 12:19 par Erydhil (discussion | contributions) (Page créée avec « Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de l’habillage Vector : @media all and (min-width: 960px) { Ordering of containers in home page : .container-fluid > .row {display: flex; flex-wrap: nowrap;} .container-fluid > .row > .col {flex: 1;} .container-fluid > .row > .col > .row {display: flex;} .container-fluid > .row > .col > .row > .col {flex: 1;} } @media all and (max-width: 959px) { body, html { width... »)
(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.
/* Tout CSS placé ici sera chargé avec les pages accédées par les utilisateurs de l’habillage Vector */

@media all and (min-width: 960px) {
	/* Ordering of containers in home page */
	.container-fluid > .row {display: flex; flex-wrap: nowrap;}
	.container-fluid > .row > .col {flex: 1;}
	.container-fluid > .row > .col > .row {display: flex;}
	.container-fluid > .row > .col > .row > .col {flex: 1;}
}

@media all and (max-width: 959px) {
	body, html {
		width: 100vw !important;
		overflow-x: hidden !important
	}

	.mw-header {
		display: flex !important;
		flex-direction: row !important;
	}

	/* Adjust page sheet width */
	.container {width: 100% !important;}

	/* To avoid x overflow of search input in home page */
	.bodySearch.mw-inputbox-form { overflow: hidden; }
	.bodySearch.mw-inputbox-form .bodySearchWrap .cdx-text-input { width: auto; min-width: auto !important; }

	.embedvideo .embedvideo-wrapper { margin: 0.5em 0 !important; } /* Inefective, overwritten by skin */

	/* For table horizontal scrolling */
	table { display: block; overflow-x: auto; width: auto !important; }
	.tabs-container { overflow-x: auto; }

	/* For summary top left button */
	#vector-page-titlebar-toc .vector-dropdown-label:not(.cdx-button--weight-quiet) {
		transform: translateY(var(--header-height));
	}

	/* Hide user login/create account */
	#p-personal {
		display: none;
	}

	/* navbar right part */
	.vector-header-end a, .vector-header-end label {
		min-width: 32px !important;
		min-height: 32px !important;
	}
}

/* Align navbar items to the right */
.mw-header .vector-header-end { justify-content: end !important; }

/* Avoid images to be shrinked inside tables */
.tabs-container figure img.mw-file-element { max-width: none !important; }

/* resize images in right panel */
.container .col-sm img {width: -webkit-fill-available; height: auto;}

/* Avoid embed videos styling issues */
.embedvideo-privacyNotice__buttons p button {
	appearance: none;
	padding: 0.5rem 1rem;
	border: 0;
	border-radius: 1000px;
	color: #fff;
	font-size: inherit;
	cursor: pointer;
}

/* hide user logged in dropdown */
.vector-user-menu-logged-in {
	display: none;
}

/* For edition toolbar height */
.wikiEditor-ui-top {
	height: fit-content;
}

/* hide user theme preference option */
#skin-client-prefs-skin-theme {
	display: none;
}