Jump to content

MediaWiki:Common.css

From Tenebria

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ===== Tenebria — thème sombre (inspiré des bases de données paranormales) ===== */
body {
  background: #0a0e14;
  color: #d7e0ea;
}
.mw-page-container, .mw-content-container {
  background: transparent;
}
/* Barre du haut et menus */
.vector-header-container, .mw-header {
  background: #0d1420 !important;
  border-bottom: 1px solid #223146;
}
.vector-dropdown-content, .vector-menu-content, .vector-toc {
  background: #111927 !important;
  border-color: #223146 !important;
  color: #d7e0ea;
}
.vector-menu-tabs li, .vector-menu-dropdown .vector-menu-heading {
  background: #0d1420 !important;
}
.vector-menu-tabs li a, .vector-dropdown-label-text, .mw-list-item a {
  color: #9fd8cf !important;
}
.vector-menu-tabs .selected {
  background: #111927 !important;
  box-shadow: inset 0 -2px 0 #2fd8c4;
}
/* Zone de contenu */
#content, .mw-body {
  background: #0d1420;
  border: 1px solid #223146;
  color: #d7e0ea;
}
.mw-body-content {
  line-height: 1.65;
}
/* Titres */
h1, h2, h3, h4, h5, h6,
#firstHeading, .mw-page-title-main {
  font-family: Georgia, "Playfair Display", "Times New Roman", serif !important;
  color: #f2f6fa !important;
}
.mw-parser-output h2 {
  border-bottom: 1px solid #223146;
}
hr { background: #223146; }
/* Liens */
a { color: #3fd8c6; }
a:visited { color: #2aa896; }
a.new, #p-personal a.new { color: #e07a5f; }
a:hover { color: #7fe8da; }
/* Images et vignettes */
.thumbinner, .mw-parser-output .thumb .thumbinner {
  background: #111927 !important;
  border: 1px solid #223146 !important;
}
.thumbcaption, .gallerytext { color: #93a5b8 !important; }
figure[typeof~="mw:File/Thumb"], figure[typeof~="mw:File"] {
  background: #111927;
  border-color: #223146;
}
figure[typeof~="mw:File/Thumb"] > figcaption { color: #93a5b8; background: #111927; }
/* Boîtes, sommaire, catégories */
#toc, .toc, .catlinks, .mw-parser-output .infobox, .navbox {
  background: #111927 !important;
  border: 1px solid #223146 !important;
  color: #d7e0ea !important;
}
#toc .toctitle h2 { border: none; }
.catlinks { padding: 8px 12px; }
/* Tableaux */
table.wikitable {
  background: #111927;
  color: #d7e0ea;
  border-color: #223146;
}
table.wikitable th { background: #0a0e14; color: #f2f6fa; border-color: #223146; }
table.wikitable td { border-color: #223146; }
/* Formulaires et recherche */
input, textarea, select,
input[type="search"], .mw-ui-input, #searchInput {
  background: #0a0e14 !important;
  color: #e8eef4 !important;
  border: 1px solid #2a3a4f !important;
}
.mw-ui-button, .oo-ui-buttonElement-button {
  border-color: #2a3a4f;
}
/* Divers */
pre, code, .mw-code {
  background: #0a0e14 !important;
  color: #c9e7e0 !important;
  border-color: #223146 !important;
}
#footer { color: #93a5b8; border-top: 1px solid #223146; }
#footer a { color: #9fd8cf; }
.mw-footer li { color: #93a5b8; }
::selection { background: #1a8a7d; color: #ffffff; }
.mw-parser-output .mw-collapsible th { background: #0a0e14; }
div.floatright, div.floatleft { border-color: #223146; }