diff options
author | altaf-creator <athaalaa@gmail.com> | 2023-09-05 20:31:01 +0700 |
---|---|---|
committer | altaf-creator <athaalaa@gmail.com> | 2023-09-05 20:31:01 +0700 |
commit | 0140d8efc5c39b081a40bb1289965d0953103dd1 (patch) | |
tree | bc4d984ffc451892031838c03b0ff1a038aeb0e8 | |
parent | 3db8959646b900be7dedcbe0c8f3c662a82cc11d (diff) |
Fix double scrollbars on Chromium-based browsers, better menu for mobile
-rw-r--r-- | style.css | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -15,7 +15,6 @@ html, body { width: 100%; - height: 100%; margin: 0; padding: 0; font-family: 'Roboto', serif; @@ -175,16 +174,17 @@ img { box-sizing: border-box; display: flex; flex-direction: column; - width: 355px; + width: 375px; position: fixed; top: 0; left: 0; - margin: 10px; - height: calc(100% - 20px); + padding: 10px; + height: 100%; overflow: visible; z-index: 9999; opacity: 1; transition: all .2s; + backdrop-filter: blur(25px); } #sidebar > div:first-child { @@ -630,6 +630,8 @@ li>a:hover { #sidebar { visibility: hidden; opacity: 0; + width: 100%; + background-color: rgba(0, 0, 0, 0.2); } .fixed-top-btn-container { |