sourcehypertextpublic100100albums.css

:root {
	--background: black;
	--text: white;
	--accent: white;
	--accent-translucent: transparent;
	--accent-seethrough: transparent;
}

body {
	max-inline-size: 100%;

	font-family: "Noto Sans VF", "Noto Sans", var(--sans-serif);
	font-stretch: extra-condensed;
}

main {
	max-inline-size: none;
	margin: 0;
	padding: 0;
}

.centred,
footer {
	max-inline-size: 80ch;
	margin-inline: auto;
	padding-inline: 1em;
}

h1,
h2,
h3 {
	margin-block-start: 0;
	margin-inline-start: -1.25rem;

	color: #fff8;
	font-family: var(--system);
	font-variant-numeric: lining-nums;
	font-weight: 900;
	line-height: 0.6;
	text-align: start;
}

h1 {
	font-size: 4rem;

	text-align: start;
}

h1 small {
	display: block;
	margin-block-start: 1rem;

	font-size: 2rem;
}

h2 {
	font-size: 3rem;
}

h3 {
	margin-inline: 0 -1rem;

	font-size: 2rem;
	font-style: italic;
	text-align: end;
}

h3 small {
	display: block;
	margin-block-start: 0.5em;

	font-size: 1.5rem;
}

a#outlink {
	display: block;
	text-align: center;
	margin-inline: auto;
}

.gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(9em, 1fr));
	gap: 1rem;

	margin-block: 3.5rem;
	margin-inline: auto;
	padding: 0;

	font-size: 0.9em;
	line-height: 1.2;
}

.gallery li {
	position: relative;

	display: block;
	flex: 1 1 9em;
	min-block-size: 15em;
	margin: 0;
	padding: 0;

	hyphens: initial;
}

.gallery li .cover {
	aspect-ratio: 1 / 1;
	inline-size: 100%;
	margin: 0;
	margin-block-end: 1ch;

	background: url("/100/100chart.jpg");
	background-size: 1000%;
	background-position-x: calc(-100% * var(--x));
	background-position-y: calc(-100% * var(--y));
	box-shadow: 0 0 0 1px black inset;
}

.gallery div.num {
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;

	display: flex;
	align-items: center;
	justify-content: center;

	block-size: 1.667em;
	inline-size: 1.667em;

	font-weight: bold;
	text-align: center;
	text-shadow: 0 0 5px black, 0 0 2px black;

	background-color: #0008;
}

.gallery .flag {
	float: right;
	margin-block: 0.5ch 0.125em;
	margin-inline-start: 0.125em;

	border: none;
}

.gallery small {
	display: block;
	margin-block-start: 0.125em;
}

.gallery strong i[lang] {
	font-weight: normal;
}

footer {
	text-align: center;
}

@media only screen and (max-width: 50rem) {
	.gallery {
		display: block;
	}

	.gallery li {
		min-block-size: 4.5rem;
		padding-block: 0.5rem;
		margin-block: 0;

		border-block-start: 1px solid white;
	}

	.gallery li .cover {
		float: left;
		clear: both;

		inline-size: 3.5rem;
		margin-block-end: 0;
		margin-inline-end: 0.667rem;
	}

	.gallery div.num {
		inset-block-start: 0.5rem;
	}
}

.comment-section {
	max-inline-size: 80ch;
	margin-block: 3rem;
	margin-inline: auto;
}

.comments-form * {
	font-stretch: extra-condensed;
}

.comments-form select {
	padding-inline-start: 1ch;
}

@font-face {
	font-family: "Noto Sans VF";
	src: url("/fonts/NotoSans-VF.woff2") format("woff2-variations");
	font-style: normal;
	font-weight: 200 900;
	font-stretch: 66% 100%;
}