MediaWiki:Gadget-nether.css: Różnice pomiędzy wersjami

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
aktualizacja pod nowy skin
dNie podano opisu zmian
Linia 6: Linia 6:
  */
  */
body {
body {
--wiki-logo: url('filepath://Wiki-logo-nether.png');
--wiki-logo: url('filepath://Nether_Wiki.png');
--mobile-header-background: url('filepath://Mobile-header-nether.png');
--mobile-header-background: url('filepath://Mobile-header-nether.png');
--header-background: url('filepath://Header-background-nether.png');
--header-background: url('filepath://Header-background-nether.png');
Linia 13: Linia 13:
--vector-tabs-first: url('filepath://Vector-tabs-first-nether.png');
--vector-tabs-first: url('filepath://Vector-tabs-first-nether.png');
--wiki-logo-hidpi: url('filepath://Wiki-logo-nether-HiPDI.png');
--wiki-logo-hidpi: url('filepath://Nether_Wiki_HiPDI.png');
--header-background-hidpi: url('filepath://Header-background-nether-HiDPI.png');
--header-background-hidpi: url('filepath://Header-background-nether-HiDPI.png');
--base-background-hidpi: url('filepath://Background-nether-HiDPI.png');
--base-background-hidpi: url('filepath://Background-nether-HiDPI.png');

Wersja z 22:12, 29 gru 2024

/* 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://Nether_Wiki.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://Nether_Wiki_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: #210F0F;
	--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;
}

/*
 * [[File:Dark-header-background-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');
	--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');
	
	/*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]] */
html .mcwiki-header-grass {
    background-color: #3E1212;
    border-top: 6px solid #BA2424;
    background-image: url('filepath://GrassBackground-nether.png');
}
html body.wgl-theme-dark .mcwiki-header-grass {
    background-image: url('filepath://Dark-GrassBackground-nether.png');
    border-color: #279292 !important;
}