MediaWiki:Common.css
Revision as of 14:54, 4 August 2021 by RoyalBatty (talk | contribs)
Note: After saving, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* 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-red-8: #da1e28; --color-red-7: #a2191f; --color-red-6: #750e13; --color-red-5: #fa4d56; --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.93rem; --font-size-md: 1.16rem; --font-size-lg: 1.45rem; --font-size-xl: 1.813rem; --font-size-2xl: 2.27rem; --font-size-3xl: 2.83rem; --font-size-4xl: 3.54rem; --spacing-3xs: 0.25rem; --spacing-2xs: 0.35rem; --spacing-xs: 0.467rem; --spacing-sm: 0.7rem; --spacing-md: 1.4rem; --spacing-lg: 2.8rem; --spacing-xl: 4.2rem; --spacing-2xl: 5.6rem; --border-radius: 0.25rem; --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 2rem 2rem 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.5rem 1rem; } .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: 1rem; } .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 1rem 1rem 0; border-radius: var(--border-radius); } .mn-content_panel, .mn-content_inset-panel { padding: 1rem } .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:1rem; text-align: center; color: #666665; font-weight: 100; font-style: italic; font-size:1.125rem; font-family: "Palatino Linotype", serif; } .character-page_heading, .character-page_heading p { background-color: #393939; background: linear-gradient(80deg, rgba(2,0,2,1) 0%, rgba(28,28,28,1) 35%, rgba(64,64,64,1) 100%); color: #ffffff; line-height:300%; text-align: center; font-size:18pt; font-variant:small-caps; padding: 0.5 1rem !important; font-weight: bold; font-family: 'Eczar', serif; border-radius: var(--border-radius); } .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; } .PinkText { color: var(--color-pink-6); } .Pink-Border { border-color: var(--color-pink-7); } .PinkBG { background-color: var(--color-pink-1); } .PinkBG.PinkText { color: var(--color-pink-7); }