MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(requested by h0g) |
||
(24 intermediate revisions by the same user not shown) | |||
Line 67: | Line 67: | ||
} | } | ||
:root { | :root { | ||
/* my name is giovanni giorgio */ | |||
--oswald-fallback: 'Oswald', 'Impact', sans-serif; | --oswald-fallback: 'Oswald', 'Impact', sans-serif; | ||
/* google doc bg */ | |||
--of-offwhite: #fffcf6; | |||
/* website, palette */ | |||
--of-tan: #f7ead6; | |||
--of-purple: #574168; | --of-purple: #574168; | ||
/* logo artwork, alpha #e0 but idk how supported hex rgba is yet */ | |||
--of-purple-translucent: rgba(87, 65, 104, .8784); | |||
/* palette */ | |||
--of-darkpurple: #433157; | --of-darkpurple: #433157; | ||
--of- | --of-mauve: #a57da0; | ||
--of- | --of-puce: #c49bac; | ||
--of-ochre: #cb7f45; | |||
/* multiplied default mediawiki greys against --of-offwhite & cranked saturation */ | |||
--of-thmult: #fff0d3; | --of-thmult: #fff0d3; | ||
--of-tdmult: #fff8ea; | --of-tdmult: #fff8ea; | ||
/* interwiki link icons */ | |||
--extlink-scale: .75em; | |||
} | } | ||
body { | body { | ||
Line 110: | Line 123: | ||
} | } | ||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading, | |||
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a, | |||
.vector-menu-tabs-legacy li a { | |||
text-shadow: 2px 2px var(--of-purple-translucent); | |||
} | |||
.vector-menu-tabs-legacy .selected a { | |||
text-shadow: initial; | |||
} | |||
.vector-menu-tabs-legacy .new a, | |||
vector-menu-tabs-legacy .new a:visited { | |||
color: var(--of-tan); | |||
text-shadow: 2px 2px #ba0000; | |||
} | |||
.mw-body { | .mw-body { | ||
border-color: transparent; | border-color: transparent; | ||
Line 183: | Line 209: | ||
image-rendering: -moz-crisp-edges; | image-rendering: -moz-crisp-edges; | ||
image-rendering: crisp-edges; | image-rendering: crisp-edges; | ||
} | |||
.extiw[href^="https://developer.valvesoftware.com"]::after { | |||
content: ""; | |||
display: inline-block; | |||
background-image: url(https://www.openfortress.wiki/w/images/9/90/Source_minified.svg); | |||
vertical-align: baseline; | |||
margin-left: 2px; | |||
width: var(--extlink-scale); | |||
height: var(--extlink-scale); | |||
background-size: var(--extlink-scale) var(--extlink-scale); | |||
} | |||
th.ambox-text, | |||
td.ambox-text { | |||
border:none; | |||
padding:0.25em 0.9em; | |||
width:100% | |||
} | |||
td.ambox-image { | |||
border:none; | |||
padding:2px 0 2px 0.9em; | |||
text-align:center | |||
} | |||
td.ambox-image2 { | |||
border:none; | |||
padding:2px 0.9em 2px 0; | |||
text-align:center | |||
} | |||
td.ambox-empty-cell { | |||
border:none; | |||
padding:0px; | |||
width:1px | |||
} | |||
table.ambox { | |||
margin:0px 10%; | |||
border-collapse: collapse; | |||
background-color: var(--of-tan); | |||
} | |||
table.ambox tbody { | |||
border-collapse: initial; | |||
} | |||
table.ambox + table.ambox { | |||
margin-top:-1px | |||
} | |||
.ambox th.ambox-text, | |||
.ambox td.ambox-text { | |||
padding:0.25em 0.5em | |||
} | |||
.ambox td.ambox-image { | |||
padding:2px 0 2px 0.5em | |||
} | |||
.ambox td.ambox-image2 { | |||
padding:2px 0.5em 2px 0 | |||
} | |||
table.ambox-notice, | |||
td.ambox-notice { | |||
border-left:10px solid #1e90ff | |||
} | |||
table.ambox-notice-2, | |||
td.ambox-notice-2 { | |||
border-left:10px solid #3f6180 | |||
} | |||
/* | |||
table.ambox-delete, | |||
table.ambox-serious { | |||
background:#fee; | |||
border:1px solid #BB7070 | |||
} | |||
*/ | |||
td.ambox-delete, | |||
td.ambox-serious { | |||
border-left:10px solid #b22222 | |||
} | |||
table.ambox-content, | |||
td.ambox-content { | |||
border-left:10px solid var(--of-ochre); | |||
} | |||
table.ambox-style, | |||
td.ambox-style { | |||
border-left:10px solid #ffcc00 | |||
} | |||
table.ambox-images, | |||
td.ambox-images { | |||
border-left:10px solid #000000 | |||
} | |||
table.ambox-protection, | |||
td.ambox-protection { | |||
border-left:10px solid #bba | |||
} | |||
table.ambox-good, | |||
td.ambox-good { | |||
border-left:10px solid #73D216 | |||
} | |||
.docbox { | |||
background-color: var(--of-tdmult); | |||
border-left: 2px solid var(--of-purple); | |||
padding-left: 12px; | |||
padding-right: 12px; | |||
padding-bottom: 10px; | |||
} | |||
.docbox > h2 { | |||
background-color: var(--of-tan); | |||
margin-left: -12px; | |||
margin-right: -12px; | |||
border-bottom: initial; | |||
padding-top: 4px; | |||
padding-bottom: 8px; | |||
padding-left: 12px; | |||
padding-right: 12px; | |||
} | |||
.docbox > h2 > .mw-editsection { | |||
display: none; | |||
visibility: hidden; | |||
} | |||
.docbox-edit { | |||
font-weight: 300; | |||
} | |||
.mp-container { | |||
background-color: #574168; | |||
border-radius: 8px; | |||
padding: 8px; | |||
display: inline-block; | |||
font-size: 16px; | |||
} | |||
.mp-catagoryContainer { | |||
background-color: #574168; | |||
border-radius: 8px; | |||
padding: 8px; | |||
display: flex; | |||
justify-content: space-around; | |||
font-size: oswald(8px, 1vw, 20px); | |||
text-align: center; | |||
} | } |
Latest revision as of 04:33, 25 January 2025
/* 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 { /* my name is giovanni giorgio */ --oswald-fallback: 'Oswald', 'Impact', sans-serif; /* google doc bg */ --of-offwhite: #fffcf6; /* website, palette */ --of-tan: #f7ead6; --of-purple: #574168; /* logo artwork, alpha #e0 but idk how supported hex rgba is yet */ --of-purple-translucent: rgba(87, 65, 104, .8784); /* palette */ --of-darkpurple: #433157; --of-mauve: #a57da0; --of-puce: #c49bac; --of-ochre: #cb7f45; /* multiplied default mediawiki greys against --of-offwhite & cranked saturation */ --of-thmult: #fff0d3; --of-tdmult: #fff8ea; /* interwiki link icons */ --extlink-scale: .75em; } 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); } .vector-legacy-sidebar .vector-menu-portal .vector-menu-heading, .vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a, .vector-menu-tabs-legacy li a { text-shadow: 2px 2px var(--of-purple-translucent); } .vector-menu-tabs-legacy .selected a { text-shadow: initial; } .vector-menu-tabs-legacy .new a, vector-menu-tabs-legacy .new a:visited { color: var(--of-tan); text-shadow: 2px 2px #ba0000; } .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; } .pixelart img { image-rendering: pixelated; image-rendering: -moz-crisp-edges; image-rendering: crisp-edges; } .extiw[href^="https://developer.valvesoftware.com"]::after { content: ""; display: inline-block; background-image: url(https://www.openfortress.wiki/w/images/9/90/Source_minified.svg); vertical-align: baseline; margin-left: 2px; width: var(--extlink-scale); height: var(--extlink-scale); background-size: var(--extlink-scale) var(--extlink-scale); } th.ambox-text, td.ambox-text { border:none; padding:0.25em 0.9em; width:100% } td.ambox-image { border:none; padding:2px 0 2px 0.9em; text-align:center } td.ambox-image2 { border:none; padding:2px 0.9em 2px 0; text-align:center } td.ambox-empty-cell { border:none; padding:0px; width:1px } table.ambox { margin:0px 10%; border-collapse: collapse; background-color: var(--of-tan); } table.ambox tbody { border-collapse: initial; } table.ambox + table.ambox { margin-top:-1px } .ambox th.ambox-text, .ambox td.ambox-text { padding:0.25em 0.5em } .ambox td.ambox-image { padding:2px 0 2px 0.5em } .ambox td.ambox-image2 { padding:2px 0.5em 2px 0 } table.ambox-notice, td.ambox-notice { border-left:10px solid #1e90ff } table.ambox-notice-2, td.ambox-notice-2 { border-left:10px solid #3f6180 } /* table.ambox-delete, table.ambox-serious { background:#fee; border:1px solid #BB7070 } */ td.ambox-delete, td.ambox-serious { border-left:10px solid #b22222 } table.ambox-content, td.ambox-content { border-left:10px solid var(--of-ochre); } table.ambox-style, td.ambox-style { border-left:10px solid #ffcc00 } table.ambox-images, td.ambox-images { border-left:10px solid #000000 } table.ambox-protection, td.ambox-protection { border-left:10px solid #bba } table.ambox-good, td.ambox-good { border-left:10px solid #73D216 } .docbox { background-color: var(--of-tdmult); border-left: 2px solid var(--of-purple); padding-left: 12px; padding-right: 12px; padding-bottom: 10px; } .docbox > h2 { background-color: var(--of-tan); margin-left: -12px; margin-right: -12px; border-bottom: initial; padding-top: 4px; padding-bottom: 8px; padding-left: 12px; padding-right: 12px; } .docbox > h2 > .mw-editsection { display: none; visibility: hidden; } .docbox-edit { font-weight: 300; } .mp-container { background-color: #574168; border-radius: 8px; padding: 8px; display: inline-block; font-size: 16px; } .mp-catagoryContainer { background-color: #574168; border-radius: 8px; padding: 8px; display: flex; justify-content: space-around; font-size: oswald(8px, 1vw, 20px); text-align: center; }