Center the main navigation between the logo and the header actions
This commit is contained in:
+10
-2
@@ -2652,8 +2652,16 @@ a {
|
|||||||
letter-spacing: 0.16em;
|
letter-spacing: 0.16em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.site-header .lang-switch {
|
/* The nav takes the free space between the logo and the actions and centres itself in it. */
|
||||||
margin-inline-start: auto;
|
.site-header .nav {
|
||||||
|
flex: 1;
|
||||||
|
justify-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 1023px) {
|
||||||
|
.site-header .lang-switch {
|
||||||
|
margin-inline-start: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.lang-switch a,
|
.lang-switch a,
|
||||||
|
|||||||
Reference in New Issue
Block a user