MediaWiki:Common.css: Difference between revisions

From Open Fortress Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 104: Line 104:
     margin-left: 8px;
     margin-left: 8px;
}
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
     color: var(--of-tan);
     color: var(--of-tan);
     font-family: var(--oswald-fallback);
     font-family: var(--oswald-fallback);
Line 146: Line 147:
     color: var(--of-purple);
     color: var(--of-purple);
}
}
.vector-menu-tabs-legacy .selected a {
 
    color: var(--of-purple);
.vector-menu-tabs-legacy .selected a,
.vector-menu-tabs-legacy .selected a:visited {
  color: var(--of-purple);
}
}
pre.mw-code.mw-css {
pre.mw-code.mw-css {

Revision as of 03:53, 20 August 2024

/* cyrillic-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://www.openfortress.wiki/w/images/e/ef/Oswald-Variable-200-700-Extended.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://www.openfortress.wiki/w/images/e/ef/Oswald-Variable-200-700-Extended.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://www.openfortress.wiki/w/images/e/ef/Oswald-Variable-200-700-Extended.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://www.openfortress.wiki/w/images/e/ef/Oswald-Variable-200-700-Extended.woff2) format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Oswald';
  font-style: normal;
  font-weight: 200 700;
  font-display: swap;
  src: url(https://www.openfortress.wiki/w/images/c/c3/Oswald-Variable-200-700-Latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
h1, h2 {
  border-bottom: 2px solid var(--of-darkpurple);
}
h2 {
  border-width: 1px;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
  padding-bottom: 4px;
  font-family: var(--oswald-fallback);
  color: var(--of-darkpurple);
}
.mw-body h1, .mw-body-content h1 {
  font-weight: 700;
  font-size: 2em;
}
.mw-body-content h2 {
  font-weight: 500;
}
#mw-page-base {
  background-color: transparent;
  background-image: initial;
}
:root {
  --oswald-fallback: 'Oswald', 'Impact', sans-serif;
  --of-purple: #574168;
  --of-darkpurple: #433157;
  --of-tan: #f7ead6;
  --of-offwhite: #fffcf6;
  /* --of-tdmult: #f8f6f1; */
  --of-thmult: #fff0d3;
  --of-tdmult: #fff8ea;
}
body {
  background-color: var(--of-purple);
  background-image: url(https://www.openfortress.wiki/w/images/archive/8/8e/20240819165628%21Wiseau_pano.png);
  background-repeat: no-repeat;
  background-position: left -50px;
}
.mw-body, .parsoid-body {
  background-color: var(--of-offwhite);
}

.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li {
  font-size: initial;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading {
    color: var(--of-tan);
    font-size: initial;
    font-family: var(--oswald-fallback);
    font-weight: initial;
    background-image: initial;
    border-bottom: 2px solid var(--of-tan);
    margin-left: 0;
    font-weight: 700;
    padding-bottom: 2px;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading span {
    opacity: 0.8;
    margin-left: 8px;
}
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a,
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited {
    color: var(--of-tan);
    font-family: var(--oswald-fallback);
}

.mw-body {
  border-color: transparent;
}

pre, code, .mw-code {
    background-color: var(--of-tan);
    color: initial;
    border-color: var(--of-tan);
}

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading {
    background-image: initial;
    background-repeat: initial;
    background-size: initial;
}
.vector-menu-tabs {
  font-family: var(--oswald-fallback);
}
.vector-menu-tabs-legacy li {
    background-image: initial;
    background-position: initial;
    background-repeat: initial;
}
.vector-menu-tabs-legacy li a {
    height: 39px;
    padding: initial;
    font-size: 1.25em;
    font-weight: 700;
    padding: 10px 8px 6px 8px;
    color: var(--of-tan);
}
.vector-menu-tabs-legacy .selected {
    background: initial;
    background-image: initial;
    background-color: var(--of-offwhite);
    color: var(--of-purple);
}

.vector-menu-tabs-legacy .selected a,
.vector-menu-tabs-legacy .selected a:visited {
   color: var(--of-purple);
}
pre.mw-code.mw-css {
  display: none;
}
.vector-menu-content {
    position: relative;
    left: -1px;
}
.wikitable {
    background-color: var(--of-tdmult);
}
.wikitable > tr > th, .wikitable > * > tr > th {
    background-color: var(--of-tan);
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
    border: 2px solid var(--of-offwhite);
}
#p-logo a {
  background-size: 135px 135px;
}
.catlinks {
  background-color: var(--of-tan);
  border-color: var(--of-tan);
  font-family: var(--oswald-fallback);
}
.mw-normal-catlinks {
  padding-left: 4px;
}