summaryrefslogtreecommitdiff
path: root/assets/css/header.css
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2021-03-27 11:28:55 +0530
committerGitHub <noreply@github.com>2021-03-27 11:28:55 +0530
commite503367a1adff7a62f4d7773f06f071f910ffc5a (patch)
treec50374b50fc19c82f46af7f613dc42af74f94322 /assets/css/header.css
parentb6af9eddee7f816b01a68836344b36d30de4a492 (diff)
[BREAKING] Split-up css into sub-parts (#317)
* Move styles into 3 different locations - core - common - hljs * Load all stylesheets in proper order
Diffstat (limited to 'assets/css/header.css')
-rw-r--r--assets/css/header.css97
1 files changed, 0 insertions, 97 deletions
diff --git a/assets/css/header.css b/assets/css/header.css
deleted file mode 100644
index beaf5bd..0000000
--- a/assets/css/header.css
+++ /dev/null
@@ -1,97 +0,0 @@
-.nav {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- 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
-}
-
-.logo,
-#menu {
- display: flex;
- margin: auto var(--gap);
-}
-
-.logo {
- flex-wrap: inherit
-}
-
-.logo a {
- font-size: 24px;
- font-weight: 700;
-}
-
-.logo a img {
- display: inline;
- vertical-align: middle;
- pointer-events: none;
- transform: translate(0, -10%);
- border-radius: 6px;
- margin-inline-end: 8px
-}
-
-#theme-toggle svg {
- height: 18px;
-}
-
-button#theme-toggle {
- font-size: 26px;
- margin: auto 4px
-}
-
-body.dark #moon {
- vertical-align: middle;
- display: none
-}
-
-body:not(.dark) #sun {
- display: none
-}
-
-#menu {
- list-style: none;
- word-break: keep-all;
- overflow-x: auto;
- white-space: nowrap
-}
-
-#menu li+li {
- margin-inline-start: var(--gap)
-}
-
-#menu a {
- font-size: 16px
-}
-
-#menu .active {
- font-weight: 500;
- border-bottom: 2px solid currentColor
-}
-
-.lang-switch li,
-.lang-switch ul,
-.logo-switches {
- display: inline-flex;
- margin: auto 4px;
-}
-
-.lang-switch {
- display: flex;
- flex-wrap: inherit
-}
-
-.lang-switch a {
- margin: auto 3px;
- font-size: 16px;
- font-weight: 500;
-}
-
-.logo-switches {
- flex-wrap: inherit
-}