MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* --------------------------------------------- | /* --------------------------------------------- | ||
OSRS Wiki-Inspired | OSRS Wiki-Inspired Global Styles & Variables | ||
--------------------------------------------- */ | --------------------------------------------- */ | ||
/* | :root { | ||
--body-background-image: url("/resources/assets/bg.png"); | |||
--body-background-color: #c0a886; | |||
--content-background-color: #fdf9f3; | |||
--text-color: #2e2e2e; | |||
--link-color: #3366cc; | |||
--body-border: #d4c4a3; | |||
--body-light: #fdfaf4; | |||
--body-dark: #b89e74; | |||
--body-mid: #e0d5c3; | |||
--background-link-color: #4c4c4c; | |||
} | |||
/* Font + base style */ | |||
body, | body, | ||
table, | table, | ||
th, | |||
td, | td, | ||
input, | input, | ||
select, | select, | ||
Line 13: | Line 26: | ||
font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif; | font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif; | ||
font-size: 0.95em; | font-size: 0.95em; | ||
color: | color: var(--text-color); | ||
background: none; | background: none; | ||
} | } | ||
/* | /* Category links */ | ||
#catlinks { | #catlinks { | ||
background: none; | background: none; | ||
border-top: 1px solid | border-top: 1px solid var(--body-border); | ||
margin-top: 2em; | margin-top: 2em; | ||
padding-top: 0.5em; | padding-top: 0.5em; | ||
Line 27: | Line 39: | ||
} | } | ||
/* | /* Inputs and forms */ | ||
input, | input, | ||
textarea, | textarea, | ||
Line 128: | Line 48: | ||
} | } | ||
input:focus, | input:focus, | ||
textarea:focus, | textarea:focus, | ||
Line 136: | Line 55: | ||
} | } | ||
/* | /* Pre/code */ | ||
pre, | pre, | ||
code { | code { | ||
font-family: Consolas, Monaco, monospace; | font-family: Consolas, Monaco, monospace; | ||
background: #f5f2e7; | |||
border: 1px solid var(--body-border); | |||
padding: 0.6em; | |||
font-size: 0.9em; | font-size: 0.9em; | ||
overflow: auto; | |||
} | } |
Revision as of 22:00, 1 May 2025
/* ---------------------------------------------
OSRS Wiki-Inspired Global Styles & Variables
--------------------------------------------- */
:root {
--body-background-image: url("/resources/assets/bg.png");
--body-background-color: #c0a886;
--content-background-color: #fdf9f3;
--text-color: #2e2e2e;
--link-color: #3366cc;
--body-border: #d4c4a3;
--body-light: #fdfaf4;
--body-dark: #b89e74;
--body-mid: #e0d5c3;
--background-link-color: #4c4c4c;
}
/* Font + base style */
body,
table,
th,
td,
input,
select,
textarea {
font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
font-size: 0.95em;
color: var(--text-color);
background: none;
}
/* Category links */
#catlinks {
background: none;
border-top: 1px solid var(--body-border);
margin-top: 2em;
padding-top: 0.5em;
text-align: center;
}
/* Inputs and forms */
input,
textarea,
select {
border: 1px solid #c6b28f;
padding: 4px;
border-radius: 2px;
}
input:focus,
textarea:focus,
select:focus {
outline: none;
border-color: #a48f6f;
}
/* Pre/code */
pre,
code {
font-family: Consolas, Monaco, monospace;
background: #f5f2e7;
border: 1px solid var(--body-border);
padding: 0.6em;
font-size: 0.9em;
overflow: auto;
}