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

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania
Udoskonalenia ciemnego motywu bo mnie oakar zje
aktualizacja pod nowy skin
Linia 1: Linia 1:
/* Nether style for the Minecraft Wiki. Created by [[User:Oakar567]], rewritten for FandomDesktop by [[User:Kingcat 100]]. */
/* Nether Theme for Minecraft Wiki.
 
* [[File:Mobile-header-nether.png]] [[File:Header-background-nether.png]]
/* [[File:Nether Wiki.png]] */
* [[File:Vector-tabs-nether.png]] [[File:Vector-tabs-first-nether.png]]
body.theme-fandomdesktop-light .fandom-community-header__image,
* [[File:Header-background-nether-HiDPI.png]] [[File:Vector-tabs-nether-HiDPI.png]]
body.theme-fandomdesktop-dark .fandom-community-header__image {
* [[File:Vector-tabs-first-nether-HiDPI.png]] [[File:Nether-wiki-logo.png]] [[File:Nether-wiki-logo-HiDPI.png]]
background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/e/e6/Site-logo.png/revision/latest");
*/
background-repeat: no-repeat;
body {
background-size: 120px;
--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');
body.theme-fandomdesktop-light .fandom-community-header__image img,
--base-background: url('filepath://Background-nether.png');
body.theme-fandomdesktop-dark .fandom-community-header__image img {
--vector-tabs: url('filepath://Vector-tabs-nether.png');
padding: 50px 60px;
--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: #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;
}
}


@media screen and (max-width: 1279px) {
/*
body.theme-fandomdesktop-light .fandom-community-header__image img,
* [[File:Dark-header-background-nether.png]]
body.theme-fandomdesktop-dark .fandom-community-header__image img {
* [[File:Dark-vector-tabs-nether.png]] [[File:Dark-vector-tabs-first-nether.png]]
padding: 41px 50px;
* [[File:Dark-header-background-nether-HiDPI.png]]
}
* [[File:Dark-vector-tabs-nether-HiDPI.png]] [[File:Dark-vector-tabs-first-nether-HiDPI.png]]*/
body.theme-fandomdesktop-light .fandom-community-header__image,
html body.wgl-theme-dark {
body.theme-fandomdesktop-dark .fandom-community-header__image{
--header-background: url('filepath://Dark-header-background-nether.png');
background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/e/e6/Site-logo.png/revision/latest");
--base-background: url('filepath://Background-nether.png');
background-repeat: no-repeat;
--vector-tabs: url('filepath://Dark-vector-tabs-nether.png');
background-size: 100px;
--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;
}
}


body.theme-fandomdesktop-light .fandom-sticky-header__logo img,
/* [[File:Nether-particles.gif]] */
body.theme-fandomdesktop-dark .fandom-sticky-header__logo img {
#mw-page-base:before {
padding: 20px 20px;
content:"";
width: 100%;
left: 0;
background: url('filepath://Nether-particles.gif') right 6px;
height: 7%;
position: absolute;
}
}


body.theme-fandomdesktop-light .fandom-sticky-header__logo,
body.wgl-theme-dark #mw-page-base:before {
body.theme-fandomdesktop-dark .fandom-sticky-header__logo {
filter: invert(0%) sepia(0%) saturate(1235%) hue-rotate(192deg) brightness(55%) contrast(96%);
background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/e/e6/Site-logo.png/revision/latest");
background-repeat: no-repeat;
background-size: 40px;
position: relative;
z-index: 2;
}
}


/* Reset styles */
@media (prefers-reduced-motion) {
body .fandom-community-header__background:after {
#mw-page-base:before {
display: none;
content: none !important;
}
}
 
/* [[File:Nether-background.png]] */
html body.skin-fandomdesktop {
background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/a/a8/Nether_Background.png/revision/latest") !important;
}
 
html body.skin-fandomdesktop:after,
html body.skin-fandomdesktop:before {
display: none;
}
 
/*[[File:FD-Nether-header-bg.png]]*/
body.skin-fandomdesktop.theme-fandomdesktop-light,
body.skin-fandomdesktop.theme-fandomdesktop-dark {
--mcw-nether-base: url(https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/2/27/FD-Nether-header-bg.png/revision/latest?format=original);
--mcw-header-background: linear-gradient(0deg,rgba(255,255,255,0) 51%,rgba(255,255,255,0) 42%),var(--mcw-nether-base),linear-gradient(0deg,rgba(255,255,255,0) 0%,rgb(34 6 6) 58%,rgb(61 11 11) 70%,rgb(64 12 12) 90%);
--mcw-header-background-small-screen: linear-gradient(0deg,rgba(0,0,0,0) 52%,rgba(255,255,255,0) 42%),var(--mcw-nether-base),linear-gradient(0deg,rgba(255,255,255,0) 26%,rgb(34 6 6) 54%,rgb(61 11 11) 73%,rgb(64 12 12) 92%);
--mcw-infobox-header: url(https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/f/fb/Nether_Header_BG2.png/revision/latest?format=original);
}
 
/* [[File:Nether-Particles.gif]] */
body.theme-fandomdesktop-light .fandom-community-header__background:before,
body.theme-fandomdesktop-dark .fandom-community-header__background:before {
background: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/7/7c/Nether_Particles.gif/revision/latest") right 6px;
height: 50%;
    content: "";
    display: block;
}
 
/* [[File:Nether-box-background.png]] */
body.theme-fandomdesktop-light .mcwiki-header,
body.theme-fandomdesktop-dark .mcwiki-header {
background: #000000 var(--mcw-infobox-header) repeat-x scroll 0% 0% !important;
padding: 5px;
image-rendering: pixelated;
border-top: 6px solid #be2c2d !important;
}
}


body.theme-fandomdesktop-light .infobox-title,
/* [[File:GrassBackground-nether.png]] [[File:Dark-GrassBackground-nether.png]] */
body.theme-fandomdesktop-dark .infobox-title {
html .mcwiki-header-grass {
background: #000000 var(--mcw-infobox-header) repeat-x scroll 0% 0%;
    background-color: #3E1212;
border-color: var(--theme-border-color);
    border-top: 6px solid #BA2424;
image-rendering: pixelated;
    background-image: url('filepath://GrassBackground-nether.png');
}
}
 
html body.wgl-theme-dark .mcwiki-header-grass {
body.theme-fandomdesktop-light .portable-infobox .pi-title,
    background-image: url('filepath://Dark-GrassBackground-nether.png');
body.theme-fandomdesktop-dark .portable-infobox .pi-title {
    border-color: #279292 !important;
background: #000000 var(--mcw-infobox-header) repeat-x scroll 0% 0%;
image-rendering: pixelated;
}
 
body.skin-fandomdesktop.theme-fandomdesktop-light {
--theme-community-header-color: #FFFFFF;
--theme-community-header-color--hover: #cccccc;
}
body.theme-fandomdesktop-dark .main-container .fandom-community-header__background {
background-size:auto,160px,auto !important
}
 
body.theme-fandomdesktop-dark .main-container .fandom-community-header__background:before {
background-size:unset;
}
}

Wersja z 21:01, 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://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: #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;
}