The editors' meeting has been canceled for technical reasons.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* | /* 这里放置的CSS将应用于所有皮肤 */ | ||
body { | body { | ||
background-color:#efeff1; | background-color:#efeff1; | ||
Line 163: | Line 163: | ||
} | } | ||
/* Infoboxes */ | |||
.infobox { | |||
border: 1px solid #a2a9b1; | |||
color: black; | |||
padding: 0.2em; | |||
font-size: 88%; | |||
line-height: 1.5em; | |||
border-spacing: 3px; | |||
} | |||
@media screen { | |||
.infobox { | |||
background-color: #f8f9fa; | |||
} | |||
} | |||
@media (max-width: 640px) { | |||
.infobox { | |||
width: 100%; | |||
} | |||
.infobox .nowrap { | |||
white-space: normal; | |||
} | |||
} | |||
@media (min-width: 640px) { | |||
.infobox { | |||
/* @noflip */ | |||
margin: 0.5em 0 0.5em 1em; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
clear: right; | |||
width: 22em; | |||
} | |||
} | |||
.infobox-header, | |||
.infobox-label, | |||
.infobox-above, | |||
.infobox-full-data, | |||
.infobox-data, | |||
.infobox-below, | |||
.infobox-subheader, | |||
.infobox-image, | |||
.infobox-navbar, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
vertical-align: top; | |||
} | |||
.infobox-label, | |||
.infobox-data, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox th, | |||
.infobox td { | |||
/* @noflip */ | |||
text-align: left; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-above, | |||
.infobox .infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
font-size: 125%; | |||
font-weight: bold; | |||
text-align: center; | |||
} | |||
.infobox-title, | |||
/* Remove element selector when every .infobox thing is using the standard module/templates */ | |||
.infobox caption { | |||
padding: 0.2em; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-header, | |||
.infobox .infobox-subheader, | |||
.infobox .infobox-image, | |||
.infobox .infobox-full-data, | |||
.infobox .infobox-below { | |||
text-align: center; | |||
} | |||
/* Remove .infobox when element selectors above are removed */ | |||
.infobox .infobox-navbar { | |||
/* @noflip */ | |||
text-align: right; | |||
} | |||
/*色表格*/ | /*色表格*/ | ||
:root { | :root { | ||
Line 169: | Line 262: | ||
--twitch-purple-2:#772ce8; | --twitch-purple-2:#772ce8; | ||
--back-color-1:rgba(247, 247, 248,0.85); | --back-color-1:rgba(247, 247, 248,0.85); | ||
--back-color-2:rgba(247, 147, 148,0.85); | |||
--border-color-1:#FF66B2; | --border-color-1:#FF66B2; | ||
--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; | |||
} | } |