Template:Voice library relying on Vocaloid culture/styles.css

.more {
	float: right;
	height: 1.5em;
	margin: 0 0 0 -1000em;
	padding: 0 0 0 0.25em;
	width: 1.5em;
}

.moreabove {
	height: 1.2em;
	width: 1.2em;
}

.more a {
	border: 0.0625rem solid transparent;
	border-radius: 0.125rem;
	box-sizing: content-box !important;
	color: transparent !important;
	display: inline-block;
	height: 1.5em;
	line-height: 0;
	margin: -0.0625rem; 
	overflow: hidden;
	position: relative;
	text-decoration: none;
	text-overflow: ellipsis;
	transition: 100ms;
	width: 1.5em;
}

.more a::before {
	background-image: url(https://upload.wikimedia.org/wikipedia/commons/2/29/OOjs_UI_icon_viewCompact.svg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 1em;
	content: "";
	display: block;
	height: 1.5em;
	width: 1.5em;
}

.moreabove a {
	height: 1.2em;
	width: 1.2em;
}

.moreabove a::before {
	height: 1.2em;
	filter: invert(33%) sepia(5%) saturate(585%) hue-rotate(165deg) brightness(96%) contrast(85%);
	width: 1.2em;
}

.morewhite a::before {
	filter: invert(100%) sepia(100%) saturate(2%) hue-rotate(107deg) brightness(105%) contrast(101%);
}

.mw-parser-output td a > img, .infobox a > img, .infobox noscript > img {
    max-width: 100% !important;
    height: auto !important;
}

.more a:hover, #v-button div a:hover {
	background-color: rgba(0,24,73,.027);
	border-color: transparent;
}

.more a:focus, #v-button div a:focus {
	border-color: #36c;
	box-shadow: inset 0 0 0 0.0625rem #36c;
}

.more a:active, #v-button div a:active {
	background-color: rgba(0,24,73,.082);
	border-color: #72777d;
	box-shadow: none;
	color: #ac6600;
}

#v {
	align-items: start;
	background: var(--background-color-neutral-subtle);
	border: 0.0625rem solid var(--border-color-subtle);
	border-radius: 0.125rem;
	display: grid;
	gap: 0.375em;
	grid-template-columns: repeat(3,auto)1fr repeat(3,auto);
	margin: 1em 0;
}

#v-top {
	align-items: center;
	display: grid;
	gap: 0.375em;
	grid-column: 4;
	grid-row: 6;
}

#v-heading {
	color: var(--color-base);
	font-size: 1.1em;
	font-family: "Linux Libertine", Georgia, Times, serif;
	font-weight: bold;
}

#v-heading a {
	color: inherit;
}

#v-heading span .ilh-comment {
	display: none;
}

#v-button {
	align-content: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375em 0.3125em;
	grid-column: 2;
	justify-content: flex-end;
	white-space: nowrap;
}

#v-button div a {
	background: transparent;
	border: 0.0625rem solid transparent;
	border-radius: 3rem;
	color: var(--color-subtle);
	display: inline-block;
	padding: 0.3125em 0.75em;
	text-decoration: none;
	transition: 100ms;
}

#v-button a.mw-selflink {
	background: #eaecf0;
	border-color: #eaecf0;
}

#v-button a.mw-selflink:hover {
	background: #eaecf0;
}

#v-body {
	align-items: flex-start;
	display: flex;
	gap: 0.375em;
	grid-column: 1/span 7;
	grid-row: 11;
	justify-content: flex-start;
	overflow: auto;
	padding: 0 1.125em 1.875em 1.125em;
	text-align: left;
	white-space: nowrap;
}

#v-block {
	background: var(--background-color-base);
	border: 0.0625rem solid var(--border-color-subtle);
	border-radius: 0.125rem;
	display: grid;
	gap: 0.1875em;
	grid-template-columns: repeat(9, auto);
	grid-template-rows: repeat(14, auto);
}

#v-block div {
	border-radius: 0.125rem;
	color: var(--color-subtle);
	font-family: "Linux Libertine", Georgia, Times, serif;
	font-weight: bold;
	font-size: 1em;
	grid-column: 5;
	grid-row: 4;
	user-select: none;
}

#v-block::after {
	background: var(--border-color-muted);
	content: "";
	display: block;
	grid-column: 5;
	grid-row: 7;
	height: 0.0625rem;
}

#v-block ul {
	grid-column: 5;
	grid-row: 10;
	list-style: none;
	margin: unset;
	padding: unset;
}

#v-block ul li {
	margin: unset;
}

#v-link {
	align-self: end;
	grid-column: 1/span 7;
	grid-row: 11;
	justify-self: end;
	padding: 0.25em;
	position: absolute;
	z-index:1;
}

#v-link a {
	background: var(--border-color-subtle);
	border-radius: 0.125rem;
	display: block;
	height: 0.125em;
	width: 0.125em;
}

@media (max-width: 428px) {

	#v {
	align-items: unset;
	gap: unset;
	grid-template-columns: unset;
	padding: unset;
	}

	#v-top {
	background: var(--background-color-neutral-subtle);
	gap: 0.25em;
	grid-column: 1;
	grid-row: 1;
	grid-template-columns: repeat(9, auto);
	grid-template-rows: repeat(27, auto);
	}

	#v-heading {
	font-size: 1.3em;
	grid-column: 5;
	grid-row: 13;
	}

	#v-button {
	flex-wrap: nowrap;
	grid-column: 5;
	grid-row: 20;
	justify-content: unset;
	margin: 0 -1em -3em -1em;
	overflow: auto;
	padding: 0 1em 3em 1em;
	}

	#v-body {
	align-items: unset;
	display: flex;
	flex-direction: column;
	font-size: unset;
	gap: unset;
	grid-column: 1;
	grid-row: 5;
	margin: unset;
	overflow: unset;
	padding: unset;
	z-index:1;
	}

	#v-block {
	background: var(--background-color-neutral-subtle,#f8f9fa);
	border: unset;
	gap: 0.25em;
	justify-content: start;
	grid-template-columns: repeat(9,auto)1fr repeat(3,auto);
	grid-template-rows: repeat(19,auto);
	margin: unset;
	}

	#v-block div {
	color: transparent;
	font-weight: unset;
	grid-column: 5;
	grid-row: 1/span 19;
	height: 1.25em;
	line-height: 0;
	margin: unset;
	overflow: hidden;
	padding: calc(0.0625rem + 9*0.25em + 0.0625rem + 0.3125em + 0.2em) 0 calc(9*0.25em + 0.0625rem + 0.3125em + 0.2em) 0;
	text-overflow: ellipsis;
	width: 1.25em;
	writing-mode: vertical-lr;
	}

	#v-block div span {
	align-items: center;
	background: var(--color-placeholder,#72777d);
	border-radius: 0.125rem;
	color: var(--background-color-neutral-subtle,#f8f9fa);
	display: inline-flex;
	height: 1.25em;
	justify-content: center;
	width: 1.25em;
	text-combine-upright: all;
	}

	#v-block::after {
	grid-column: 1/span 13;
	grid-row: 1;
	}

	#v-block ul {
	background: unset;
	border: unset;
	display: flex;
	flex-wrap: wrap;
	gap: 0.375em 0.3125em;
	grid-column: 9;
	grid-row: 10;
	}

	#v-block ul a {
	background: var(--background-color-base);
	border: 0.0625rem solid var(--background-color-neutral);
	border-radius: 3rem;
	display: block;
	margin: unset;
	padding: 0.3125em 0.75em;
	text-decoration: none;
	width: auto;
	transition: 100ms;
	}

	#v-block ul a:hover {
	background-color: rgba(0,24,73,.027);
	border-color: #a2a9b1;
	}

	#v-block ul a:focus {
	border-color: #36c;
	box-shadow: inset 0 0 0 0.0625rem var(--box-shadow-color-progressive--focus,#36c);
	}
	
	#v-block ul a:active {
	background-color: var(--background-color-interactive,#eaecf0);
	border-color: #72777d;
	box-shadow: none;
	color: #ac6600;
	}
}