MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
:root { | :root { | ||
--ohms-bg: # | --ohms-bg: #111318; | ||
--ohms- | --ohms-panel: #1b1e25; | ||
--ohms- | --ohms-panel-2: #15181f; | ||
--ohms-text: #f3f4f6; | --ohms-text: #f3f4f6; | ||
--ohms | --ohms-soft: #9ca3af; | ||
--ohms-red: #d91e00; | --ohms-red: #d91e00; | ||
--ohms-red-dark: # | --ohms-red-dark: #b71a00; | ||
--ohms-trim: # | --ohms-trim: #2a3d55; | ||
--ohms-border: # | --ohms-border: #2e3440; | ||
} | } | ||
html, body { | |||
html, | |||
body { | |||
background: var(--ohms-bg) !important; | background: var(--ohms-bg) !important; | ||
color: var(--ohms-text) !important; | color: var(--ohms-text) !important; | ||
| Line 21: | Line 17: | ||
} | } | ||
#content, | #content, | ||
.mw-body, | .mw-body, | ||
.mw-page-container, | .mw-page-container, | ||
.skin-minerva .content, | .skin-minerva .content, | ||
#mw-content-text, | #mw-content-text, | ||
| Line 52: | Line 29: | ||
} | } | ||
a, | |||
.mw-parser-output a { | |||
. | color: var(--ohms-red) !important; | ||
color: var(--ohms- | |||
} | } | ||
a:hover, | |||
.mw-parser-output a:hover { | |||
.mw- | color: #ff5b3d !important; | ||
color: | |||
} | } | ||
h1, h2, h3, h4, h5, h6, | h1, h2, h3, h4, h5, h6, | ||
.firstHeading, | .firstHeading, | ||
| Line 81: | Line 44: | ||
color: var(--ohms-text) !important; | color: var(--ohms-text) !important; | ||
font-weight: 800; | font-weight: 800; | ||
} | } | ||
h2, | h2, h3 { | ||
h3 { | |||
border-bottom: 1px solid var(--ohms-trim) !important; | border-bottom: 1px solid var(--ohms-trim) !important; | ||
padding-bottom: 8px; | padding-bottom: 8px; | ||
} | } | ||
#mw-navigation, | |||
. | .minerva-header, | ||
header, | |||
# | nav, | ||
.mw- | #footer, | ||
.mw-footer { | |||
background: var(--ohms-panel-2) !important; | |||
color: var(--ohms-text) !important; | |||
border-color: var(--ohms-trim) !important; | |||
color: var(--ohms-text- | } | ||
input, | |||
textarea, | |||
select { | |||
background: var(--ohms-panel) !important; | |||
color: var(--ohms-text) !important; | |||
border: 1px solid var(--ohms-border) !important; | |||
border-radius: 12px !important; | |||
} | } | ||
button, | button, | ||
input[type="submit"], | input[type="submit"], | ||
| Line 109: | Line 77: | ||
a.mw-ui-button { | a.mw-ui-button { | ||
background: var(--ohms-red) !important; | background: var(--ohms-red) !important; | ||
color: # | color: #fff !important; | ||
border: none !important; | border: none !important; | ||
border-radius: 14px !important; | border-radius: 14px !important; | ||
font-weight: 700 !important; | |||
padding: 10px 18px !important; | padding: 10px 18px !important; | ||
} | } | ||
| Line 123: | Line 90: | ||
a.mw-ui-button:hover { | a.mw-ui-button:hover { | ||
background: var(--ohms-red-dark) !important; | background: var(--ohms-red-dark) !important; | ||
} | } | ||
table, | table, | ||
.wikitable, | .wikitable, | ||
| Line 150: | Line 97: | ||
.thumbinner, | .thumbinner, | ||
.mw-message-box, | .mw-message-box, | ||
#toc, | |||
.toc, | |||
background: var(--ohms- | .catlinks { | ||
background: var(--ohms-panel) !important; | |||
color: var(--ohms-text) !important; | color: var(--ohms-text) !important; | ||
border: 1px solid var(--ohms-trim) !important; | border: 1px solid var(--ohms-trim) !important; | ||
| Line 163: | Line 111: | ||
} | } | ||
small, | |||
#siteSub, | |||
#contentSub, | |||
.mw-body-content { | .mw-body-content { | ||
color: var(--ohms-soft) !important; | |||
color: var(--ohms- | |||
} | } | ||
img { | img { | ||
border-radius: 12px; | border-radius: 12px; | ||
} | } | ||
Revision as of 03:52, 4 April 2026
:root {
--ohms-bg: #111318;
--ohms-panel: #1b1e25;
--ohms-panel-2: #15181f;
--ohms-text: #f3f4f6;
--ohms-soft: #9ca3af;
--ohms-red: #d91e00;
--ohms-red-dark: #b71a00;
--ohms-trim: #2a3d55;
--ohms-border: #2e3440;
}
html, body {
background: var(--ohms-bg) !important;
color: var(--ohms-text) !important;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
#content,
.mw-body,
.mw-page-container,
.skin-minerva .content,
#mw-content-text,
.mw-parser-output {
background: var(--ohms-bg) !important;
color: var(--ohms-text) !important;
border: none !important;
box-shadow: none !important;
}
a,
.mw-parser-output a {
color: var(--ohms-red) !important;
}
a:hover,
.mw-parser-output a:hover {
color: #ff5b3d !important;
}
h1, h2, h3, h4, h5, h6,
.firstHeading,
#firstHeading {
color: var(--ohms-text) !important;
font-weight: 800;
}
h2, h3 {
border-bottom: 1px solid var(--ohms-trim) !important;
padding-bottom: 8px;
}
#mw-navigation,
.minerva-header,
header,
nav,
#footer,
.mw-footer {
background: var(--ohms-panel-2) !important;
color: var(--ohms-text) !important;
border-color: var(--ohms-trim) !important;
}
input,
textarea,
select {
background: var(--ohms-panel) !important;
color: var(--ohms-text) !important;
border: 1px solid var(--ohms-border) !important;
border-radius: 12px !important;
}
button,
input[type="submit"],
input[type="button"],
.mw-ui-button,
a.mw-ui-button {
background: var(--ohms-red) !important;
color: #fff !important;
border: none !important;
border-radius: 14px !important;
font-weight: 700 !important;
padding: 10px 18px !important;
}
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
.mw-ui-button:hover,
a.mw-ui-button:hover {
background: var(--ohms-red-dark) !important;
}
table,
.wikitable,
.infobox,
.thumbinner,
.mw-message-box,
#toc,
.toc,
.catlinks {
background: var(--ohms-panel) !important;
color: var(--ohms-text) !important;
border: 1px solid var(--ohms-trim) !important;
border-radius: 18px !important;
}
th,
td {
border-color: var(--ohms-border) !important;
}
small,
#siteSub,
#contentSub,
.mw-body-content {
color: var(--ohms-soft) !important;
}
img {
border-radius: 12px;
}