MediaWiki:Timeless.css: Difference between revisions

From AnarchyMU Wiki
No edit summary
Tag: Reverted
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will affect users of the Timeless skin */
/* Timeless sidebar/theme overrides to match the RealMU-style layout */
@import url('https://fonts.googleapis.com/css?family=Merriweather');


html {
:root {
background: rgb(0, 0, 0) !important;
  --amu-bg: #060b16;
height: 100%;
  --amu-panel: #0f1524;
font-size: 1.1em;
  --amu-panel-2: #0a101c;
filter: brightness(100%) contrast(100%) grayscale(0%) !important;
  --amu-border: #22314f;
-webkit-filter: brightness(100%) contrast(100%) grayscale(0%) !important;
  --amu-text: #dbe4f7;
overflow-x: hidden;
  --amu-muted: #95a6c8;
  --amu-link: #e1a34e;
  --amu-link-hover: #ffd08a;
}
}


html,
body {
body {
margin: 0;
  background: var(--amu-bg) !important;
background: #000;
  color: var(--amu-text) !important;
color: #ccccff;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
font-family: 'Merriweather', serif;
}
}


a {
/* Keep the site title in normal flow */
color: #cc6600;
@media screen and (min-width: 851px) {
  #p-logo-text a,
  #p-logo-text a.long {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
  }
}
}


a:hover,
/* Hide text logo and use image logo area only */
a:visited {
#p-logo-text {
color: #cc3300;
  display: none !important;
}
 
h1 {
color: white;
text-shadow: 1px 1px 1px #000;
font-size: 40px !important;
}
}


h1,
#p-logo {
h2,
  min-height: 120px !important;
h3,
  margin: 0 0 12px 0 !important;
h4 {
  border: 1px solid var(--amu-border) !important;
color: #6699ff;
  background: #0b1220 url('/index.php/Special:Redirect/file/AnarchyMu_Logo.png') center center / contain no-repeat !important;
font-family: 'Merriweather', serif;
}
}


#personal .dropdown b {
#p-logo a {
font-weight: normal;
  display: block;
  min-height: 120px;
}
}


b,
/* Keep default wiki logo image hidden when custom logo background is used */
strong {
#p-logo .mw-wiki-logo {
text-shadow: 1px 1px 1px #000;
  opacity: 0;
}
}


#f-list {
#mw-wrapper,
text-align: center;
#mw-content-container,
font-size: 14px;
#mw-site-navigation,
}
#mw-related-navigation {
 
  background: var(--amu-bg) !important;
div.editOptions {
border: #222;
background: #555;
}
}


#mw-header-container,
#mw-header-nav-hack {
#mw-header-nav-hack {
border-top: solid 2px #333;
  background: #080d18 !important;
background: #333;
  border-top: 1px solid #1b2a45 !important;
  border-bottom: 1px solid #1b2a45 !important;
}
}


#mw-site-navigation .sidebar-inner {
#simpleSearch {
background: #333;
  background: #111722 !important;
border: 0;
  border: 1px solid #1f2d48 !important;
}
  border-radius: 0 !important;
 
@media screen and (min-width: 851px) {
#p-logo-text a {
position: fixed;
right: 75vw;
}
}
 
@media screen and (max-width: 850px) {
#p-logo-text {
margin-top: 0;
}
}
 
@media screen and (max-width: 1099px) and (min-width: 851px) {
#p-logo-text a.long {
padding-left: 7px;
float: left;
font-size: 26px;
}
}
 
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-related-navigation .sidebar-inner {
background: #222 !important;
border: solid #111;
}
}
 
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
background: #222;
border: solid #111;
}
}
 
#mw-site-navigation .sidebar-chunk {
border: outset #222;
background: #333;
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
border-radius: 3px;
}
 
@media screen and (max-width: 851px) {
#mw-site-navigation .sidebar-chunk {
padding: 0 15px 5px 20px;
}
}
 
@media screen and (max-width: 1099px) and (min-width: 851px) {
#mw-site-navigation .sidebar-inner {
background: #222 !important;
border: solid #111 !important;
}
}
 
.mw-parser-output a.external {
color: #ff9900;
}
}


#searchInput {
#searchInput {
padding: 0.2em 4.5em 0.2em 2em !important;
  color: #d9e2f4 !important;
margin: 0;
}
}


#searchInput-container {
#searchInput::placeholder {
background: #333;
  color: #8ea0c1 !important;
height: 35px;
}
}


#simpleSearch {
#mw-site-navigation .sidebar-inner,
border: inset 1px #000;
#mw-related-navigation .sidebar-inner {
border-radius: 3px;
  background: transparent !important;
background: #333;
  border: 0 !important;
height: 35px;
width: 48vw;
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
top: 7px;
}
 
#user-tools {
position: fixed;
right: 86px;
}
 
@media screen and (min-width: 851px) {
#user-tools {
left: 74vw;
top: 5px;
}
}
 
.mw-notification {
background: #222;
border: #111;
background: #111;
border-radius: 5px;
color: #999;
width: 200px;
}
 
.postedit-container {
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
padding: 0;
padding: 15px 0 15px 15px;
text-align: right;
}
 
.postedit-icon {
margin: auto;
padding: 0;
}
 
.mw-wiki-logo {
background: url("https://www.YOURDOMAIN/logo.png");
background-size: contain;
}
}


#mw-header-container {
#site-navigation.sidebar-chunk,
background: #555;
#site-tools.sidebar-chunk,
#page-tools.sidebar-chunk {
  background: var(--amu-panel) !important;
  border: 1px solid var(--amu-border) !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
  padding: 12px !important;
}
}


#mw-header {
#site-navigation > h2,
width: 100%;
#site-tools > h2,
max-width: 100%;
#page-tools > h2 {
padding: 0;
  color: #f4f7ff !important;
position: static;
  font-size: 26px !important;
  font-weight: 600 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 0 8px 0 !important;
  border-bottom: 1px solid #2a3b5e !important;
}
}


@media screen and (max-width: 850px) {
/* Sidebar groups */
#menus-cover {
#site-navigation .mw-portlet {
background: #000;
  margin: 0 0 8px 0 !important;
}
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
}


@media screen and (max-width: 850px) {
#site-navigation .mw-portlet > h3 {
#personal h2 {
  margin: 0 !important;
display: none;
  padding: 9px 10px !important;
}
  background: var(--amu-panel-2) !important;
  border: 1px solid #1f2d48 !important;
  color: #f1f5ff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  position: relative;
  cursor: pointer;
  user-select: none;
}
}


#mw-content-container {
#site-navigation .mw-portlet > h3::after {
background: #1d1d16;
  content: "▸";
  position: absolute;
  right: 10px;
  top: 8px;
  color: var(--amu-link);
  font-size: 13px;
}
}


@media screen and (max-width: 850px) {
#site-navigation .mw-portlet.amu-open > h3::after {
#mw-content-block {
  content: "▾";
background: #000;
}
}
}


@media screen and (max-width: 850px) {
#site-navigation .mw-portlet > .mw-portlet-body {
#site-tools h2 {
  background: #0b1220 !important;
right: 3em;
  border: 1px solid #1f2d48 !important;
top: 0.9em;
  border-top: 0 !important;
padding-bottom: 5px;
  padding: 6px 0 !important;
}
}
}


@media screen and (max-width: 850px) {
#site-navigation .mw-portlet > .mw-portlet-body ul {
#p-logo-text a.long {
  list-style: none !important;
width: 100%;
  margin: 0 !important;
top: 7px;
  padding: 0 !important;
text-align: center;
font-size: 40px !important;
}
}
}


@media screen and (min-width: 851px) {
#site-navigation .mw-portlet > .mw-portlet-body li {
#p-logo-text {
  margin: 0 !important;
width: 29em;
  padding: 0 !important;
}
}
}


@media screen and (min-width: 851px) {
#site-navigation .mw-portlet > .mw-portlet-body a {
#personal h2:after {
  display: block;
width: 36px;
  padding: 7px 10px !important;
}
  color: #d7e2fa !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
}


@media screen and (max-width: 850px) {
#site-navigation .mw-portlet > .mw-portlet-body a:hover {
#p-logo-text {
  background: #15213a !important;
position: static;
  color: #ffffff !important;
left: 0 !important;
right: 0;
margin-left: 0;
margin-right: 0;
width: 100%;
top: 3.3em;
}
}
}


@media only screen and (min-width: 992px) and (max-width:768p) {
/* Right tools style */
#p-logo-text {
#page-tools .mw-portlet > h3,
right: 74vw;
#site-tools .mw-portlet > h3 {
}
  margin: 0 !important;
  padding: 8px 10px !important;
  background: var(--amu-panel-2) !important;
  border: 1px solid #1f2d48 !important;
  color: #eef3ff !important;
  font-size: 14px !important;
}
}


@media only screen and (min-width: 900px) and (max-width:100px) {
#page-tools .mw-portlet-body,
#p-logo-text {
#site-tools .mw-portlet-body {
right: 74vw;
  background: #0b1220 !important;
top: 3em;
  border: 1px solid #1f2d48 !important;
}
  border-top: 0 !important;
}
}


@media screen and (max-width: 900) and (min-width: 100px) {
#page-tools .mw-portlet-body ul,
#p-logo-text a.long {
#site-tools .mw-portlet-body ul {
font-size: 43px !important;
  list-style: none !important;
}
  margin: 0 !important;
  padding: 0 !important;
}
}


@media screen and (max-width: 1700px) and (min-width: 800px) {
#page-tools .mw-portlet-body a,
#p-logo-text {
#site-tools .mw-portlet-body a {
left: 12px !important;
  display: block;
}
  padding: 8px 10px !important;
  color: #d8e3fb !important;
  text-decoration: none !important;
}
}


@media screen and (max-width: 1700px) and (mix: 851px) {
#page-tools .mw-portlet-body a:hover,
#mw-site-navigation {
#site-tools .mw-portlet-body a:hover {
background: #000;
  background: #15213a !important;
}
  color: #ffffff !important;
}
}


/* Content panel */
#mw-content {
#mw-content {
background: #333;
  background: linear-gradient(180deg, #101725 0%, #0b111c 100%) !important;
border: solid #946c20;
  border: 1px solid #2a3a5e !important;
-webkit-border-bottom-right-radius: 4px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
-webkit-border-bottom-left-radius: 4px;
-moz-border-radius-bottomright: 4px;
-moz-border-radius-bottomleft: 4px;
border-bottom-right-radius: 4px;
border-bottom-left-radius: 4px;
}
 
#mw-page-header-links li.selected a {
color: #cccc00;
}
 
#mw-related-navigation .sidebar-chunk {
background: #333;
border: outset #222;
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
border-radius: 3px;
}
}


@media screen and (max-width: 1099px) and (min-width: 851px) {
#siteSub,
#mw-related-navigation .sidebar-chunk {
#contentSub,
background: #333;
#mw-content-subtitle {
border: outset #222;
  color: var(--amu-muted) !important;
box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.5);
border-radius: 3px;
padding: 0 15px 5px 20px;
}
}
}


.color-middle-container,
#mw-page-header-links .mw-portlet-body a,
.ts-inner {
#mw-page-header-links .mw-portlet-body span {
padding: 0;
  color: #b9c8e6 !important;
}
}


#p-logo-text {
#mw-page-header-links .selected a {
left: 120px;
  color: var(--amu-link-hover) !important;
}
}


#p-logo-text a.long {
/* Remove white default TOC box and keep it in dark palette */
padding-top: 5px;
#toc,
padding-left: 6px;
.toc,
font-size: 23px;
.toccolours,
text-shadow: 1px 1px 1px #222;
.mw-parser-output .toc {
  background: #0d1424 !important;
  border: 1px solid #2a3b5e !important;
  color: #d4dff5 !important;
  box-shadow: none !important;
}
}


#p-search {
#toc .toctitle,
width: 70em;
.toc .toctitle,
padding-right: 33px;
.mw-parser-output .toc .toctitle {
  background: #111a2e !important;
  border-bottom: 1px solid #2a3b5e !important;
  color: #e4ecff !important;
}
}


#personal .dropdown h3 {
#toc .toctogglelabel,
line-height: 25px;
.toc .toctogglelabel,
#toc .toctoggle,
.toc .toctoggle {
  color: var(--amu-link) !important;
}
}


#personal h2 {
#toc ul,
text-shadow: 2px 2px 0 #333;
.toc ul,
padding-top: 7px;
#toc li,
font-size: 24px;
.toc li {
text-transform: lowercase;
  color: #c9d6f2 !important;
}
}


#personal .dropdown {
#toc a,
background: #222 !important;
.toc a {
border: solid #000;
  color: #dce7ff !important;
}
}


.codeEditor-status {
#toc a:hover,
color: #000;
.toc a:hover {
  color: #ffffff !important;
}
}


.oo-ui-labelElement-label {
#toc .tocnumber,
text-shadow: 1px 2px #333;
.toc .tocnumber {
  color: var(--amu-link) !important;
}
}


#iframeframe {
/* Darken wiki tables that can appear white by default */
height: 700px;
.mw-parser-output table,
.mw-parser-output .wikitable,
.mw-parser-output table.wikitable {
  background: #0f1729 !important;
  color: #dbe4f7 !important;
  border-color: #2a3b5e !important;
}
}


#wpSave {
.mw-parser-output .wikitable > tr > th,
text-shadow: 2px 2px 2px #000 !important
.mw-parser-output .wikitable > * > tr > th,
.mw-parser-output .wikitable > tr > td,
.mw-parser-output .wikitable > * > tr > td {
  border-color: #2a3b5e !important;
  background: #101a2e !important;
  color: #dbe4f7 !important;
}
}


#mw-footer-container {
.mw-parser-output .wikitable > * > tr > th {
background: #000;
  background: #15213a !important;
padding-top: 1em;
  color: #f0f5ff !important;
}
}


fieldset {
#mw-content h1,
background: #222 !important;
#mw-content h2,
border: solid #111;
#mw-content h3,
#mw-content h4 {
  color: #d5e1fb !important;
  border-bottom-color: #2a3b5e !important;
}
}


input {
.mw-editsection a {
background: #333;
  color: #8ea4cf !important;
border: solid 1px #111 !important;
border-radius: 2px;
padding-left: 5px;
color: #999;
}
}


.mw-ui-button.mw-ui-progressive,
.mw-editsection a:hover {
.mw-ui-button.mw-ui-progressive:active,
  color: #b8c9eb !important;
.mw-ui-button.mw-ui-progressive.mw-ui-checked,
input[type='submit'],
input[type='button'],
button {
border: solid 1px #333 !important;
border-bottom: 0 !important;
text-shadow: 0 0 0 #000 !important;
border-bottom: solid 1px #333 !important;
}
}


.oo-ui-flaggedElement-destructive {
#firstHeading,
background: #111;
.mw-first-heading {
border: 1px solid #444;
  color: #d0dcf8 !important;
color: #FF333 !important;
  font-size: 42px !important;
padding-left: 15px !important;
  font-weight: 600 !important;
padding-right: 15px !important;
  text-shadow: none !important;
}
}


.oo-ui-flaggedElement-destructive:hover {
#mw-content a {
background: #222;
  color: var(--amu-link);
color: #CC0000 !important;
}
}


#searchInput {
#mw-content a:hover {
border: 0 !important;
  color: var(--amu-link-hover);
}
}


/* Mobile */
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {
#searchInput {
  #site-navigation > h2,
padding: 0 0 0 6px !important;
  #site-tools > h2,
}
  #page-tools > h2 {
}
    font-size: 20px !important;
 
  }
.oo-ui-textInputWidget input,
.oo-ui-textInputWidget textarea {
background-color: #333;
color: #fff;
}
 
.oo-ui-textInputWidget>.oo-ui-labelElement-label {
line-height: 0.5em;
}
 
#pagehistory li.selected {
background-color: #555;
}
 
.warningbox {
background: #1d1d16;
}
 
a.new:hover,
.new a:hover,
a.new:visited,
.new a:visited {
color: #FF3333;
}
 
.mw-plusminus-neg {
color: #FF0000;
}
 
#searchButton,
#mw-searchButton {
border: 0 !important;
left: 38vw;
right: 0;
margin-left: auto;
margin-right: auto;
}
 
#mw-footer-container a:hover {
color: #ffff33;
}
 
#mw-footer-container a:visited {
color: #ffff66;
}
 
#mw-footer .footer-places li {
float: right;
display: block;
}
 
#mw-footer ul,
#mw-footer li {
margin: 0 auto;
}
 
#mw-footer #lastmod {
float: left;
left: 25px;
}
 
.diff-addedline .diffchange {
background: #1d1d16;
padding-left: 7px;
}
 
.oo-ui-buttonElement.oo-ui-labelElement>input.oo-ui-buttonElement-button,
.oo-ui-buttonElement.oo-ui-labelElement>.oo-ui-buttonElement-button>.oo-ui-labelElement-label {
text-shadow: 0 0 0 #000 !important;
}
 
.oo-ui-labelElement-label {
text-shadow: 0 0 0 #000
}
 
.oo-ui-panelLayout-expanded {
background: #222;
}
 
.oo-ui-messageDialog-message {
color: #999;
}
 
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled>.oo-ui-buttonElement-button {
color: #999;
}
 
.oo-ui-messageDialog-actions-horizontal .oo-ui-actionWidget {
border-right: 1px solid #111
}
 
.oo-ui-dialog-content>.oo-ui-window-body {
outline: 1px solid #111;
}
 
.oo-ui-messageDialog-content>.oo-ui-window-foot {
outline: 1px solid #111;
}
 
.wikiEditor-ui .wikiEditor-ui-view {
border: 1px solid #000;
}
 
.wikiEditor-ui .wikiEditor-ui-top {
border-bottom: 1px solid #000;
}
 
textarea[style] {
background: #111 !important;
color: #fff;
}
 
pre,
.mw-code {
background: #222;
color: #B0B0B0;
border: 1px solid #444;
}


.oo-ui-iconWidget.oo-ui-iconElement.oo-ui-iconElement-icon {
  #firstHeading,
background-color: #B0B0B0;
  .mw-first-heading {
border: 1px solid #333;
    font-size: 32px !important;
  }
}
}

Latest revision as of 08:01, 15 March 2026

/* Timeless sidebar/theme overrides to match the RealMU-style layout */

:root {
  --amu-bg: #060b16;
  --amu-panel: #0f1524;
  --amu-panel-2: #0a101c;
  --amu-border: #22314f;
  --amu-text: #dbe4f7;
  --amu-muted: #95a6c8;
  --amu-link: #e1a34e;
  --amu-link-hover: #ffd08a;
}

html,
body {
  background: var(--amu-bg) !important;
  color: var(--amu-text) !important;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
}

/* Keep the site title in normal flow */
@media screen and (min-width: 851px) {
  #p-logo-text a,
  #p-logo-text a.long {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0 !important;
  }
}

/* Hide text logo and use image logo area only */
#p-logo-text {
  display: none !important;
}

#p-logo {
  min-height: 120px !important;
  margin: 0 0 12px 0 !important;
  border: 1px solid var(--amu-border) !important;
  background: #0b1220 url('/index.php/Special:Redirect/file/AnarchyMu_Logo.png') center center / contain no-repeat !important;
}

#p-logo a {
  display: block;
  min-height: 120px;
}

/* Keep default wiki logo image hidden when custom logo background is used */
#p-logo .mw-wiki-logo {
  opacity: 0;
}

#mw-wrapper,
#mw-content-container,
#mw-site-navigation,
#mw-related-navigation {
  background: var(--amu-bg) !important;
}

#mw-header-container,
#mw-header-nav-hack {
  background: #080d18 !important;
  border-top: 1px solid #1b2a45 !important;
  border-bottom: 1px solid #1b2a45 !important;
}

#simpleSearch {
  background: #111722 !important;
  border: 1px solid #1f2d48 !important;
  border-radius: 0 !important;
}

#searchInput {
  color: #d9e2f4 !important;
}

#searchInput::placeholder {
  color: #8ea0c1 !important;
}

#mw-site-navigation .sidebar-inner,
#mw-related-navigation .sidebar-inner {
  background: transparent !important;
  border: 0 !important;
}

#site-navigation.sidebar-chunk,
#site-tools.sidebar-chunk,
#page-tools.sidebar-chunk {
  background: var(--amu-panel) !important;
  border: 1px solid var(--amu-border) !important;
  border-radius: 0 !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
  padding: 12px !important;
}

#site-navigation > h2,
#site-tools > h2,
#page-tools > h2 {
  color: #f4f7ff !important;
  font-size: 26px !important;
  font-weight: 600 !important;
  margin: 0 0 10px 0 !important;
  padding: 0 0 8px 0 !important;
  border-bottom: 1px solid #2a3b5e !important;
}

/* Sidebar groups */
#site-navigation .mw-portlet {
  margin: 0 0 8px 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

#site-navigation .mw-portlet > h3 {
  margin: 0 !important;
  padding: 9px 10px !important;
  background: var(--amu-panel-2) !important;
  border: 1px solid #1f2d48 !important;
  color: #f1f5ff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-transform: none !important;
  position: relative;
  cursor: pointer;
  user-select: none;
}

#site-navigation .mw-portlet > h3::after {
  content: "▸";
  position: absolute;
  right: 10px;
  top: 8px;
  color: var(--amu-link);
  font-size: 13px;
}

#site-navigation .mw-portlet.amu-open > h3::after {
  content: "▾";
}

#site-navigation .mw-portlet > .mw-portlet-body {
  background: #0b1220 !important;
  border: 1px solid #1f2d48 !important;
  border-top: 0 !important;
  padding: 6px 0 !important;
}

#site-navigation .mw-portlet > .mw-portlet-body ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#site-navigation .mw-portlet > .mw-portlet-body li {
  margin: 0 !important;
  padding: 0 !important;
}

#site-navigation .mw-portlet > .mw-portlet-body a {
  display: block;
  padding: 7px 10px !important;
  color: #d7e2fa !important;
  font-size: 13px !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

#site-navigation .mw-portlet > .mw-portlet-body a:hover {
  background: #15213a !important;
  color: #ffffff !important;
}

/* Right tools style */
#page-tools .mw-portlet > h3,
#site-tools .mw-portlet > h3 {
  margin: 0 !important;
  padding: 8px 10px !important;
  background: var(--amu-panel-2) !important;
  border: 1px solid #1f2d48 !important;
  color: #eef3ff !important;
  font-size: 14px !important;
}

#page-tools .mw-portlet-body,
#site-tools .mw-portlet-body {
  background: #0b1220 !important;
  border: 1px solid #1f2d48 !important;
  border-top: 0 !important;
}

#page-tools .mw-portlet-body ul,
#site-tools .mw-portlet-body ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#page-tools .mw-portlet-body a,
#site-tools .mw-portlet-body a {
  display: block;
  padding: 8px 10px !important;
  color: #d8e3fb !important;
  text-decoration: none !important;
}

#page-tools .mw-portlet-body a:hover,
#site-tools .mw-portlet-body a:hover {
  background: #15213a !important;
  color: #ffffff !important;
}

/* Content panel */
#mw-content {
  background: linear-gradient(180deg, #101725 0%, #0b111c 100%) !important;
  border: 1px solid #2a3a5e !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35) !important;
}

#siteSub,
#contentSub,
#mw-content-subtitle {
  color: var(--amu-muted) !important;
}

#mw-page-header-links .mw-portlet-body a,
#mw-page-header-links .mw-portlet-body span {
  color: #b9c8e6 !important;
}

#mw-page-header-links .selected a {
  color: var(--amu-link-hover) !important;
}

/* Remove white default TOC box and keep it in dark palette */
#toc,
.toc,
.toccolours,
.mw-parser-output .toc {
  background: #0d1424 !important;
  border: 1px solid #2a3b5e !important;
  color: #d4dff5 !important;
  box-shadow: none !important;
}

#toc .toctitle,
.toc .toctitle,
.mw-parser-output .toc .toctitle {
  background: #111a2e !important;
  border-bottom: 1px solid #2a3b5e !important;
  color: #e4ecff !important;
}

#toc .toctogglelabel,
.toc .toctogglelabel,
#toc .toctoggle,
.toc .toctoggle {
  color: var(--amu-link) !important;
}

#toc ul,
.toc ul,
#toc li,
.toc li {
  color: #c9d6f2 !important;
}

#toc a,
.toc a {
  color: #dce7ff !important;
}

#toc a:hover,
.toc a:hover {
  color: #ffffff !important;
}

#toc .tocnumber,
.toc .tocnumber {
  color: var(--amu-link) !important;
}

/* Darken wiki tables that can appear white by default */
.mw-parser-output table,
.mw-parser-output .wikitable,
.mw-parser-output table.wikitable {
  background: #0f1729 !important;
  color: #dbe4f7 !important;
  border-color: #2a3b5e !important;
}

.mw-parser-output .wikitable > tr > th,
.mw-parser-output .wikitable > * > tr > th,
.mw-parser-output .wikitable > tr > td,
.mw-parser-output .wikitable > * > tr > td {
  border-color: #2a3b5e !important;
  background: #101a2e !important;
  color: #dbe4f7 !important;
}

.mw-parser-output .wikitable > * > tr > th {
  background: #15213a !important;
  color: #f0f5ff !important;
}

#mw-content h1,
#mw-content h2,
#mw-content h3,
#mw-content h4 {
  color: #d5e1fb !important;
  border-bottom-color: #2a3b5e !important;
}

.mw-editsection a {
  color: #8ea4cf !important;
}

.mw-editsection a:hover {
  color: #b8c9eb !important;
}

#firstHeading,
.mw-first-heading {
  color: #d0dcf8 !important;
  font-size: 42px !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

#mw-content a {
  color: var(--amu-link);
}

#mw-content a:hover {
  color: var(--amu-link-hover);
}

/* Mobile */
@media screen and (max-width: 850px) {
  #site-navigation > h2,
  #site-tools > h2,
  #page-tools > h2 {
    font-size: 20px !important;
  }

  #firstHeading,
  .mw-first-heading {
    font-size: 32px !important;
  }
}