Skip to content

Commit

Permalink
Feb 11 2023 3
Browse files Browse the repository at this point in the history
  • Loading branch information
jerrylovescheese committed Feb 11, 2023
1 parent b264311 commit bb7d152
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 13 deletions.
23 changes: 17 additions & 6 deletions static/css/style-mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down
25 changes: 18 additions & 7 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -112,22 +123,22 @@ 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;
padding-left: 20px;
margin-top: 0px;
}

.link-customized{
.link-customized {
text-decoration: none;
color: #000;
}
Expand Down

0 comments on commit bb7d152

Please sign in to comment.