Template:Skip to top and bottom/styles.css: Difference between revisions

From Test Wiki
Jump to navigation Jump to search
m Protected "Template:Skip to top and bottom/styles.css": High-risk template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))
 
Justman10000 (talk | contribs)
m 1 revision imported: API testing
 
(No difference)

Latest revision as of 12:45, 12 July 2024

#skip-to-top-button,
#skip-to-bottom-button {
	position: fixed;
	bottom: 8px;
	z-index: 50;
}

#skip-to-top-button:hover,
#skip-to-bottom-button:hover {
	filter: brightness(1.05);
}

#skip-to-top-button:active,
#skip-to-bottom-button:active {
	filter: brightness(0.95);
}

#skip-to-bottom-button {
	right: 8px;
}

#skip-to-top-button {
	right: 64px;
}

/* Avoid overlapping with Vector 2022 width toggle */
@media (min-width: 1400px) {
	body.skin-vector-2022 #skip-to-bottom-button {
		right: 48px;
	}
	
	body.skin-vector-2022 #skip-to-top-button {
		right: 104px;
	}
}