Template:MainPageInfopush.css: Difference between revisions

From VRChat Wiki
No edit summary
No edit summary
Line 1: Line 1:
.infopush {
.tpl-infopush {
position: relative;
position: relative;
padding: 0;
padding: 0;
Line 6: Line 6:
}
}


.infopush-content {
.tpl-infopush-content {
display: flex;
display: flex;
transition: transform 0.3s;
transition: transform 0.3s;
Line 12: Line 12:
}
}


.infopush-navigation {
.tpl-infopush-navigation {
pointer-events: auto;
display: grid;
height: 100%;
grid-template-columns: repeat(5, minmax(0, 1fr));
cursor: pointer;
position: absolute;
background-image: url("https://wiki-files.vrchat.com/Icons_Arrow_Left.png");
inset: 0;
background-size: 2rem;
pointer-events: none;
background-repeat: no-repeat;
background-position: center;
}
}


.infopush-navigation-item {
.tpl-infopush-navigation-item {
pointer-events: auto;
pointer-events: auto;
height: 100%;
height: 100%;

Revision as of 03:00, 29 July 2024

.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;
}