diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-10-26 22:19:05 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-26 22:19:05 +0530 |
| commit | c33dabf3a233fdeb46bdc63bb6256d75b709faad (patch) | |
| tree | 5a242e1b83f0ed76f0c1e3cba61a2cff2e75f4b9 /assets/css/header.css | |
| parent | a97de0f9a4208fd112ee676ac3b200cea6ba25c4 (diff) | |
header: add Language switch (#54)
* language-switch: init
* header: move logo-switches together
Diffstat (limited to 'assets/css/header.css')
| -rw-r--r-- | assets/css/header.css | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/assets/css/header.css b/assets/css/header.css index 72b5f6a..fe25576 100644 --- a/assets/css/header.css +++ b/assets/css/header.css @@ -7,17 +7,18 @@ max-width: calc(var(--nav-width) + var(--gap) * 2); margin-inline-start: auto; margin-inline-end: auto; + line-height: var(--header-height); } .nav a { display: block; - line-height: var(--header-height); } .logo, .menu { display: flex; margin: auto var(--gap); + flex-wrap: inherit; } .logo a { @@ -40,7 +41,7 @@ user-select: none; } -body.dark #moon{ +body.dark #moon { vertical-align: middle; display: none; } @@ -68,3 +69,22 @@ body:not(.dark) #sun { font-weight: 500; border-bottom: 2px solid currentColor; } + +.lang-switch ul { + display: inline-flex; +} + +.lang-switch a { + font-size: 16px; + font-weight: 500; + margin: 0 8px; +} + +.lang-switch li { + display: inline-flex; +} + +.logo-switches { + display: inline-flex; + flex-wrap: inherit; +} |
