MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(Replaced content with ":root { --body-main: #e2dbc8; --body-light: #d8ccb4; --body-mid: #d0bd97; --body-dark: #b8a282; --body-border: #94866d; --body-background-color: #c0a886; --button-background: #605443; --button-color: #fff; --button-border: #3c352a; --button-dark: #18140c; --button-light: #3a301d; --sidebar: #cfc08d; --sidebar-text-color: #444444; --sidebar-link-color: #442b18; --background-text-color: #444; --background-link-color: #52351e; --search-...") Tag: Replaced |
||
Line 1: | Line 1: | ||
:root { | :root { | ||
--body-main: #e2dbc8; | |||
--body-light: #d8ccb4; | |||
--body-mid: #d0bd97; | |||
--body-dark: #b8a282; | |||
--body-border: #94866d; | |||
--body-background-color: #c0a886; | |||
--button-background: #605443; | |||
--button-color: #fff; | |||
--button-border: #3c352a; | |||
--button-dark: #18140c; | |||
--button-light: #3a301d; | |||
--sidebar: #cfc08d; | |||
--sidebar-text-color: #444444; | |||
--sidebar-link-color: #442b18; | |||
--background-text-color: #444; | |||
--background-link-color: #52351e; | |||
--search-box: #efeee6; | |||
--link-color: #936039; | |||
--redlink-color: #ba0000; | |||
--text-color: #000; | |||
--base-text-color: #444e5a; | |||
--base-heading-color: #444e5a; | |||
--base-heading-border: #e4eaee; | |||
--mw-code-background-color: #ddd4bb; | |||
--ul-list-style-image: url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='5' height='13'%3E %3Ccircle cx='2.5' cy='9.5' r='2.5' fill='%234c4c4c'/%3E %3C/svg%3E"); | |||
--body-background-image: url("filepath://Old_School_RuneScape_Wiki_background.jpg"); | |||
} | } | ||
#mw-page-base { | #mw-page-base { | ||
background: none; | |||
} | } | ||
.mw-body { | .mw-body { | ||
background-color: var(--body-main); | |||
color: var(--text-color); | |||
border-color: transparent; | |||
box-shadow: 0 0 7px rgba(0, 0, 0, 0.15); | |||
margin-top: 0; | |||
} | } | ||
Line 162: | Line 46: | ||
h5, | h5, | ||
h6 { | h6 { | ||
color: var(--text-color); | |||
} | } | ||
h1, | h1, | ||
h2 { | h2 { | ||
border-color: var(--sidebar); | |||
} | } | ||
Line 177: | Line 61: | ||
.mw-body-content h5, | .mw-body-content h5, | ||
.mw-body-content h6 { | .mw-body-content h6 { | ||
font-family: "PT Serif", "Palatino", "Georgia", serif; | |||
} | } | ||
.mw-parser-output h2:first-of-type { | .mw-parser-output h2:first-of-type { | ||
clear: left; | |||
} | } | ||
Line 188: | Line 71: | ||
code, | code, | ||
.mw-code { | .mw-code { | ||
color: inherit; | |||
background-color: var(--mw-code-background-color); | |||
border: 1px solid var(--body-border); | |||
} | } | ||
ul { | ul { | ||
list-style-image: var(--ul-list-style-image); | |||
} | } | ||
.mw-content-ltr ol { | .mw-content-ltr ol { | ||
margin-bottom: 0.8em; | |||
} | } | ||
dl { | dl { | ||
margin: 0; | |||
} | } | ||
dd { | dd { | ||
min-width: 17.85em; | |||
} | } | ||
hr { | hr { | ||
background: none; | |||
border-color: var(--sidebar); | |||
border-style: solid; | |||
border-width: 1px 0 0 0; | |||
height: initial; | |||
} | } | ||
.mw-footer li { | .mw-footer li { | ||
color: var(--background-text-color); | |||
} | } | ||
Line 224: | Line 107: | ||
.mw-footer a:active, | .mw-footer a:active, | ||
.mw-footer a:visited { | .mw-footer a:visited { | ||
color: var(--background-link-color); | |||
} | } | ||
a, | a, | ||
image a { | image a { | ||
color: var(--link-color); | |||
} | } | ||
Line 236: | Line 119: | ||
a:active, | a:active, | ||
image a:active { | image a:active { | ||
color: var(--link-color); | |||
} | } | ||
a.new, | a.new, | ||
image a.new { | image a.new { | ||
color: var(--redlink-color); | |||
} | } | ||
a.new:visited, | a.new:visited, | ||
image a.new:visited { | image a.new:visited { | ||
color: var(--redlink-color); | |||
} | } | ||
.mw-body-content a.external, | .mw-body-content a.external, | ||
.mw-body-content a.extiw { | .mw-body-content a.extiw { | ||
color: var(--link-color); | |||
} | } | ||
Line 258: | Line 141: | ||
.mw-body-content a.external:active, | .mw-body-content a.external:active, | ||
.mw-body-content a.extiw:active { | .mw-body-content a.extiw:active { | ||
color: var(--link-color); | |||
} | } | ||
.jsPurgeLink a.external { | .jsPurgeLink a.external { | ||
color: var(--link-color); | |||
} | } |
Revision as of 14:32, 29 March 2022
:root {
--body-main: #e2dbc8;
--body-light: #d8ccb4;
--body-mid: #d0bd97;
--body-dark: #b8a282;
--body-border: #94866d;
--body-background-color: #c0a886;
--button-background: #605443;
--button-color: #fff;
--button-border: #3c352a;
--button-dark: #18140c;
--button-light: #3a301d;
--sidebar: #cfc08d;
--sidebar-text-color: #444444;
--sidebar-link-color: #442b18;
--background-text-color: #444;
--background-link-color: #52351e;
--search-box: #efeee6;
--link-color: #936039;
--redlink-color: #ba0000;
--text-color: #000;
--base-text-color: #444e5a;
--base-heading-color: #444e5a;
--base-heading-border: #e4eaee;
--mw-code-background-color: #ddd4bb;
--ul-list-style-image: url("data:image/svg+xml,%3C?xml version='1.0' encoding='UTF-8'?%3E %3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='5' height='13'%3E %3Ccircle cx='2.5' cy='9.5' r='2.5' fill='%234c4c4c'/%3E %3C/svg%3E");
--body-background-image: url("filepath://Old_School_RuneScape_Wiki_background.jpg");
}
#mw-page-base {
background: none;
}
.mw-body {
background-color: var(--body-main);
color: var(--text-color);
border-color: transparent;
box-shadow: 0 0 7px rgba(0, 0, 0, 0.15);
margin-top: 0;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--text-color);
}
h1,
h2 {
border-color: var(--sidebar);
}
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2,
.mw-body-content h3,
.mw-body-content h4,
.mw-body-content h5,
.mw-body-content h6 {
font-family: "PT Serif", "Palatino", "Georgia", serif;
}
.mw-parser-output h2:first-of-type {
clear: left;
}
pre,
code,
.mw-code {
color: inherit;
background-color: var(--mw-code-background-color);
border: 1px solid var(--body-border);
}
ul {
list-style-image: var(--ul-list-style-image);
}
.mw-content-ltr ol {
margin-bottom: 0.8em;
}
dl {
margin: 0;
}
dd {
min-width: 17.85em;
}
hr {
background: none;
border-color: var(--sidebar);
border-style: solid;
border-width: 1px 0 0 0;
height: initial;
}
.mw-footer li {
color: var(--background-text-color);
}
.mw-footer a,
.mw-footer a:active,
.mw-footer a:visited {
color: var(--background-link-color);
}
a,
image a {
color: var(--link-color);
}
a:visited,
image a:visited,
a:active,
image a:active {
color: var(--link-color);
}
a.new,
image a.new {
color: var(--redlink-color);
}
a.new:visited,
image a.new:visited {
color: var(--redlink-color);
}
.mw-body-content a.external,
.mw-body-content a.extiw {
color: var(--link-color);
}
.mw-body-content a.external:visited,
.mw-body-content a.extiw:visited,
.mw-body-content a.external:active,
.mw-body-content a.extiw:active {
color: var(--link-color);
}
.jsPurgeLink a.external {
color: var(--link-color);
}