MediaWiki:Common.css

De wiki.sjm.ovh
Aller à :navigation, rechercher

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).
  • Internet Explorer / Edge : maintenez la touche Ctrl en cliquant sur le bouton Actualiser ou pressez Ctrl + F5.
  • Opera : appuyez sur Ctrl + F5.
/* Le CSS placé ici sera appliqué à tous les habillages. */
body {
    font-family: "Lato", "Open Sans", Arial, sans-serif;
    background-color: #000;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff;
}

h4 {
	margin-left: 0.5rem;
}

h5 {
	margin-left: 1.0rem;
}

a, a.external, a[href].external, a.extiw, a:visited, a.external:visited, .mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited, .toctogglelabel {
    color: #ffc107;
}

a:hover, a[href].new:hover, a.external:hover, a[href].external:hover, a.extiw:hover, .toctogglelabel:hover {
	color: #b98c05;
	text-decoration: none;
}

a[href].new {
    color: #d4600a;
}

.p-navbar.collapsible .navbar-collapse.show, .p-navbar.collapsible .navbar-collapse.collapsing {
    background-color: #222222;
}

.catlinks {
    background-color: transparent;
}

.mw-content-ltr.mw-highlight-lines pre, .mw-content-ltr.content .mw-highlight-lines pre {
    box-shadow: inset 2.75em 0 0 #222222;
}

.mw-highlight pre {
    margin-left: 2em;
    color: #eeeeee;
    background-color: #111111;
    border: 1px solid #ffc107;
}

code, .mw-code {
    color: #eeeeee;
    background-color: #000000;
    border: 1px solid #222222;
}

.toc, .toccolours {
    background-color: transparent;
}

.tocnumber {
    color: #cccccc;
}

.wikiEditor-ui-toolbar {
    background-color: #ddd;
}

/**
 * Styling for links generated by [[MediaWiki:Edittools]] in WikimediaUI inspired theme.
 * @source https://www.mediawiki.org/wiki/Extension:CharInsert#Styling
 * @updated 2020-03-17
 */
.mw-charinsert-buttons {
	margin-top: 8px;
	border: 1px solid #c8ccd1;
	padding: 2px 4px 4px;
	font-size: 1.1em;
	text-align: center;
}

.mw-charinsert-buttons a {
	background-color: #f8f9fa !important;
	color: #202122;
	border: thin #36c outset;
	padding: 0 1px 2px;
	font-size: 0.9em;
	font-weight: bold;
	text-decoration: none;
}

.mw-charinsert-buttons a:hover {
	background-color: #fff;
    color: #404244;
}

.mw-charinsert-buttons a:active {
	background-color: #c8ccd1;
	border-style: inset;
}

.client-js .mw-edittools-section {
	display: inline;
}

.client-js .mw-edittools-section input[type="button"] {
	background-color: #f8f9fa;
	color: #202122;
	margin-left: 1px;
    border-radius: 2px;
	padding: 1px 6px;
	font-size: 0.9em;
    /* Apply pointer cursor to all interactive elements. */
    cursor: pointer;
}

.client-js .mw-edittools-section input[type="button"]:hover {
	background-color: #fff;
    color: #404244;
}

.client-js .mw-edittools-section input[type="button"]:active {
	background-color: #c8ccd1;
    color: #000;
}

/* Special pages */
.mw-changeslist-legend, .mw-search-profile-tabs, #mw-searchoptions {
    background-color: rgba(0, 0, 0, 0.1);
}

.search-types .current a {
    color: #ffa500;
}