MediaWiki:Gadget-netherTheme.css

来自Minecraft Wiki
跳转到导航 跳转到搜索
其他语言中

注意:在保存之后,您可能需要清除浏览器缓存才能看到所作出的更改的影响。
  • Firefox或Safari:按住Shift的同时单击刷新,或按Ctrl-F5或Ctrl-R(Mac为⌘-R)
  • Google Chrome:按Ctrl-Shift-R(Mac为⌘-Shift-R)
  • Internet Explorer:按住Ctrl的同时单击刷新,或按Ctrl-F5
  • Opera:前往菜单 → 设置(Mac为Opera → 选项),然后隐私和安全 → 清除浏览数据 → 缓存的图片和文件。
/* Nether Theme for Minecraft Wiki.
 * [[File:Mobile-header-nether.png]] [[File:Header-background-nether.png]]
 * [[File:Vector-tabs-nether.png]] [[File:Vector-tabs-first-nether.png]]
 * [[File:Header-background-nether-HiDPI.png]] [[File:Vector-tabs-nether-HiDPI.png]]
 * [[File:Vector-tabs-first-nether-HiDPI.png]]<!-- [[File:Nether-wiki-logo.png]] [[File:Nether-wiki-logo-HiDPI.png]] -->
 */
body {
	--wiki-logo: url('filepath://Wiki-logo-nether.png');
	--mobile-header-background: url('filepath://Mobile-header-nether.png');
	--header-background: url('filepath://Header-background-nether.png');
	--base-background: url('filepath://Background-nether.png');
	--vector-tabs: url('filepath://Vector-tabs-nether.png');
	--vector-tabs-first: url('filepath://Vector-tabs-first-nether.png');
	
	--wiki-logo-hidpi: url('filepath://Wiki-logo-nether-HiPDI.png');
	--header-background-hidpi: url('filepath://Header-background-nether-HiDPI.png');
	--base-background-hidpi: url('filepath://Background-nether-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Vector-tabs-nether-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Vector-tabs-first-nether-HiDPI.png');
	
	--mobile-header-background-color: #000000;
	--simplesearch-topright-grass-color: #BA2424;
	/*content area*/
	--content-background-color: #F4E6E6;
	--content-border-top-color: #C3B4B4;
	/*infobox-header*/
	--infobox-title-background-color: #ad4343;
	--infobox-title-top-border-color: #c77878;
	--infobox-title-border-inline-color: #9d3939;
	--infobox-title-bottom-border-color: #7a1717;
	
	/* Minceraft [[File:Minceraft-wiki-logo-nether.png]] [[File:Minceraft-wiki-logo-nether-HiDPI.png]] */
	--minceraft-wiki-logo: url('filepath://Minceraft-wiki-logo-nether.png');
	--minceraft-wiki-logo-hidpi: url('filepath://Minceraft-wiki-logo-nether-HiDPI.png');
}

/*
 * [[File:Dark-header-background-nether.png]] [[File:Dark-mobile-header-nether.png]]
 * [[File:Dark-vector-tabs-nether.png]] [[File:Dark-vector-tabs-first-nether.png]]
 * [[File:Dark-header-background-nether-HiDPI.png]]
 * [[File:Dark-vector-tabs-nether-HiDPI.png]] [[File:Dark-vector-tabs-first-nether-HiDPI.png]]*/
html body.wgl-theme-dark {
	--header-background: url('filepath://Dark-header-background-nether.png');
	--mobile-header-background: url('filepath://Dark-mobile-header-nether.png');
	--base-background: url('filepath://Background-nether.png');
	--vector-tabs: url('filepath://Dark-vector-tabs-nether.png');
	--vector-tabs-first: url('filepath://Dark-vector-tabs-first-nether.png');
	
	--header-background-hidpi: url('filepath://Dark-header-background-nether-HiDPI.png');
	--base-background-hidpi: url('filepath://Background-nether-HiDPI.png');
	--vector-tabs-hidpi: url('filepath://Dark-vector-tabs-nether-HiDPI.png');
	--vector-tabs-first-hidpi: url('filepath://Dark-vector-tabs-first-nether-HiDPI.png');
	--mobile-header-background-color: #000000;
	
	/*infobox-header*/
	--infobox-title-background-color: #0e6a5a;
	--infobox-title-top-border-color: #32806f;
	--infobox-title-border-inline-color: #074c50;
	--infobox-title-bottom-border-color: #08403e;
}

/* [[File:Nether-particles.gif]] */
#mw-page-base:before {
	content:"";
	width: 100%;
	left: 0;
	background: url('filepath://Nether-particles.gif') right 6px;
	height: 7%;
	position: absolute;
}

body.wgl-theme-dark #mw-page-base:before {
	filter: invert(0%) sepia(0%) saturate(1235%) hue-rotate(192deg) brightness(55%) contrast(96%);
}

@media (prefers-reduced-motion) {
	#mw-page-base:before {
		content: none !important;
	}
}

/* [[File:GrassBackground-nether.png]] [[File:Dark-GrassBackground-nether.png]], modified to adapted on ZH */
html .fp-section-header,
html .forum-header .forum-heading {
    background-color: #3E1212;
    border-top: 6px solid #BA2424;
    background-image: url('filepath://GrassBackground-nether.png');
}
html body.wgl-theme-dark .fp-section-header,
html body.wgl-theme-dark .forum-header .forum-heading {
    background-image: url('filepath://Dark-GrassBackground-nether.png');
    border-color: #279292 !important;
}

/* Adaptation to Module:Documentation */
.documentation,
.documentation-header-top,
.documentation-header-bottom {
	background-color: #f9f2f2 !important;
}
body.wgl-theme-dark .documentation,
body.wgl-theme-dark .documentation-header-top,
body.wgl-theme-dark .documentation-header-bottom {
	background-color: #393e3f !important;
}