From bb7d15243eb535f4319bcdd2a6b74ddee5bf5d08 Mon Sep 17 00:00:00 2001 From: Jerry Conne Date: Sat, 11 Feb 2023 08:32:34 +0800 Subject: [PATCH] Feb 11 2023 3 --- static/css/style-mobile.css | 23 +++++++++++++++++------ static/css/style.css | 25 ++++++++++++++++++------- 2 files changed, 35 insertions(+), 13 deletions(-) diff --git a/static/css/style-mobile.css b/static/css/style-mobile.css index a7a137a2..e0c6abc9 100644 --- a/static/css/style-mobile.css +++ b/static/css/style-mobile.css @@ -15,7 +15,7 @@ width: 100%; height: 80px; border-bottom: 2px solid rgb(225, 225, 225); - background-color: rgba(247, 247, 247, 0.75); + background-color: rgba(255, 255, 255, 0.89); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); list-style: none; @@ -27,19 +27,30 @@ overflow: hidden; } + /* legacy version +.top-bar:focus-within { + height: 160px; +} + +.top-bar:focus-within .menu { + top: 35px; +} + +.top-bar:focus-within .search-box { + visibility: visible; +} + +*/ + .top-bar:focus-within { height: 360px; - box-shadow: 0px 10px 20px #c9c9c9c2; + box-shadow: 0px 10px 20px #bababaf1; } .top-bar:focus-within .menu { top: 0px; } - .top-bar:focus-within .search-box { - visibility: visible; - } - .top-bar-wrapper { display: flex; justify-content: space-between; diff --git a/static/css/style.css b/static/css/style.css index e18e9092..88fd58f4 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -12,7 +12,7 @@ body { width: 100%; height: 80px; border-bottom: 2px solid rgb(225, 225, 225); - background-color: rgba(247, 247, 247, 0.75); + background-color: rgba(255, 255, 255, 0.89); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); list-style: none; @@ -24,19 +24,30 @@ body { overflow: hidden; } +/* legacy version .top-bar:focus-within { - height: 360px; - box-shadow: 0px 10px 20px #c9c9c9c2; + height: 160px; } .top-bar:focus-within .menu { - top: 0px; + top: 35px; } .top-bar:focus-within .search-box { visibility: visible; } +*/ + +.top-bar:focus-within { + height: 360px; + box-shadow: 0px 10px 20px #bababaf1; +} + +.top-bar:focus-within .menu { + top: 0px; +} + .top-bar-wrapper { display: flex; justify-content: space-between; @@ -112,14 +123,14 @@ body { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; } -#info-customized-1{ +#info-customized-1 { font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; font-size: 20px; font-weight: bold; margin-left: 20px; } -.link-set{ +.link-set { display: block; float: left; list-style: none; @@ -127,7 +138,7 @@ body { margin-top: 0px; } -.link-customized{ +.link-customized { text-decoration: none; color: #000; }