diff options
author | Thomas Lange <code@nerdmind.de> | 2021-07-05 01:43:18 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2021-07-05 01:43:18 +0200 |
commit | cb6e45b130bde70458ee544069834a951214037d (patch) | |
tree | 47323057dd74b995ae0cb908cdf760e3d6904ad6 /theme/admin/rsrc/css/import/_responsive.scss | |
parent | 7f1223c36bf1ebfd6c22265ed9aec630e5a054bb (diff) | |
download | blog-cb6e45b130bde70458ee544069834a951214037d.tar.gz blog-cb6e45b130bde70458ee544069834a951214037d.tar.xz blog-cb6e45b130bde70458ee544069834a951214037d.zip |
Add SCSS variables and do some minor optimizations
This commit adds and uses variables for the SCSS files. Additionally,
some minor optimizations have been done on the theme's HTML/CSS code.
Diffstat (limited to 'theme/admin/rsrc/css/import/_responsive.scss')
-rw-r--r-- | theme/admin/rsrc/css/import/_responsive.scss | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/theme/admin/rsrc/css/import/_responsive.scss b/theme/admin/rsrc/css/import/_responsive.scss index 2a7cebb..f6e0b5a 100644 --- a/theme/admin/rsrc/css/import/_responsive.scss +++ b/theme/admin/rsrc/css/import/_responsive.scss @@ -6,7 +6,7 @@ @media only screen and (min-width: 62.5em /*1000px*/) { #main-content { - border: 0.05rem solid #AAA; + border: 0.05rem solid $borderColor; border-top: none; border-bottom: none; } @@ -32,13 +32,15 @@ #main-navi { font-size: 1rem; - li { - span { - display: none; - } + ul { + li { + span { + display: none; + } - .fa { - margin-right: 0; + .fa { + margin-right: 0; + } } } @@ -76,6 +78,10 @@ overflow: hidden; box-sizing: border-box; + &-before { + float: none; + } + li { flex-grow: 1; @@ -84,13 +90,4 @@ } } } - - .actions-before { - float: none; - } - - .arguments { - font-size: 0.5rem; - line-height: 0.75rem; - } } |