diff options
| author | Kian Kasad <kian@kasad.com> | 2021-06-11 00:59:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-11 13:29:56 +0530 |
| commit | 87fbe01124c00d4e7a6f37c1cb3163a7cd736616 (patch) | |
| tree | 26886ffdca64423bab98462d86e93169ddbca3a8 /assets/css/common/header.css | |
| parent | 537ec0038f9016f3833020521bcf82179a38da4e (diff) | |
Add missing semicolons in CSS files (#408)
Many of the CSS files had no semicolon after the last rule in a block,
which is proper syntax, but it's annoying when adding more rules. Since
omitting the semicolons doesn't really have a benefit, I've decided to
add them.
Diffstat (limited to 'assets/css/common/header.css')
| -rw-r--r-- | assets/css/common/header.css | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/assets/css/common/header.css b/assets/css/common/header.css index beaf5bd..ddd5b6b 100644 --- a/assets/css/common/header.css +++ b/assets/css/common/header.css @@ -5,11 +5,11 @@ max-width: calc(var(--nav-width) + var(--gap) * 2); margin-inline-start: auto; margin-inline-end: auto; - line-height: var(--header-height) + line-height: var(--header-height); } .nav a { - display: block + display: block; } .logo, @@ -19,7 +19,7 @@ } .logo { - flex-wrap: inherit + flex-wrap: inherit; } .logo a { @@ -33,7 +33,7 @@ pointer-events: none; transform: translate(0, -10%); border-radius: 6px; - margin-inline-end: 8px + margin-inline-end: 8px; } #theme-toggle svg { @@ -42,36 +42,36 @@ button#theme-toggle { font-size: 26px; - margin: auto 4px + margin: auto 4px; } body.dark #moon { vertical-align: middle; - display: none + display: none; } body:not(.dark) #sun { - display: none + display: none; } #menu { list-style: none; word-break: keep-all; overflow-x: auto; - white-space: nowrap + white-space: nowrap; } #menu li+li { - margin-inline-start: var(--gap) + margin-inline-start: var(--gap); } #menu a { - font-size: 16px + font-size: 16px; } #menu .active { font-weight: 500; - border-bottom: 2px solid currentColor + border-bottom: 2px solid currentColor; } .lang-switch li, @@ -83,7 +83,7 @@ body:not(.dark) #sun { .lang-switch { display: flex; - flex-wrap: inherit + flex-wrap: inherit; } .lang-switch a { @@ -93,5 +93,5 @@ body:not(.dark) #sun { } .logo-switches { - flex-wrap: inherit + flex-wrap: inherit; } |
