MediaWiki:Gadget-winter.css

Z Minecraft Wiki Polska
Przejdź do nawigacji Przejdź do wyszukiwania

Uwaga: aby zobaczyć zmiany po opublikowaniu, może zajść potrzeba wyczyszczenia pamięci podręcznej przeglądarki.

  • Firefox / Safari: Przytrzymaj Shift podczas klikania Odśwież bieżącą stronę, lub naciśnij klawisze Ctrl+F5, lub Ctrl+R (⌘-R na komputerze Mac)
  • Google Chrome: Naciśnij Ctrl-Shift-R (⌘-Shift-R na komputerze Mac)
  • Internet Explorer / Edge: Przytrzymaj Ctrl, jednocześnie klikając Odśwież, lub naciśnij klawisze Ctrl+F5
  • Opera: Naciśnij klawisze Ctrl+F5.
/* Winter style for the Minecraft Wiki. Created by [[Benutzer:violine1101]], edited by [[:ru:User:Ivan r]]. Rewritten for FandomDesktop by [[Benutzer:Kingcat 100]]. */

/* [[File:Winter Wiki.png]] */
body.theme-fandomdesktop-light .fandom-community-header__image,
body.theme-fandomdesktop-dark .fandom-community-header__image {
	background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/8/82/Winter_wiki.png/revision/latest");
	background-repeat: no-repeat;
	background-size: 120px;
}

body.theme-fandomdesktop-light .fandom-community-header__image img,
body.theme-fandomdesktop-dark .fandom-community-header__image img {
	padding: 50px 60px;
}

@media screen and (max-width: 1279px) {
	body.theme-fandomdesktop-light .fandom-community-header__image img,
	body.theme-fandomdesktop-dark .fandom-community-header__image img {
		padding: 41px 50px;
	}
	body.theme-fandomdesktop-light .fandom-community-header__image,
	body.theme-fandomdesktop-dark .fandom-community-header__image{
		background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/8/82/Winter_wiki.png/revision/latest");
		background-repeat: no-repeat;
		background-size: 100px;
	}
}

body.theme-fandomdesktop-light .fandom-sticky-header__logo img,
body.theme-fandomdesktop-dark .fandom-sticky-header__logo img {
	padding: 20px 20px;
}

body.theme-fandomdesktop-light .fandom-sticky-header__logo,
body.theme-fandomdesktop-dark .fandom-sticky-header__logo {
	background-image: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/8/82/Winter_wiki.png/revision/latest");
	background-repeat: no-repeat;
	background-size: 40px;
	position: relative;
	z-index: 2;
}

/* [[File:Winter-snow-background.gif]] */
html body.theme-fandomdesktop-light .fandom-community-header__background:before,
html body.theme-fandomdesktop-dark .fandom-community-header__background:before {
	background: url("https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/8/84/Winter-snow-background.gif/revision/latest") right 6px;
	height: 50%;
    content: "";
    display: block;
}

/* [[File:FD-Winter-Header-Background-light.png]] */
body.skin-fandomdesktop.theme-fandomdesktop-light {
	--mcw-snow-base: url(https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/5/59/FD-Winter-header-background-light.png/revision/latest?format=original);
	--mcw-header-background: linear-gradient(0deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 20%),var(--mcw-snow-base),linear-gradient(0deg,rgba(255,255,255,0) 0%,rgb(92,121,201) 58%,rgb(67,99,192) 70%,rgb(63,94,189) 90%);
	--mcw-header-background-small-screen: linear-gradient(0deg,rgba(255,255,255,0) 0%,rgba(255,255,255,0) 20%),var(--mcw-snow-base),linear-gradient(0deg,rgba(255,255,255,0) 45%,rgb(92,121,201) 54%,rgb(67,99,192) 70%,rgb(63,94,189) 90%);
	--mcw-infobox-header: url(https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/1/1c/Winter-header-bg2.png/revision/latest?format=original);
}

/* [[File:FD-Winter-Header-Background-dark.png]] */
body.skin-fandomdesktop.theme-fandomdesktop-dark .main-page {
	--mcw-snow-base: url(https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/9/98/FD-Winter-header-background-dark.png/revision/latest?format=original);
	--mcw-header-background: linear-gradient(0deg,rgba(0,0,0,0) 51.5%,rgba(255,255,255,0) 42%),var(--mcw-snow-base),linear-gradient(0deg,rgba(255,255,255,0) 0%,rgb(24,30,50) 58%,rgb(17,25,48) 70%,rgb(16,24,47) 90%);
	--mcw-header-background-small-screen: linear-gradient(0deg,rgba(0,0,0,0) 58%,rgba(255,255,255,0) 42%),var(--mcw-snow-base),linear-gradient(0deg,rgba(255,255,255,0) 45%,rgb(24,30,50) 54%,rgb(17,25,48) 70%,rgb(16,24,47) 90%);
	--mcw-infobox-header: url(https://static.wikia.nocookie.net/minecraft_pl_gamepedia/images/c/c0/Winter-header-bg2_dark.png/revision/latest?format=original);
}

html body.skin-fandomdesktop .fandom-community-header__background {
	height: 315px;
	margin-bottom: -315px;
	background-size: auto, 160px, auto !important;
}

/* [[Datei:Winter-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 #ffffff !important;
}

body.theme-fandomdesktop-light .infobox-title, 
body.theme-fandomdesktop-dark .infobox-title {
	background: #000000 var(--mcw-infobox-header) repeat-x scroll 0% 0%;
	border-color: var(--theme-border-color);
	image-rendering: pixelated;
}

body.theme-fandomdesktop-light .portable-infobox .pi-title,
body.theme-fandomdesktop-dark .portable-infobox .pi-title {
	background: #000000 var(--mcw-infobox-header) repeat-x scroll 0% 0%;
	image-rendering: pixelated;
}