ui: modified header style

This commit is contained in:
XPoet 2021-04-26 17:26:19 +08:00
parent 0f9c8607aa
commit 44cd3ddfad
2 changed files with 4 additions and 4 deletions

View File

@ -6,8 +6,8 @@
// ========================================================================================
// layout
// ========================================================================================
$header-height = 76px; // header height
$header-shrink-height = $header-height * 0.72; // header shrink height
$header-height = 68px; // header height
$header-shrink-height = 50px; // header shrink height
$scroll-progress-bar-height = 2px; // scroll progress bar height
$main-content-width = 80%; // main content width (PC)
$main-content-width-tablet = 86%; // main content width (tablet)

View File

@ -1,4 +1,4 @@
$logo-title-font-size = 2.2rem;
$logo-title-font-size = 2rem;
$pc-search-icon-font-size = 1.5rem;
$menu-bar-line-height = 2.5px;
@ -44,7 +44,7 @@ $menu-bar-line-height = 2.5px;
transition-t("transform", "0", "0.2", "linear");
.header-shrink & {
transform: scale(0.85);
transform: scale(0.8);
transform-origin: left;
}