Difference between revisions of "MediaWiki:Common.css"

From Modern Nights
Jump to: navigation, search
Line 82: Line 82:
 
}
 
}
  
.character-page {
+
.character-page, .mn-content {
 
   max-width:1200px;
 
   max-width:1200px;
 
   display: flex;
 
   display: flex;

Revision as of 12:18, 21 July 2021

/* CSS placed here will be applied to all skins */

:root {
  --background: #f4f4f4;
  --interactive-1: #666667; /* primary */
  --interactive-2: #393939 /* secondary */
  --interactive-3: #0f62fe; /* tertiary */
  --interactive-active-accent: #0f62fe;
  --danger-1: #da1e28;
  --danger-2: #da1e28;
  --secondary-background: #ffffff;
  --secondary-background-light: #f4f4f4;
  --secondary-background-subtle-border: #e0e0e0;
  --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 {
  background-color: var(--background); 
}

#mw-page-base {
  background-image: none;
}

#toc {
  margin: 0 2rem 2rem 0;
  float: left;
}

.mw-body {
border: none
}

h1, h2, h3, h4, h5, h6 {
border-bottom: none;
}

.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.5rem 1rem;
}

.mn-content_horizontal-nav a{
color: var(--text-interactive);
}

.character-page, .mn-content {
  max-width:1200px;
  display: flex;
  flex-direction: row;
}

.character-page_section {
  padding: 1rem;
}

.character-page_panel, .mn-content_panel {
  min-width: 320px;
  width: auto;
  margin: 0 1rem 1rem 0;
  border: 0.25rem solid var(--high-contrast-border);
  border-radius: 0.25rem;
  box-shadow: 5px 10px 5px var(--secondary-background-subtle-border);
}
.mn-content_panel {
  padding: 1rem
}

.character-page_quote {
  padding:1rem;
  text-align: center; 
  color: #666665;
  font-weight: 100;
  font-style: italic;
  font-size:1.125rem;
  font-family: "Palatino Linotype", serif;
}

.character-page_heading {
  background-color: #393939;
  color: #ffffff;
  line-height:300%;
  text-align: center;
  font-size:18pt; 
  font-variant:small-caps;
  padding: 0.5 1rem !important;
  font-weight: bold
}

.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.25rem;
}

.character-page_contact p {
  display:flex;
  flex-direction: row;
  align-items: center;
}

.character-page_contact p a {
  width: 150px;
  height: auto;
  margin-right: 1rem;
}