MediaWiki:Common.css

来自迫真战记中文WIKI
ECUsam讨论 | 贡献2024年5月1日 (三) 00:27的版本

注意:在发布之后,您可能需要清除浏览器缓存才能看到所作出的变更的影响。

  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5Ctrl-R(Mac为⌘-R
  • Google Chrome:Ctrl-Shift-R(Mac为⌘-Shift-R
  • Internet Explorer或Edge:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:Ctrl-F5
body {
    background-image: url('https://hakushin.wiki/images/world_back.png');
    background-color: #092140;
    background-position: center;
    background-size: 1275px;
    background-repeat: repeat;
}

:root {
	--link-color: #0645ad;
	--link-color-active: #faa700;
	--custom-background-blue: #ccf;
	--custom-background-cyan: #cef;
	--custom-background-green: #cfc;
	--custom-background-gray: #d2d2d2;
	--custom-background-grey: var(--custom-background-gray);
	--custom-background-magenta: #fdf;
	--custom-background-orange: #fdb;
	--custom-background-purple: #ecf;
	--custom-background-red: #fcc;
	--custom-background-yellow: #ffc;
	--custom-border-blue: #36e;
	--custom-border-cyan: #9df;
	--custom-border-green: #5d5;
	--custom-border-gray: #bbb;
	--custom-border-grey: var(--custom-border-gray);
	--custom-border-magenta: #f9f;
	--custom-border-orange: #f90;
	--custom-border-purple: #96c;
	--custom-border-red: #e44;
	--custom-border-yellow: #fc3;
	--custom-closed-topic-neutral: #eef;
	--custom-closed-topic-no: #fee;
	--custom-closed-topic-yes: #efe;
	--custom-code-background: #f8f9fa;
	--custom-load-page-button-color: #fff8;
	--custom-main-page-background: #fcfcfc;
	--custom-main-page-border: var(--custom-border-gray);
	--custom-main-page-edition-subheader: #333;
	--custom-mcwiki-header-color: #bcd4f5;
	--custom-navbox-background: #fff;
	--custom-navbox-top: #ccc;
	--custom-navbox-middle: #ddd;
	--custom-navbox-thru: #eee;
	--custom-nbt-inherit-color: #e6e6fa;
	--custom-table-background: #f8f9fa;
	--custom-table-alternate-background: #f0f1f2;
	--custom-table-choice-always: #003600;
	--custom-table-choice-always-background: #80d080;
	--custom-table-choice-default: #fff;
	--custom-table-choice-in-off-background: #060;
	--custom-table-choice-in-on-background: #0c0;
	--custom-table-choice-na: #000;
	--custom-table-choice-na-background: #fff;
	--custom-table-choice-neutral: #634800;
	--custom-table-choice-neutral-background: #ffeb9c;
	--custom-table-choice-never: #3c0404;
	--custom-table-choice-never-background: #ff8080;
	--custom-table-choice-no: #840606;
	--custom-table-choice-no-background: #ffc7ce;
	--custom-table-choice-out-off-background: #900;
	--custom-table-choice-out-on-background: #f00;
	--custom-table-choice-partial: #665400;
	--custom-table-choice-partial-background: #ffd;
	--custom-table-choice-planned: #0131b7;
	--custom-table-choice-planned-background: #dfdfff;
	--custom-table-choice-rarely: #533400;
	--custom-table-choice-rarely-background: #fdce5e;
	--custom-table-choice-unknown: #222;
	--custom-table-choice-unknown-background: #ccc;
	--custom-table-choice-yes: #005600;
	--custom-table-choice-yes-background: #c6efce;
	--custom-table-header-background: #eaecf0;
	--custom-topic-30-days: #bbb;
	--custom-topic-7-days: #ddd;
}

body.wgl-theme-dark {
	--link-color: #90c0fe;
	--link-color-active: #faa700;
	--custom-background-blue: hsl(240, 25%, 12%);
	--custom-background-cyan: hsl(190, 25%, 12%);
	--custom-background-green: hsl(120, 25%, 12%);
	--custom-background-gray: hsl(0, 0%, 12%);
	--custom-background-grey: var(--custom-background-gray);
	--custom-background-magenta: hsl(310, 25%, 12%);
	--custom-background-orange: hsl(40, 25%, 12%);
	--custom-background-purple: hsl(260, 25%, 12%);
	--custom-background-red: hsl(0, 25%, 12%);
	--custom-background-yellow: hsl(60, 25%, 12%);
	--custom-border-blue: hsl(240, 15%, 36%);
	--custom-border-cyan: hsl(190, 15%, 36%);
	--custom-border-green: hsl(120, 15%, 36%);
	--custom-border-gray: hsl(0, 0%, 36%);
	--custom-border-grey: var(--custom-border-gray);
	--custom-border-magenta: hsl(310, 15%, 36%);
	--custom-border-orange: hsl(40, 15%, 36%);
	--custom-border-purple: hsl(260, 15%, 36%);
	--custom-border-red: hsl(0, 15%, 36%);
	--custom-border-yellow: hsl(60, 15%, 36%);
	--custom-closed-topic-neutral: #2a2a33;
	--custom-closed-topic-no: #332a2a;
	--custom-closed-topic-yes: #2a332a;
	--custom-code-background: #131313;
	--custom-load-page-button-color: #fff2;
	--custom-main-page-background: #202125;
	--custom-main-page-border: #2e2e2e;
	--custom-main-page-edition-subheader: #ddd;
	--custom-mcwiki-header-color: #222c39;
	--custom-navbox-background: #131313;
	--custom-navbox-top: #363636;
	--custom-navbox-middle: #2d2d2d;
	--custom-navbox-thru: #202020;
	--custom-nbt-inherit-color: #404050;
	--custom-table-background: #131313;
	--custom-table-alternate-background: #202020;
	--custom-table-choice-always: #a0e37b;
	--custom-table-choice-always-background: #1c410c;
	--custom-table-choice-default: #ddd;
	--custom-table-choice-in-off-background: #030;
	--custom-table-choice-in-on-background: #060;
	--custom-table-choice-na: #fff;
	--custom-table-choice-na-background: #000;
	--custom-table-choice-neutral: #e2c789;
	--custom-table-choice-neutral-background: #4c3416;
	--custom-table-choice-never: #ffb29d;
	--custom-table-choice-never-background: #601a15;
	--custom-table-choice-no: #f2acae;
	--custom-table-choice-no-background: #432a2e;
	--custom-table-choice-out-off-background: #400;
	--custom-table-choice-out-on-background: #700;
	--custom-table-choice-partial: #cebe95;
	--custom-table-choice-partial-background: #362d21;
	--custom-table-choice-planned: #b9c1db;
	--custom-table-choice-planned-background: #2a2a4b;
	--custom-table-choice-rarely: #ede0b8;
	--custom-table-choice-rarely-background: #693a0c;
	--custom-table-choice-unknown: #ddd;
	--custom-table-choice-unknown-background: #444;
	--custom-table-choice-yes: #adf2ad;
	--custom-table-choice-yes-background: #384c3c;
	--custom-table-header-background: #363636;
	--custom-topic-30-days: #303030;
	--custom-topic-7-days: #242424;
}