Difference between revisions of "MediaWiki:Common.css"

From Modern Nights
Jump to: navigation, search
(Replaced content with ".PinkText, .PinkText .mw-headline { color: var(--color-pink-6); } .Pink, .PinkBorder, .PinkBorder .character-page_panel, .PinkBorder .character-page_snapshot { border-...")
(Tag: Replaced)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
 
 
@import url('https://fonts.googleapis.com/css2?family=Eczar:wght@700&family=Rubik:wght@400;700&display=swap');
 
 
:root {
 
  --color-white: #fdfdfd;
 
 
  --color-red-9: #520408;
 
  --color-red-8: #da1e28;
 
  --color-red-7: #a2191f;
 
  --color-red-6: #750e13;
 
  --color-red-5: #fa4d56;
 
  --color-red-1: #fff1f1;
 
 
  --color-blue-9: #001d6c;
 
  --color-blue-8: #002d9c;
 
  --color-blue-7: #0043ce;
 
  --color-blue-6: #0f62fe;
 
  --color-blue-5: #4589ff;
 
  --color-blue-1: #edf5ff;
 
 
  --color-teal-9: #022b30;
 
  --color-teal-8: #004144;
 
  --color-teal-7: #005d5d;
 
  --color-teal-6: #007d79;
 
  --color-teal-5: #009d9a;
 
  --color-teal-1: #d9fbfb;
 
 
  --color-pink-9: #510224;
 
  --color-pink-8: #740937;
 
  --color-pink-7: #9f1853;
 
  --color-pink-6: #d02670;
 
  --color-pink-5: #ee5396;
 
  --color-pink-1: #ffd6e8;
 
 
  --color-gray-8: #393939;
 
  --color-gray-7: #525252;
 
  --color-gray-6: #6f6f6f;
 
  --color-gray-5: #8d8d8d;
 
 
 
  --font-size-sm: 0.93em;
 
  --font-size-md: 1.16em;
 
  --font-size-lg: 1.45em;
 
  --font-size-xl: 1.813em;
 
  --font-size-2xl: 2.27em;
 
  --font-size-3xl: 2.83em;
 
  --font-size-4xl: 3.54em;
 
  --spacing-3xs: 0.25em;
 
  --spacing-2xs: 0.35em;
 
  --spacing-xs: 0.467em;
 
  --spacing-sm: 0.7em;
 
  --spacing-md: 1.4em;
 
  --spacing-lg: 2.8em;
 
  --spacing-xl: 4.2em;
 
  --spacing-2xl: 5.6em;
 
 
  --border-radius: 0.25em;
 
  --background-01: #efefef;
 
  --background-02: #d0d0d0;
 
  --background-03: #fdfdfd;
 
  --interactive-1: #005D5D; /* primary */
 
  --interactive-2: #00539a /* secondary */
 
  --interactive-3: #9f1853; /* tertiary */
 
  --interactive-active-accent: #007d70;
 
  --danger-1: #da1e28;
 
  --danger-2: #da1e28;
 
  --background-02-subtle-border: #dde1e6;
 
  --medium-contrast-border: #8d8d8d;
 
  --high-contrast-border: #161616;
 
  --button-separator: #e0e0e0;
 
  --decorative-light: #e0e0e0;
 
  --text-primary: #161616;
 
  --text-secondary: #525252;
 
  --text-tertiary: #a8a8a8;
 
  --text-interactive: #ffffff;
 
  --text-help: #6f6f6f;
 
  --text-error: #da1e28;
 
  --link-primary: #0f62fe;
 
  --link-secondary: #0043ce /* lower contrast bgs */
 
  --inverse-link: #78a9ff;
 
  --icon-primary: #161616;
 
  --icon-secondary: #525252;
 
  --icon-tertiary: #ffffff;
 
  --field-01: #ffffff;
 
  --field-02: #f4f4f4;
 
  --inverse-01: #ffffff;
 
  --inverse-02: #393939
 
  --support-error: #da1e28;
 
  --support-success: #198038;
 
  --support-warning: #f1c21b;
 
  --support-information: #0043ce;
 
  --overlay: rgba(8.6, 8.6, 8.6, 50%);
 
}
 
 
img {
 
  width: 100%;
 
  height: auto;
 
}
 
 
#mw-page-base, #mw-panel, .mw-body, .parsoid-body, body {
 
  background-color: var(--background-01);
 
  color: var(--text-primary);
 
}
 
 
#mw-page-base {
 
  background-image: none;
 
}
 
 
.mw-body-content {
 
  font-size: var(--font-size-sm);
 
}
 
 
.mw-body-content p {
 
  line-height: 1.4;
 
  margin-bottom: var(--spacing-md);
 
  margin-top: var(--spacing-xs);
 
}
 
 
#toc {
 
  margin: 0 2em 2em 0;
 
  float: left;
 
  border: none;
 
  padding: var(--spacing-md);
 
}
 
 
a, a:visited,
 
#mw-panel .portal .body li a,
 
#mw-panel .portal .body li a:visited {
 
  color: var(--interactive-1);
 
  font-weight: bold;
 
}
 
 
.mw-body, .mw-body-content p {
 
border: none;
 
font-family: 'Rubik', sans-serif;
 
}
 
 
h1, h2, h3, h4, h5, h6 {
 
font-weight: bold;
 
border-bottom: none;
 
font-family: 'Eczar', serif;
 
margin-top: var(--spacing-md);
 
margin-bottom: var(--spacing-xs);
 
}
 
 
.mw-body h1,
 
.mw-body-content h1,
 
.mw-body-content h2,
 
.mw-body-content h3,
 
.mw-body-content h4,
 
.mw-body-content h5,
 
.mw-body-content h6 {
 
font-family: 'Eczar', serif;
 
}
 
 
.mn-content_horizontal-nav {
 
width: 100%;
 
display: flex;
 
flex-direction: row;
 
justify-content: space-around;
 
background: var(--interactive-1);
 
color: var(--text-interactive);
 
}
 
 
.mn-content_horizontal-nav span {
 
padding: 0.5em 1em;
 
}
 
 
.mn-content_horizontal-nav a{
 
color: var(--text-interactive);
 
}
 
 
.character-page, .mn-content {
 
  display: flex;
 
  flex-direction: row;
 
}
 
 
.mn-content_section,
 
.character-page_section {
 
  padding: 1em;
 
}
 
 
.character-page_panel, .mn-content_panel, .mn-content_inset-panel, .toc {
 
  min-width: 320px;
 
  box-shadow:  5px 5px 13px var(--background-02);
 
              -5px -5px 13px var(--background-03);
 
  width: auto;
 
  margin: 0 1em 1em 0;
 
  border-radius: var(--border-radius);
 
}
 
 
.mn-content_panel, .mn-content_inset-panel {
 
  padding: 1em
 
}
 
.mn-content_inset-panel {
 
  background-color: var(--background-01);
 
}
 
 
.mn-tileset {
 
  display: flex;
 
  flex-direction: column;
 
}
 
.mn-tileset_row {
 
  display: flex;
 
  flex-direction: row;
 
}
 
.mn-tileset_row div, .mn-tileset_row p {
 
  width: 200px;
 
  padding: var(--spacing-xs);
 
}
 
 
.mn-content Darktheme .mn-content_panel {
 
  background-color: #1C1C1C;
 
  color: #FDFDFD;
 
}
 
 
.character-page_quote {
 
  padding:1em;
 
  text-align: center;
 
  color: #666665;
 
  font-weight: 100;
 
  font-style: italic;
 
  font-size: var(--font-size-lg);
 
  font-family: "Palatino Linotype", serif;
 
}
 
 
.character-page_heading {
 
  color: var(--text-primary);
 
  line-height:300%;
 
  text-align: center;
 
  font-size:18pt;
 
  font-variant:small-caps;
 
  padding-top: 1em;
 
  padding-bottom: 1em;
 
  font-weight: bold;
 
  font-family: 'Eczar', serif;
 
  border-radius: var(--border-radius);
 
  margin-top: var(--spacing-md);
 
  margin-bottom: var(--spacing-sm);
 
}
 
.character-page_heading p {
 
  margin: 0;
 
  padding: 0;
 
}
 
 
.character-page_gallery-set p {
 
  display:flex;
 
  flex-direction: row;
 
}
 
 
.character-page_gallery-set.Column p {
 
  flex-direction: column;
 
}
 
 
.character-page_gallery-set p a {
 
  margin: 0.25em;
 
}
 
 
.character-page_contact p {
 
  display:flex;
 
  flex-direction: row;
 
  align-items: center;
 
}
 
 
.character-page_contact p a {
 
  width: 150px;
 
  height: auto;
 
  margin-right: 1em;
 
}
 
 
/* THEMES */
 
/* Raphael Theme! */
 
.RiffRaph .character-page_panel {
 
  outline: var(--spacing-sm) solid var(--color-gray-8);
 
  padding: var(--spacing-md);
 
}
 
.RiffRaph #title, .RiffRaph #title p {
 
  margin: var(--spacing-sm);
 
  font-size: var(--font-size-xl);
 
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
 
  font-style: italic;
 
  font-variant: small-caps;
 
  text-align: center;
 
  font-weight: bold;
 
}
 
 
.character-page_snapshot {
 
  border: var(--spacing-3xs) solid transparent !important;
 
  outline: var(--spacing-3xs) solid var(--high-contrast-border);
 
  margin-bottom: var(--spacing-sm);
 
}
 
 
 
.character-page_heading .mw-headline {
 
  color: var(--color-white);
 
}
 
 
/* THEMES! Raphael's Theme */
 
 
.RiffRaph .character-page_heading p {
 
  font-family: "Palatino Linotype", serif;
 
}
 
 
.RiffRaph .character-page_heading {
 
  border-radius: 0;
 
  width: 100%;
 
  padding: var(--spacing-sm) 1.16em;
 
  box-sizing: content-box;
 
  margin-left: -1.16em;
 
  font-family: "Palatino Linotype", serif;
 
  text-align: left;
 
}
 
 
/* COLORS! */
 
 
.BlueText, .BlueText .mw-headline {
 
  color: var(--color-blue-6);
 
}
 
.Blue, .BlueBorder, .BlueBorder .character-page_panel, .BlueBorder .character-page_snapshot {
 
  border-color: var(--color-blue-7);
 
  outline-color: var(--color-blue-7);
 
}
 
.BlueBG .character-page_panel {
 
  background-color: var(--color-blue-1);
 
}
 
.BlueBG.BlueText {
 
  color: var(--color-blue-7);
 
}
 
.BlueText .character-page_quote {
 
  color: var(--color-blue-6);
 
}
 
.Blue .character-page_heading,
 
.Blue .character-page_heading p,
 
.BlueText .character-page_heading,
 
.BlueText .character-page_heading p {
 
  background-color: var(--color-blue-7);
 
}
 
.Shaded.BlueText .character-page_heading,
 
.Shaded.BlueText .character-page_heading p {
 
  background: linear-gradient(80deg, var(--color-blue-9) 0%, var(--color-blue-8) 35%, var(--color-blue-7) 100%);
 
}
 
 
.BlueText .character-page_heading,
 
.BlueText .character-page_heading .mw-headline,
 
.BlueText .character-page_heading p {
 
  color: var(--color-blue-1);
 
}
 
 
.TealText, .TealText .mw-headline {
 
  color: var(--color-teal-6);
 
}
 
.Teal, .TealBorder, .TealBorder .character-page_panel, .TealBorder .character-page_snapshot {
 
  border-color: var(--color-teal-7);
 
  outline-color: var(--color-teal-7);
 
}
 
.TealBG .character-page_panel {
 
  background-color: var(--color-teal-1);
 
}
 
.TealBG.TealText {
 
  color: var(--color-teal-7);
 
}
 
.TealText .character-page_quote {
 
  color: var(--color-teal-6);
 
}
 
.Teal .character-page_heading,
 
.Teal .character-page_heading p,
 
.TealText .character-page_heading,
 
.TealText .character-page_heading p {
 
  background-color: var(--color-teal-7);
 
}
 
.Shaded.TealText .character-page_heading,
 
.Shaded.TealText .character-page_heading p {
 
  background: linear-gradient(80deg, var(--color-teal-9) 0%, var(--color-teal-8) 35%, var(--color-teal-7) 100%);
 
}
 
 
.TealText .character-page_heading,
 
.TealText .character-page_heading .mw-headline,
 
.TealText .character-page_heading p {
 
  color: var(--color-teal-1);
 
}
 
 
.RedText, .RedText .mw-headline {
 
  color: var(--color-red-6);
 
}
 
.Red, .RedBorder, .RedBorder .character-page_panel, .RedBorder .character-page_snapshot {
 
  border-color: var(--color-red-7);
 
  outline-color: var(--color-red-7);
 
}
 
.RedBG .character-page_panel {
 
  background-color: var(--color-red-1);
 
}
 
.RedBG.RedText {
 
  color: var(--color-red-7);
 
}
 
.RedText .character-page_quote {
 
  color: var(--color-red-6);
 
}
 
.Red .character-page_heading,
 
.Red .character-page_heading p,
 
.RedText .character-page_heading,
 
.RedText .character-page_heading p {
 
  background-color: var(--color-red-7);
 
}
 
.Shaded.RedText .character-page_heading,
 
.Shaded.RedText .character-page_heading p {
 
  background: linear-gradient(80deg, var(--color-red-9) 0%, var(--color-red-8) 35%, var(--color-red-7) 100%);
 
}
 
 
.RedText .character-page_heading,
 
.RedText .character-page_heading .mw-headline,
 
.RedText .character-page_heading p {
 
  color: var(--color-red-1);
 
}
 
 
 
.PinkText, .PinkText .mw-headline {
 
.PinkText, .PinkText .mw-headline {
 
   color: var(--color-pink-6);
 
   color: var(--color-pink-6);
Line 431: Line 17:
 
.Pink .character-page_heading,
 
.Pink .character-page_heading,
 
.Pink .character-page_heading p,
 
.Pink .character-page_heading p,
.PinkText .character-page_heading,
+
.PinkBorder .character-page_heading,
.PinkText .character-page_heading p {
+
.PinkBorder .character-page_heading p {
 
   background-color: var(--color-pink-7);
 
   background-color: var(--color-pink-7);
 
}
 
}
.Shaded.PinkText .character-page_heading,
+
.Shaded.PinkBorder .character-page_heading,
.Shaded.PinkText .character-page_heading p {
+
.Shaded.PinkBorder .character-page_heading p {
 
   background: linear-gradient(80deg, var(--color-pink-9) 0%, var(--color-pink-8) 35%, var(--color-pink-7) 100%);
 
   background: linear-gradient(80deg, var(--color-pink-9) 0%, var(--color-pink-8) 35%, var(--color-pink-7) 100%);
 
}
 
}
  
.PinkText .character-page_heading,
+
.PinkBorder .character-page_heading,
.PinkText .character-page_heading .mw-headline,
+
.PinkBorder .character-page_heading .mw-headline,
.PinkText .character-page_heading p {
+
.PinkBorder .character-page_heading p {
 
   color: var(--color-pink-1);
 
   color: var(--color-pink-1);
 
}
 
}

Revision as of 17:04, 4 August 2021

.PinkText, .PinkText .mw-headline {
  color: var(--color-pink-6);
}
.Pink, .PinkBorder, .PinkBorder .character-page_panel, .PinkBorder .character-page_snapshot {
  border-color: var(--color-pink-7);
  outline-color: var(--color-pink-7);
}
.PinkBG .character-page_panel {
  background-color: var(--color-pink-1);
}
.PinkBG.PinkText {
  color: var(--color-pink-7);
}
.PinkText .character-page_quote {
  color: var(--color-pink-6);
}
.Pink .character-page_heading,
.Pink .character-page_heading p,
.PinkBorder .character-page_heading,
.PinkBorder .character-page_heading p {
  background-color: var(--color-pink-7);
}
.Shaded.PinkBorder .character-page_heading,
.Shaded.PinkBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-pink-9) 0%, var(--color-pink-8) 35%, var(--color-pink-7) 100%);
}

.PinkBorder .character-page_heading,
.PinkBorder .character-page_heading .mw-headline,
.PinkBorder .character-page_heading p {
  color: var(--color-pink-1);
}