Aller au contenu

MediaWiki:Gadget-Tables.css

De Wiki Undertale FR

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.
.wikitable {
	background-color: var(--background-color-base);
	border: 0;
	box-sizing: border-box;
	display: block;
	overflow-x: auto;
	width: 100%;
	word-break: normal;
}

.wikitable td {
	background-color: var(--background-color-neutral-subtle);
	vertical-align: top;
}

.wikitable tr:target td {
	background-color: var(--background-color-progressive-subtle);
}

.wikitable ul {
	list-style-type: none;
	margin: 0;
}

.wikitable li {
	margin: 0;
}

.mw-body .wikitable p {
	margin: 0;
}

table.wikitable > tr > th,
table.wikitable > * > tr > th {
	background-color: var(--background-color-progressive);
	color: var(--color-inverted-fixed);
	text-align: left;
}

.wikitable td.nowrap, .wikitable th.nowrap {
	white-space: nowrap;
}

@media screen and (max-width: 720px) {
	.wikitable td:not(.nowrap), .wikitable th:not(.nowrap) {
	    max-width: 200px;
	}
}