MediaWiki:Vector.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* --------------------------------------------- | |||
OSRS Wiki-Inspired Global Styles & Variables | |||
--------------------------------------------- */ | |||
:root { | :root { | ||
--body-background-image: url( | --body-background-image: url("/resources/assets/bg.png"); | ||
--body-background-color: #c0a886; | --body-background-color: #c0a886; | ||
--content-background-color: #fdf9f3; | --content-background-color: #fdf9f3; | ||
--text-color: #2e2e2e; | --text-color: #2e2e2e; | ||
--link-color: #3366cc; | --link-color: #3366cc; | ||
Line 12: | Line 16: | ||
} | } | ||
/* | /* Font + base style */ | ||
body { | body, | ||
table, | |||
th, | |||
td, | |||
input, | |||
select, | |||
textarea { | |||
font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif; | font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif; | ||
font-size: 0.95em; | |||
color: var(--text-color); | color: var(--text-color); | ||
background: none; | |||
} | } | ||
/* | /* Category links */ | ||
#catlinks { | |||
# | |||
background: none; | 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, | pre, | ||
code { | |||
font-family: Consolas, Monaco, monospace; | |||
background: #f5f2e7; | |||
font-family: monospace; | |||
background | |||
border: 1px solid var(--body-border); | border: 1px solid var(--body-border); | ||
padding: 0.6em; | |||
padding: 0. | 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;
}