+ 
Telepath70 (talk | contribs) |
Telepath70 (talk | contribs) |
||
| Line 20: | Line 20: | ||
--bg: oklch(sqrt(calc(23/24)) pow(calc(1/18), 2) 180deg); | --bg: oklch(sqrt(calc(23/24)) pow(calc(1/18), 2) 180deg); | ||
| + | --bg2: oklch(sqrt(calc(1/24)) pow(calc(4/18), 2) 225deg); | ||
--grey: oklch(sqrt(calc(22/24)) pow(calc(1/18), 2) 210deg); | --grey: oklch(sqrt(calc(22/24)) pow(calc(1/18), 2) 210deg); | ||
--dgrey: oklch(sqrt(calc(18/24)) pow(calc(1/18), 2) 225deg); | --dgrey: oklch(sqrt(calc(18/24)) pow(calc(1/18), 2) 225deg); | ||
| + | --ddgrey: oklch(sqrt(calc(4/24)) pow(calc(4/18), 2) 225deg); | ||
--text: oklch(sqrt(calc(2/24)) pow(calc(3/18), 2) 240deg); | --text: oklch(sqrt(calc(2/24)) pow(calc(3/18), 2) 240deg); | ||
--head: oklch(sqrt(calc(3/24)) pow(calc(3/18), 2) 210deg); | --head: oklch(sqrt(calc(3/24)) pow(calc(3/18), 2) 210deg); | ||
| Line 28: | Line 30: | ||
--white: oklch(sqrt(calc(71/72)) pow(calc(1/18), 2) 180deg); | --white: oklch(sqrt(calc(71/72)) pow(calc(1/18), 2) 180deg); | ||
--red: oklch(sqrt(calc(7/24)) pow(calc(8/18), 2) 45deg); | --red: oklch(sqrt(calc(7/24)) pow(calc(8/18), 2) 45deg); | ||
| + | --orange: oklch(sqrt(calc(15/24)) pow(calc(7/18), 2) 75deg); | ||
overscroll-behavior: none; | overscroll-behavior: none; | ||
| Line 33: | Line 36: | ||
body { | body { | ||
| + | overflow-wrap: anywhere; | ||
| + | background-color: var(--bg2); | ||
| + | background-blend-mode: screen; | ||
| + | background-attachment: fixed; | ||
| + | } | ||
| + | |||
| + | body, .subtitle, h1, h2, h3, h4, h5, h6 { | ||
font-family: var(--sans); | font-family: var(--sans); | ||
| − | |||
} | } | ||
| Line 41: | Line 50: | ||
} | } | ||
| − | code, kbd, pre, samp, #wpTextbox1, .diff-deletedline, .diff-addedline, .diff-context { | + | code, kbd, pre, samp, textarea#wpTextbox1, .diff-deletedline, .diff-addedline, .diff-context { |
font-family: var(--mono) !important; | font-family: var(--mono) !important; | ||
} | } | ||
| Line 47: | Line 56: | ||
h2 { | h2 { | ||
font-family: "Miasm", var(--sans); | font-family: "Miasm", var(--sans); | ||
| + | font-size: 2em; | ||
& .mw-editsection { | & .mw-editsection { | ||
font-family: var(--sans); | font-family: var(--sans); | ||
} | } | ||
| + | } | ||
| + | |||
| + | h3, .ns-subject h3 { | ||
| + | text-decoration: none; | ||
| + | font-weight: 700; | ||
| + | color: var(--dark); | ||
| + | font-size: 1.5em; | ||
| + | padding-left: 0; | ||
| + | } | ||
| + | |||
| + | h4 { | ||
| + | font-weight: 800; | ||
| + | color: var(--dark); | ||
| + | font-size: 1.25em; | ||
| + | } | ||
| + | |||
| + | h5 { | ||
| + | font-weight: 900; | ||
| + | color: var(--dark); | ||
| + | font-size: 1em; | ||
| + | } | ||
| + | |||
| + | h6 { | ||
| + | font-weight: 700; | ||
| + | color: var(--dark); | ||
| + | font-size: 1em; | ||
} | } | ||
.title { | .title { | ||
font-family: "Strasua", var(--sans); | font-family: "Strasua", var(--sans); | ||
| − | font-size: | + | font-size: 4em; |
| + | color: var(--ddgrey); | ||
} | } | ||
| Line 71: | Line 108: | ||
} | } | ||
| − | + | .smw-editpage-help, input#wpPreview { | |
background-color: var(--grey); | background-color: var(--grey); | ||
border-color: var(--dgrey); | border-color: var(--dgrey); | ||
| + | } | ||
| + | |||
| + | table tr:nth-of-type(odd), table.wikitable tr > th { | ||
| + | background-color: var(--grey); | ||
| + | } | ||
| + | |||
| + | table.wikitable tr > th { | ||
| + | background-color: var(--dgrey); | ||
} | } | ||
textarea, input:not([type]), input[type="search"], table tr:nth-of-type(even), li.gallerybox div.thumb { | textarea, input:not([type]), input[type="search"], table tr:nth-of-type(even), li.gallerybox div.thumb { | ||
background-color: var(--white); | background-color: var(--white); | ||
| + | } | ||
| + | |||
| + | table, table * { | ||
| + | border-color: var(--white); | ||
| + | } | ||
| + | |||
| + | tbody { | ||
| + | border-color: var(--dgrey); | ||
| + | border-style: solid; | ||
| + | border-width: 1px; | ||
} | } | ||
a, .wikiEditor-ui-tabs div a, .wikiEditor-ui-toolbar .tabs span.tab a { | a, .wikiEditor-ui-tabs div a, .wikiEditor-ui-toolbar .tabs span.tab a { | ||
| + | color: var(--accent); | ||
| + | } | ||
| + | |||
| + | p :not(b) a, li :not(b) a { | ||
font-weight: 450; | font-weight: 450; | ||
| − | + | } | |
| + | |||
| + | #latestnewsv2 a { | ||
| + | font-weight: inherit; | ||
} | } | ||
| Line 96: | Line 158: | ||
#navwrapper .top-bar { | #navwrapper .top-bar { | ||
background: var(--accent); | background: var(--accent); | ||
| + | } | ||
| + | |||
| + | ul.dropdown li { | ||
| + | background-color: var(--dark); | ||
} | } | ||
| Line 115: | Line 181: | ||
} | } | ||
| − | footer.row { | + | blockquote p, footer.row { |
| − | color: var(-- | + | color: var(--ddgrey); |
| + | } | ||
| + | |||
| + | blockquote { | ||
| + | border-left-color: var(--orange); | ||
} | } | ||
.previewnote { | .previewnote { | ||
color: var(--red); | color: var(--red); | ||
| + | } | ||
| + | |||
| + | th[style] { | ||
| + | font-size: 1em !important; | ||
| + | } | ||
| + | |||
| + | html #toc ul, .toc ul { | ||
| + | list-style-type: "\2B22\20"; | ||
| + | color: var(--dark); | ||
| + | } | ||
| + | |||
| + | html #toc ul ul, .toc ul ul { | ||
| + | list-style-type: "\2B21\20"; | ||
| + | } | ||
| + | |||
| + | #toc, .toc { | ||
| + | background-color: var(--white); | ||
| + | border-color: var(--dgrey); | ||
| + | border-style: solid; | ||
| + | border-width: 1px; | ||
| + | padding: 8px; | ||
| + | max-width: fit-content; | ||
| + | } | ||
| + | |||
| + | .top-bar-section ul li ul.dropdown li > a, .top-bar, .top-bar-section ul, .top-bar-section ul li.active > a, .top-bar-section li a:not(.button) { | ||
| + | color: var(--white); | ||
| + | } | ||
| + | |||
| + | .top-bar-section ul li.hover > a, .top-bar-section ul li ul.dropdown li.hover > a, top-bar-section ul li ul.dropdown li.hover > a { | ||
| + | color: var(--orange); | ||
} | } | ||
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono:wdth,[email protected],100..900&family=Noto+Sans+Symbols+2&family=Noto+Sans:ital,wdth,wght@0,62.5..100,100..900;1,62.5..100,100..900&display=swap');
@font-face {
font-family: "Miasm";
src: url(https://bocpages.org/assets/fonts/miasm.ttf) format(truetype);
font-display: swap;
unicode-range: U+20-7E, U+A0, U+A9, U+C5, U+E5;
}
@font-face {
font-family: "Strasua";
src: url(https://bocpages.org/assets/fonts/strasua.ttf) format(truetype);
font-display: swap;
unicode-range: U+20-5A, U+5C, U+5F-7A, U+7C, U+A1, U+A3, U+A5, U+A8-A9, U+AB, U+AE, U+B4, U+B8, U+BB, U+BF-D6, U+D8-F6, U+F8-FF, U+131, U+141-142, U+152-153, U+160-161, U+178, U+17D-17E, U+2C6-2C7, U+2DA, U+2DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2044, U+20AC, U+2122;
}
html {
--sans: "Noto Sans", "Noto Sans Symbol 2", "Tahoma", sans-serif;
--mono: "Noto Sans Mono", "Andale Mono", monospace;
--bg: oklch(sqrt(calc(23/24)) pow(calc(1/18), 2) 180deg);
--bg2: oklch(sqrt(calc(1/24)) pow(calc(4/18), 2) 225deg);
--grey: oklch(sqrt(calc(22/24)) pow(calc(1/18), 2) 210deg);
--dgrey: oklch(sqrt(calc(18/24)) pow(calc(1/18), 2) 225deg);
--ddgrey: oklch(sqrt(calc(4/24)) pow(calc(4/18), 2) 225deg);
--text: oklch(sqrt(calc(2/24)) pow(calc(3/18), 2) 240deg);
--head: oklch(sqrt(calc(3/24)) pow(calc(3/18), 2) 210deg);
--accent: oklch(sqrt(calc(7/24)) pow(calc(6/18), 2) 210deg);
--dark: oklch(sqrt(calc(4/24)) pow(calc(6/18), 2) 220deg);
--white: oklch(sqrt(calc(71/72)) pow(calc(1/18), 2) 180deg);
--red: oklch(sqrt(calc(7/24)) pow(calc(8/18), 2) 45deg);
--orange: oklch(sqrt(calc(15/24)) pow(calc(7/18), 2) 75deg);
overscroll-behavior: none;
}
body {
overflow-wrap: anywhere;
background-color: var(--bg2);
background-blend-mode: screen;
background-attachment: fixed;
}
body, .subtitle, h1, h2, h3, h4, h5, h6 {
font-family: var(--sans);
}
body, table tr th, table tr td {
color: var(--text);
}
code, kbd, pre, samp, textarea#wpTextbox1, .diff-deletedline, .diff-addedline, .diff-context {
font-family: var(--mono) !important;
}
h2 {
font-family: "Miasm", var(--sans);
font-size: 2em;
& .mw-editsection {
font-family: var(--sans);
}
}
h3, .ns-subject h3 {
text-decoration: none;
font-weight: 700;
color: var(--dark);
font-size: 1.5em;
padding-left: 0;
}
h4 {
font-weight: 800;
color: var(--dark);
font-size: 1.25em;
}
h5 {
font-weight: 900;
color: var(--dark);
font-size: 1em;
}
h6 {
font-weight: 700;
color: var(--dark);
font-size: 1em;
}
.title {
font-family: "Strasua", var(--sans);
font-size: 4em;
color: var(--ddgrey);
}
.mw-editsection {
margin-left: 1em;
font-size: small;
}
body:not(.page-About) #latestnewsv2 {
display: none;
}
#page-content .row {
background-color: var(--bg);
}
.smw-editpage-help, input#wpPreview {
background-color: var(--grey);
border-color: var(--dgrey);
}
table tr:nth-of-type(odd), table.wikitable tr > th {
background-color: var(--grey);
}
table.wikitable tr > th {
background-color: var(--dgrey);
}
textarea, input:not([type]), input[type="search"], table tr:nth-of-type(even), li.gallerybox div.thumb {
background-color: var(--white);
}
table, table * {
border-color: var(--white);
}
tbody {
border-color: var(--dgrey);
border-style: solid;
border-width: 1px;
}
a, .wikiEditor-ui-tabs div a, .wikiEditor-ui-toolbar .tabs span.tab a {
color: var(--accent);
}
p :not(b) a, li :not(b) a {
font-weight: 450;
}
#latestnewsv2 a {
font-weight: inherit;
}
body a:hover, .wikiEditor-ui-toolbar .tabs span.tab a:hover {
color: var(--dark);
text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
color: var(--head);
}
#navwrapper .top-bar {
background: var(--accent);
}
ul.dropdown li {
background-color: var(--dark);
}
button, .button, input[type="submit"], .label {
background-color: var(--accent);
border-color: oklch(from var(--accent) sqrt(calc(2/24)) c h);
}
button:hover, .button:hover, input[type="submit"]:hover, .label:hover {
background-color: var(--dark);
}
input#wpPreview:hover {
background-color: var(--dgrey);
}
button, .button, input[type="submit"], input#wpPreview {
transition: none;
}
blockquote p, footer.row {
color: var(--ddgrey);
}
blockquote {
border-left-color: var(--orange);
}
.previewnote {
color: var(--red);
}
th[style] {
font-size: 1em !important;
}
html #toc ul, .toc ul {
list-style-type: "\2B22\20";
color: var(--dark);
}
html #toc ul ul, .toc ul ul {
list-style-type: "\2B21\20";
}
#toc, .toc {
background-color: var(--white);
border-color: var(--dgrey);
border-style: solid;
border-width: 1px;
padding: 8px;
max-width: fit-content;
}
.top-bar-section ul li ul.dropdown li > a, .top-bar, .top-bar-section ul, .top-bar-section ul li.active > a, .top-bar-section li a:not(.button) {
color: var(--white);
}
.top-bar-section ul li.hover > a, .top-bar-section ul li ul.dropdown li.hover > a, top-bar-section ul li ul.dropdown li.hover > a {
color: var(--orange);
}