„MediaWiki:Timeless.css” változatai közötti eltérés

A VIK Wikiből
a minor responsive bug fix
Nincs szerkesztési összefoglaló
19. sor: 19. sor:
right: 3em;
right: 3em;
}
}
}
/* Sidebar hiding */
#mw-related-navigation.hidden { display: none; }
#mw-related-navigation.hide { animation: hide 0.4s forwards; }
#mw-related-navigation.show { animation: show 0.4s forwards; }
@keyframes hide {
from { margin-right: 0; }
to { margin-right: -14em; opacity: 0; }
}
@keyframes show {
from { margin-right: -14em; opacity: 0; }
to { margin-right: 0; opacity: 100; }
}
#sidebar-toggle-btn > a {
background-image: url(/skins/Timeless/resources/images/eyeball-grey.svg?f17bd);
border: 0;
background-color: transparent;
background-repeat: no-repeat;
background-position: left top;
display: inline-block;
padding: 0 2px 0 20px
}
}

A lap 2024. július 21., 16:24-kori változata

#site-tools { display: none; }

@media screen and (min-width: 851px) {
	#site-navigation {
		position: sticky;
		top: 4em;
	}
}

@media screen and (max-width: 850px) {
	/* mobile friendly infobox */
	.infobox { 
		float: unset!important;
		max-width: 400px!important;
		margin: auto!important;
	}
	
	#personal-extra {
		right: 3em;
	}
}

/* Sidebar hiding */

#mw-related-navigation.hidden { display: none; }
#mw-related-navigation.hide { animation: hide 0.4s forwards; }
#mw-related-navigation.show { animation: show 0.4s forwards; }

@keyframes hide {
	from { margin-right: 0; }
	to { margin-right: -14em; opacity: 0; }
}

@keyframes show {
	from { margin-right: -14em; opacity: 0; }
	to { margin-right: 0; opacity: 100; }
}

#sidebar-toggle-btn > a {
	background-image: url(/skins/Timeless/resources/images/eyeball-grey.svg?f17bd);
	border: 0;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: left top;
	display: inline-block;
	padding: 0 2px 0 20px
}