index: Add /de/ and /en/ versions

This commit is contained in:
2025-01-05 01:06:02 +01:00
parent 5836c63afc
commit 297f575d4b
6 changed files with 206 additions and 8 deletions

View File

@ -81,6 +81,29 @@ nav li.active a{
color: var(--main-color);
}
nav a.flag {
text-decoration: none;
}
nav a.flag div {
display: inline-block;
font-size: 1.25em;
width: 1em;
margin: 0.75rem 1rem;
}
nav a.flag[href='/de/'] div::before,
nav a.flag[href='/en/']:hover div::before,
nav a.flag[href='/en/']:focus div::before {
content: '\1F1EC\1F1E7'; /* GB */
}
nav a.flag[href='/en/'] div::before,
nav a.flag[href='/de/']:hover div::before,
nav a.flag[href='/de/']:focus div::before {
content: '\1F1E6\1F1F9'; /* AT */
}
/**** Index ****/
main span[id] {