Navigation und Content-Pages so angepasst, dass über einen Language-Chooser die Sprache der Seite gewechselt werden kann und automatisch auch der reload der Content-Page angestoßen wird.

This commit is contained in:
2022-05-25 15:37:15 +02:00
parent 516c35dcb4
commit 9188148fe7
7 changed files with 78 additions and 30 deletions

View File

@@ -63,3 +63,15 @@ body {
right: -53px;
}
}
// 404
.page-404 {
text-align: center;
margin-bottom: @space-xl;
.brand {
width: 400px;
margin: auto auto @space-xl auto;
}
}

View File

@@ -2,20 +2,22 @@
display: flex;
justify-content: flex-end;
align-items: center;
border: 1px solid #ccc;
border: 1px solid @secondary;
margin: @space-xs;
.lang {
border: 1px solid #ccc;
border: 1px solid @secondary;
padding: 0 @space-xs;
cursor: pointer;
&:hover {
background: #ccc;
color: black;
background: @primary;
color: @on-primary;
}
&.active {
background: #ccc;
color: black;
background: @primary;
color: @on-primary;
font-weight: 700;
}
}