Шаблон:PageList/styles.css

.pagelist {
	user-select: none;
	display: flex;
    flex: 1 1 17.5rem;
	align-items: center;
	min-height: 1.5em;
	background-color: var(--pagelist-transparent);
    outline: 1px outset var(--pagelist-light);
	border-radius: var(--border-radius-small);
	box-shadow: 0px 0px 0px var(--pagelist-light);
	transition-duration: var(--transition-time);
	transition-property: transform, box-shadow;
}

.pagelist:hover {
	transform: translateY(-0.2rem);
	box-shadow: 0px 0.2rem 0px var(--pagelist-light);
}

.pagelist:active .pagelist-image img {
	filter: drop-shadow(0 0 3px var(--pagelist-primary));
}

.pagelist-image {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	min-width: 1.75em;
}

.pagelist-image img {
	--pagelist-img-size: 32px;
	aspect-ratio: 1 / 1;
	width: var(--pagelist-img-size);
	height: var(--pagelist-img-size);
	padding: 0.25em;
	transition-property: filter;
	transition-duration: var(--transition-time);
}

.pagelist:active .pagebutton-image img {
	filter: drop-shadow(0 0 3px var(--pagelist-primary));
	transition-duration: 0s;
}

.pagelist-text {
	display: contents;
}

.pagelist-text a {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-weight: bold;
	width: 100%;
	height: 100%;
	line-height: 1.1rem;
	padding: 0 0.5rem;
	color: var(--color-text-darker);
}

.pagelist:hover .pagelist-text a:before {
	content: '';
	position: absolute;
	inset: 0;
	background: transparent;
	transform: translateY(0.2rem);
}