MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
(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 |
No edit summary |
||
Line 1: | Line 1: | ||
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap"); | |||
:root { | :root { | ||
--body-main: #e2dbc8; | --body-main: #e2dbc8; | ||
Line 25: | Line 26: | ||
--mw-code-background-color: #ddd4bb; | --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"); | --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:// | --body-background-image: url("filepath://wiki-background.png"); | ||
} | } | ||
Revision as of 14:38, 29 March 2022
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap");
: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://wiki-background.png");
}
#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);
}