MediaWiki:Common.css: Difference between revisions

From Open Fortress Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
/* cyrillic-ext */
/* cyrillic-ext */
@font-face {
@font-face {
Line 46: Line 45:
}
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
   font-family: 'Oswald', 'Impact', sans-serif;
   font-family: var(--oswald-fallback);
 
}
}
.mw-body h1, .mw-body-content h1 {
.mw-body h1, .mw-body-content h1 {
Line 60: Line 58:
}
}
:root {
:root {
  --oswald-fallback: 'Oswald', 'Impact', sans-serif;
   --of-purple: #574168;
   --of-purple: #574168;
   --of-tan: #f7ead6;
   --of-tan: #f7ead6;
Line 77: Line 76:
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a {
     color: var(--of-tan);
     color: var(--of-tan);
     font-family: 'Oswald'
     font-family: var(--oswald-fallback);
}
}


Line 95: Line 94:
     background-size: initial;
     background-size: initial;


}
.vector-menu-tabs {
  font-family: var(--oswald-fallback);
}
}
.vector-menu-tabs-legacy li {
.vector-menu-tabs-legacy li {
Line 100: Line 102:
     background-position: initial;
     background-position: initial;
     background-repeat: initial;
     background-repeat: initial;
}
.vector-menu-tabs-legacy li a {
    height: 39px;
    padding: initial;
    font-size: 1.25em;
    font-weight: 700;
    padding: 8px;
    color: var(--of-tan);
}
}
.vector-menu-tabs-legacy .selected {
.vector-menu-tabs-legacy .selected {
     background: var(--of-offwhite);
     background: initial;
    background-image: initial;
    background-color: var(--of-offwhite);
     color: var(--of-purple);
     color: var(--of-purple);
}
}
</includeonly>
.vector-menu-tabs-legacy .selected a {
    color: var(--of-purple);
}
pre.mw-code.mw-css {
  display: none;
}
.vector-menu-content {
    position: relative;
    left: -1px;
}

Revision as of 15:25, 19 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;
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
  font-family: var(--oswald-fallback);
}
.mw-body h1, .mw-body-content h1 {
  font-weight: 700;
}
.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-tan: #f7ead6;
  --of-offwhite: #fffcf6;
}
body {
  background-color: var(--of-purple);
}
.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-content li a {
    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: 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 {
    color: var(--of-purple);
}
pre.mw-code.mw-css {
  display: none;
}
.vector-menu-content {
    position: relative;
    left: -1px;
}