Jump to content

MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
Tags: Manual revert Mobile edit Mobile web edit
 
(58 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Underdog:wght@400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap');
/* ------------------
-- Deceron Classes --
------------------ */
.deceron-mp-table {
  background: var(--background-color-neutral);
  text-align: center;
  border-spacing: 10px;
}
.deceron-mp-table td {
  background: var(--background-color-neutral-subtle);
  vertical-align: top;
  padding: 5px;
}
/* ------------------
/* ------------------
--- General Style ---
--- General Style ---
------------------ */
------------------ */
html, body {
  font-family: "PT Sans", sans-serif;
}
.mw-body h1,.mw-body .mw-heading1,.mw-body-content h1,.mw-body-content .mw-heading1,.mw-body-content h2,.mw-body-content .mw-heading2 {
  font-family: "Underdog", serif;
  line-height: 1.375
}


:root {
:root {
Line 7: Line 36:


   /* Text */
   /* Text */
   --color-base: #eeeeee;
   --color-base: #c4d3d3;
   --color-base-fixed: #eeeeee;
   --color-base-fixed: #c4d3d3;
   --color-base--hover: #ffffff;
   --color-base--hover: #ffffff;
   --color-emphasized: #ffffff;
   --color-emphasized: #ffffff;
   --color-subtle: #b8bec7;
   --color-subtle: #6d9b9b;
   --color-placeholder: #8c949e;
   --color-placeholder: #8c949e;
   --color-disabled: #69717c;
   --color-disabled: #69717c;
Line 17: Line 46:


   /* Inverted text */
   /* Inverted text */
   --color-inverted: #20252b;
   --color-inverted: #102020;
   --color-inverted-fixed: #20252b;
   --color-inverted-fixed: #102020;


   /* Links */
   /* Links */
   --color-progressive: #ffaa50;
   --color-progressive: #ffaa50;
   --color-progressive--hover: #fff;
   --color-progressive--hover: #ffd6ab;
   --color-progressive--active: #fff;
   --color-progressive--active: #ffd6ab;
   --color-progressive--focus: #fff;
   --color-progressive--focus: #ffd6ab;


   /* Visited links */
   /* Visited links */
   --color-visited: #da7b1e;
   --color-visited: #ff8c1c;
   --color-visited--hover: #ff8c1c;
   --color-visited--hover: #da7b1e;
   --color-visited--active: #ff8c1c;
   --color-visited--active: #da7b1e;


   /* Backgrounds */
   /* Backgrounds */
Line 35: Line 64:
   --background-color-base-fixed: #203030;
   --background-color-base-fixed: #203030;


   --background-color-neutral: #393e46;
   --background-color-neutral: #102020;
   --background-color-neutral-subtle: #102020;
   --background-color-neutral-subtle: #152525;


   --background-color-interactive: #393e46;
   --background-color-interactive: #425f5f;
   --background-color-interactive--hover: #454b55;
   --background-color-interactive--hover: #454b55;
   --background-color-interactive--active: #505762;
   --background-color-interactive--active: #505762;


   --background-color-interactive-subtle: #102020;
   --background-color-interactive-subtle: #152525;
   --background-color-interactive-subtle--hover: #393e46;
   --background-color-interactive-subtle--hover: #102020;
   --background-color-interactive-subtle--active: #454b55;
   --background-color-interactive-subtle--active: #102020;


   --background-color-disabled: #454b55;
   --background-color-disabled: #454b55;
   --background-color-disabled-subtle: #393e46;
   --background-color-disabled-subtle: #102020;


   --background-color-inverted: #eeeeee;
   --background-color-inverted: #eeeeee;


   /* Progressive UI */
   /* Progressive UI */
   --background-color-progressive: #4d7fe8;
   --background-color-progressive: #ffaa50;
   --background-color-progressive--hover: #6090f2;
   --background-color-progressive--hover: #ffd6ab;
   --background-color-progressive--active: #3c6fd4;
   --background-color-progressive--active: #ffd6ab;
   --background-color-progressive--focus: #6ea8fe;
   --background-color-progressive--focus: #ffd6ab;


   /* Progressive subtle backgrounds */
   /* Progressive subtle backgrounds */
Line 63: Line 92:


   /* Borders */
   /* Borders */
   --border-color-base: #59616d;
   --border-color-base: #425f5f;
   --border-color-subtle: #454b55;
   --border-color-subtle: #3a5353;
   --border-color-muted: #393e46;
   --border-color-muted: #253636;


   --border-color-interactive: #8c949e;
   --border-color-interactive: #8c949e;
Line 77: Line 106:


   /* Progressive borders */
   /* Progressive borders */
   --border-color-progressive: #6ea8fe;
   --border-color-progressive: #da7b1e;
   --border-color-progressive--hover: #8bb9ff;
   --border-color-progressive--hover: #ff8c1c;
   --border-color-progressive--active: #4d8df7;
   --border-color-progressive--active: #ff8c1c;
   --border-color-progressive--focus: #6ea8fe;
   --border-color-progressive--focus: #ff8c1c;


   /* Dividers */
   /* Dividers */
Line 96: Line 125:


   /* Destructive / semantic colors */
   /* Destructive / semantic colors */
   --color-destructive: #bf3c2c;
   --color-destructive: #ff5454;
   --color-destructive--hover: #9f3526;
   --color-destructive--hover: #ff7878;
   --color-destructive--active: #612419;
   --color-destructive--active: #ff7878;
   --color-destructive--focus: #36c;
   --color-destructive--focus: #ff7878;


   --color-destructive--visited: #9f5555;
   --color-destructive--visited: #9f5555;
Line 150: Line 179:


   /* Error backgrounds */
   /* Error backgrounds */
   --background-color-error: #f54739;
   --background-color-error: #ff5454;
   --background-color-error--hover: #d74032;
   --background-color-error--hover: #ff7878;
   --background-color-error--active: #bf3c2c;
   --background-color-error--active: #ff7878;


   --background-color-error-subtle: #f00;
   --background-color-error-subtle: #c22a2a;
   --background-color-error-subtle--hover: #f00;
   --background-color-error-subtle--hover: #e34e4e;
   --background-color-error-subtle--active: #f00;
   --background-color-error-subtle--active: #e34e4e;


   /* Semantic backgrounds */
   /* Semantic backgrounds */
Line 197: Line 226:


   /* Focus / accent */
   /* Focus / accent */
   --outline-color-progressive--focus: #36c;
   --outline-color-progressive--focus: #ffd6ab;
   --accent-color-base: #36c;
   --accent-color-base: #ffd6ab;


   /* Subtle text */
   /* Subtle text */
   --color-base--subtle: #54595d;
   --color-base--subtle: #54595d;
}
/* -----------------
--- Logo fix ---
----------------- */
.mw-logo-wordmark {
    display: none;
}
/* Force the Vector 2022 logo/icon to stay visible on mobile views */
@media (max-width: 719px) {
  .mw-header .mw-logo {
    display: inline-flex !important;
    margin-right: 0.5em;
  }
   
  /* Ensure the icon image inside the logo link is visible */
  .mw-header .mw-logo-icon {
    display: inline-block !important;
  }
}
}


Line 209: Line 259:


.infobox {
.infobox {
   border: 1px solid #a2a9b1;
  background-color: #102020;
   color: #000;
   border: 1px solid #425f5f;
   color: #c4d3d3;
   padding: .2em;
   padding: .2em;
   font-size: .9em;
   font-size: .9em;
Line 226: Line 277:
.infobox .infobox-above,
.infobox .infobox-above,
.infobox .infobox-title {
.infobox .infobox-title {
  background-color: #425f5f !important;
  color: #fff !important;
   font-size: 1.25em;
   font-size: 1.25em;
   font-weight: bold;
   font-weight: bold;
Line 237: Line 290:


.infobox .infobox-header {
.infobox .infobox-header {
  background-color: #3a5353 !important;
  color: #fff !important;
   font-size: 1.1em;
   font-size: 1.1em;
   font-weight: bold;
   font-weight: bold;