Template:MainPageInfopush.css

From VRChat Wiki
Revision as of 03:02, 29 July 2024 by Arie² (talk | contribs)
.tpl-infopush {
	position: relative;
	padding: 0;
	overflow: hidden;
	aspect-ratio: 1024 / 312;
}

.tpl-infopush-content {
	display: flex;
	transition: transform 0.3s;
	transform: translateX(-1200%);
}

.tpl-infopush-navigation {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.tpl-infopush-navigation-item {
	pointer-events: auto;
	height: 100%;
	cursor: pointer;
	background-image: url("https://wiki-files.vrchat.com/Icons_Arrow_Left.png");
	background-size: 2rem;
	background-repeat: no-repeat;
	background-position: center;
}

.tpl-infopush-action {
	height: 100%;
	grid-column: span 3 / span 3;
}