index: Add /de/ and /en/ versions
This commit is contained in:
@ -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] {
|
||||
|
Reference in New Issue
Block a user