[scss.header] smaller header height
This commit is contained in:
parent
cd9f342eda
commit
9ae61af2c4
|
@ -32,7 +32,9 @@ $menu-width: 4em;
|
|||
|
||||
// Header
|
||||
$header-bg: #fff;
|
||||
$header-height: 4em;
|
||||
$header-height-noratio: 4em;
|
||||
$header-font-size-ratio: 0.8;
|
||||
$header-height: #{$header-height-noratio * $header-font-size-ratio};
|
||||
|
||||
|
||||
$c404-bubble-width: 40vh;
|
|
@ -7,7 +7,7 @@
|
|||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: calc( #{$header-height} - 1px );
|
||||
height: calc( #{$header-height-noratio} - 1px );
|
||||
|
||||
background-color: $header-bg;
|
||||
border-bottom: 1px solid #e3e7eb;
|
||||
|
@ -17,6 +17,8 @@
|
|||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
|
||||
font-size: #{$header-font-size-ratio}em;
|
||||
|
||||
z-index: 150;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue