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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
Utworzono nową stronę "→‎Nether Update stylized theme: →‎[[File:Nether Wiki.png]]: .mw-wiki-logo { background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/4/45/Net..."
 
naprawiono wyświetlanie zmienionego logotypu
 
(Nie pokazano 48 wersji utworzonych przez 3 użytkowników)
Linia 1: Linia 1:
/* Nether Update stylized theme */
/* 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('https://minewiki.pl/images/4/45/Nether_Wiki.png');
--mobile-header-background: url('https://minewiki.pl/images/1/1f/Mobile-header-nether.png');
--header-background: url('https://minewiki.pl/images/b/b8/Header-background-nether.png');
--base-background: url('https://minewiki.pl/images/1/16/Background-nether.png');
--vector-tabs: url('https://minewiki.pl/images/4/47/Vector-tabs-nether.png');
--vector-tabs-first: url('https://minewiki.pl/images/f/f7/Vector-tabs-first-nether.png');
--wiki-logo-hidpi: url('https://minewiki.pl/images/0/0a/Nether_Wiki_HiDPI.png') ;
--header-background-hidpi: url('https://minewiki.pl/images/2/2c/Header-background-nether-HiDPI.png');
--base-background-hidpi: url('https://minewiki.pl/images/1/1f/Background-nether-HiDPI.png');
--vector-tabs-hidpi: url('https://minewiki.pl/images/b/b7/Vector-tabs-nether-HiDPI.png');
--vector-tabs-first-hidpi: url('https://minewiki.pl/images/0/04/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:Nether Wiki.png]] */
/*
.mw-wiki-logo {
* [[File:Dark-header-background-nether.png]]
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/4/45/Nether_Wiki.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('https://minewiki.pl/images/7/70/Dark-header-background-nether.png');
--base-background: url('https://minewiki.pl/images/1/16/Background-nether.png');
--vector-tabs: url('https://minewiki.pl/images/a/a8/Dark-vector-tabs-nether.png');
--vector-tabs-first: url('https://minewiki.pl/images/1/12/Dark-vector-tabs-first-nether.png');
--header-background-hidpi: url('https://minewiki.pl/images/c/cb/Dark-header-background-nether-HiDPI.png');
--base-background-hidpi: url('https://minewiki.pl/images/1/1f/Background-nether-HiDPI.png');
--vector-tabs-hidpi: url('https://minewiki.pl/images/7/7e/Dark-vector-tabs-nether-HiDPI.png');
--vector-tabs-first-hidpi: url('https://minewiki.pl/images/0/09/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.png]] */
/* [[File:Nether-particles.gif]] */
div#mw-head {
#mw-page-base:before {
background: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/d/da/Nether_Particles.png") right 6px repeat-x !important;
content:"";
background-position: 100% -5px !important;
width: 100%;
left: 0;
background: url('https://minewiki.pl/images/8/85/Nether-particles.gif') right 6px;
height: 7%;
position: absolute;
}
}


/* [[File:Nether Header BG.png]] */
body.wgl-theme-dark #mw-page-base:before {
#mw-page-base {
filter: invert(0%) sepia(0%) saturate(1235%) hue-rotate(192deg) brightness(55%) contrast(96%);
    background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/9/9b/Nether_Header_BG.png") !important;
}
}


/* [[File:Nether Vector Tabs.png]] */
@media (prefers-reduced-motion) {
div.vectorTabs span,
#mw-page-base:before {
div.vectorTabs span::before,
content: none !important;
div.vectorMenu > h3,
}
div.vectorMenu > h3::before {
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/4/48/Nether_Vector_Tabs.png") !important;
}
}


/* [[File:Nether Vector Tabs First.png]] */
/* [[File:GrassBackground-nether.png]] [[File:Dark-GrassBackground-nether.png]] */
#left-navigation div.vectorTabs li:first-child span::before {
html .mcwiki-header {
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/9/9f/Nether_Vector_Tabs_First.png") !important;
    background-color: #3E1212;
    border-top: 6px solid #BA2424 !important;
    background-image: url('https://minewiki.pl/images/2/21/GrassBackground-nether.png');  
}
}
 
html body.wgl-theme-dark .mcwiki-header {
/* [[File:Nether Header BG2.png]] */
     background-image: url('https://minewiki.pl/images/8/89/Dark-GrassBackground-nether.png') !important;
.mcwiki-header {
    border-top: 6px solid #279292 !important;
     background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/f/fb/Nether_Header_BG2.png") !important;
}
}


/* HiDPI images */
.mw-wiki-logo
@media (-webkit-min-device-pixel-ratio: 1.5), (min-resolution: 1.5dppx) {
{
/* [[File:Nether Wiki HiDPI.png]] */
background-image: var(--wiki-logo);
.mw-wiki-logo {
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/0/0a/Nether_Wiki_HiDPI.png");
background-size: 160px auto;
}
/* [[File:Nether Header BG HiDPI.png]] */
#mw-page-base {
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/4/43/Nether_Header_BG_HiDPI.png") !important;
}
/* [[File:Nether Vector Tabs HiDPI.png]] */
div.vectorTabs span,
div.vectorTabs span::before,
div.vectorMenu > h3,
div.vectorMenu > h3::before {
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/7/7b/Nether_Vector_Tabs_HiDPI.png") !important;
}
/* [[File:Nether Vector Tabs First HiDPI.png]] */
#left-navigation div.vectorTabs li:first-child span::before {
background-image: url("https://gamepedia.cursecdn.com/minecraft_pl_gamepedia/e/e4/Nether_Vector_Tabs_First_HiDPI.png") !important;
}
}
}

Aktualna wersja na dzień 04:52, 27 sty 2025

/* 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('https://minewiki.pl/images/4/45/Nether_Wiki.png');
	--mobile-header-background: url('https://minewiki.pl/images/1/1f/Mobile-header-nether.png');
	--header-background: url('https://minewiki.pl/images/b/b8/Header-background-nether.png');
	--base-background: url('https://minewiki.pl/images/1/16/Background-nether.png');
	--vector-tabs: url('https://minewiki.pl/images/4/47/Vector-tabs-nether.png');
	--vector-tabs-first: url('https://minewiki.pl/images/f/f7/Vector-tabs-first-nether.png');
	
	--wiki-logo-hidpi: url('https://minewiki.pl/images/0/0a/Nether_Wiki_HiDPI.png') ;
	--header-background-hidpi: url('https://minewiki.pl/images/2/2c/Header-background-nether-HiDPI.png');
	--base-background-hidpi: url('https://minewiki.pl/images/1/1f/Background-nether-HiDPI.png');
	--vector-tabs-hidpi: url('https://minewiki.pl/images/b/b7/Vector-tabs-nether-HiDPI.png');
	--vector-tabs-first-hidpi: url('https://minewiki.pl/images/0/04/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('https://minewiki.pl/images/7/70/Dark-header-background-nether.png');
	--base-background: url('https://minewiki.pl/images/1/16/Background-nether.png');
	--vector-tabs: url('https://minewiki.pl/images/a/a8/Dark-vector-tabs-nether.png');
	--vector-tabs-first: url('https://minewiki.pl/images/1/12/Dark-vector-tabs-first-nether.png');
	
	--header-background-hidpi: url('https://minewiki.pl/images/c/cb/Dark-header-background-nether-HiDPI.png');
	--base-background-hidpi: url('https://minewiki.pl/images/1/1f/Background-nether-HiDPI.png');
	--vector-tabs-hidpi: url('https://minewiki.pl/images/7/7e/Dark-vector-tabs-nether-HiDPI.png');
	--vector-tabs-first-hidpi: url('https://minewiki.pl/images/0/09/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('https://minewiki.pl/images/8/85/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 {
    background-color: #3E1212;
    border-top: 6px solid #BA2424 !important;
    background-image: url('https://minewiki.pl/images/2/21/GrassBackground-nether.png'); 
}
html body.wgl-theme-dark .mcwiki-header {
    background-image: url('https://minewiki.pl/images/8/89/Dark-GrassBackground-nether.png') !important;
    border-top: 6px solid #279292 !important;
}

.mw-wiki-logo
{
	background-image: var(--wiki-logo);
}