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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user