From 87fbe01124c00d4e7a6f37c1cb3163a7cd736616 Mon Sep 17 00:00:00 2001 From: Kian Kasad Date: Fri, 11 Jun 2021 00:59:56 -0700 Subject: 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. --- assets/css/common/header.css | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'assets/css/common/header.css') 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; } -- cgit v1.2.3