diff options
author | thingsym <thingsym@gmail.com> | 2019-12-07 13:00:06 +0300 |
---|---|---|
committer | thingsym <thingsym@gmail.com> | 2019-12-07 13:00:06 +0300 |
commit | ed876752b49b2650f0bdab1eb1f29c4665cee3cf (patch) | |
tree | 3592b4df760483be49d5a38af609ca2938eb6bf5 /src/scss/_project.scss | |
parent | 5d5846ed5eaa001440c0987c12121e119f79cca6 (diff) |
perf: improve scss
Diffstat (limited to 'src/scss/_project.scss')
-rw-r--r-- | src/scss/_project.scss | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/scss/_project.scss b/src/scss/_project.scss index 42b3a88..8408499 100644 --- a/src/scss/_project.scss +++ b/src/scss/_project.scss @@ -1,7 +1,7 @@ header { color: var(--custom-font-color, #fff); background: var(--custom-background-color, #000); - padding: .5rem $default-padding; + padding: .5rem $default-layout-padding; h1 { font-size: 140%; @@ -25,7 +25,7 @@ header { .global-menu { color: var(--custom-font-color, #fff); background: var(--custom-background-color, #000); - padding: .2rem $default-padding; + padding: .2rem $default-layout-padding; ul { list-style: none; @@ -47,7 +47,7 @@ header { z-index: 99999; li { - padding: .2rem $default-padding; + padding: .2rem $default-layout-padding; background: var(--custom-background-color, #000); width: 140px; font-size: 80%; @@ -120,6 +120,7 @@ main { .sidebar { font-size: 90%; + line-height: 1.8; background: $sidebar-background-color; border-right: 1px solid $sidebar-active-color; @@ -149,7 +150,7 @@ main { padding-left: 2rem; } nav > ul ul > li li a { - padding-left: 3rem; + padding-left: 2rem * 1 * 1.5; } @media screen and (max-width: #{map-get($default-breakpoints, xs )} ) { @@ -185,7 +186,7 @@ main { } .sidebar-footer { - padding: $default-padding; + padding: $default-layout-padding; } footer { |