Difference between revisions of "MediaWiki:Common.css"

From Modern Nights
Jump to: navigation, search
Line 567: Line 567:
 
     background-image: url(/images/8/80/Modernnights.png);
 
     background-image: url(/images/8/80/Modernnights.png);
 
     background-size: 90% 90%;
 
     background-size: 90% 90%;
 +
}
 +
 +
 +
#content table.log {
 +
min-width: 600px;
 +
width: 66%;
 +
}
 +
#content table h4 {
 +
padding: 0;
 +
margin: 0;
 +
color: #303030;
 +
}
 +
#content table td.cast {
 +
min-width: 210px;
 +
padding-right: 10px;
 +
}
 +
p {
 +
text-indent: 20px;
 +
}
 +
p.right {
 +
float: right;
 +
margin: 0;
 +
padding: 0;
 
}
 
}

Revision as of 23:14, 13 August 2021

/* 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;
  --color-gray-1: #f4f4f4;

  --color-green-8: #044317;
  --color-green-7: #0e6027;
  --color-green-6: #198038;
  --color-green-5: #24a148;
  --color-green-1: #defbe6;

  --color-purple-8: #491d8b;
  --color-purple-7: #6929c4;
  --color-purple-6: #8a3ffc;
  --color-purple-5: #a56eff;
  --color-purple-1: #f6f2ff;
  
  --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-xs);
  margin-top: var(--spacing-md);
}

#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);
}



/* 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,
.BlueBorder .character-page_heading,
.BlueBorder .character-page_heading p {
  color: var(--color-blue-1);
  background-color: var(--color-blue-7);
}
.Shaded.BlueBorder .character-page_heading,
.Shaded.BlueBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-blue-9) 0%, var(--color-blue-8) 35%, var(--color-blue-7) 100%);
}

.BlueBorder .character-page_heading,
.BlueBorder .character-page_heading .mw-headline,
.BlueBorder .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,
.TealBorder .character-page_heading,
.TealBorder .character-page_heading p {
  color: var(--color-teal-1);
  background-color: var(--color-teal-7);
}
.Shaded.TealBorder .character-page_heading,
.Shaded.TealBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-teal-9) 0%, var(--color-teal-8) 35%, var(--color-teal-7) 100%);
}

.TealBorder .character-page_heading,
.TealBorder .character-page_heading .mw-headline,
.TealBorder .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,
.RedBorder .character-page_heading,
.RedBorder .character-page_heading p {
  color: var(--color-blue-1);
  background-color: var(--color-red-7);
}
.Shaded.RedBorder .character-page_heading,
.Shaded.RedBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-red-9) 0%, var(--color-red-8) 35%, var(--color-red-7) 100%);
}

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

.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 {
  color: var(--color-pink-1);
  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);
}

.GrayText, .GrayText .mw-headline {
  color: var(--color-gray-6);
}
.Gray, .GrayBorder, .GrayBorder .character-page_panel, .GrayBorder .character-page_snapshot {
  border-color: var(--color-gray-7);
  outline-color: var(--color-gray-7);
}
.GrayBG .character-page_panel {
  background-color: var(--color-gray-1);
}
.GrayBG.GrayText {
  color: var(--color-gray-7);
}
.GrayText .character-page_quote {
  color: var(--color-gray-6);
}
.Gray .character-page_heading,
.Gray .character-page_heading p,
.GrayBorder .character-page_heading,
.GrayBorder .character-page_heading p {
  color: var(--color-gray-1);
  background-color: var(--color-gray-7);
}
.Shaded.GrayBorder .character-page_heading,
.Shaded.GrayBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-gray-9) 0%, var(--color-gray-8) 35%, var(--color-gray-7) 100%);
}

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

.GreenText, .GreenText .mw-headline {
  color: var(--color-green-6);
}
.Green, .GreenBorder, .GreenBorder .character-page_panel, .GreenBorder .character-page_snapshot {
  border-color: var(--color-green-7);
  outline-color: var(--color-green-7);
}
.GreenBG .character-page_panel {
  background-color: var(--color-green-1);
}
.GreenBG.GreenText {
  color: var(--color-green-7);
}
.GreenText .character-page_quote {
  color: var(--color-green-6);
}
.Green .character-page_heading,
.Green .character-page_heading p,
.GreenBorder .character-page_heading,
.GreenBorder .character-page_heading p {
  color: var(--color-green-1);
  background-color: var(--color-green-7);
}
.Shaded.GreenBorder .character-page_heading,
.Shaded.GreenBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-green-9) 0%, var(--color-green-8) 35%, var(--color-green-7) 100%);
}

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


.PurpleText, .PurpleText .mw-headline {
  color: var(--color-purple-6);
}
.Purple, .PurpleBorder, .PurpleBorder .character-page_panel, .PurpleBorder .character-page_snapshot {
  border-color: var(--color-purple-7);
  outline-color: var(--color-purple-7);
}
.PurpleBG .character-page_panel {
  background-color: var(--color-purple-1);
}
.PurpleBG.PurpleText {
  color: var(--color-purple-7);
}
.PurpleText .character-page_quote {
  color: var(--color-purple-6);
}
.Purple .character-page_heading,
.Purple .character-page_heading p,
.PurpleBorder .character-page_heading,
.PurpleBorder .character-page_heading p {
  color: var(--color-purple-1);
  background-color: var(--color-purple-7);
}
.Shaded.PurpleBorder .character-page_heading,
.Shaded.PurpleBorder .character-page_heading p {
  background: linear-gradient(80deg, var(--color-purple-9) 0%, var(--color-purple-8) 35%, var(--color-purple-7) 100%);
}

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

/* dont tell me what to do mom */
.mw-wiki-logo {
    background-image: url(/images/8/80/Modernnights.png);
    background-size: 90% 90%;
}


#content table.log {
min-width: 600px;
width: 66%;
}
#content table h4 {
padding: 0;
margin: 0;
color: #303030;
}
#content table td.cast {
min-width: 210px;
padding-right: 10px;
}
p {
text-indent: 20px;
}
p.right {
float: right;
margin: 0;
padding: 0;
}