Skip to content

Commit

Permalink
🐛 Improvements to critical CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
Snuggle committed Jan 17, 2025
1 parent e65bc05 commit 0131a45
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,29 @@
#nav {
background-color: #ffffff;
color: #636363;
position: absolute;
width: 64em;
position: absolute;
max-width: calc(100% - 4em);
background-color: #f7f7f7;
border-top-left-radius: 0.25em;
border-top-right-radius: 0.25em;
cursor: default;
text-align: center;
}

@media screen and (max-width: 736px) {
#nav {
display: block;
position: relative;
max-width: 100%;
width: 100%;
margin-bottom: -1.3em;
}

#main {
border-radius: 0;
}
}
.toggle-theme-dark {
position: absolute;
right: 1%;
Expand Down Expand Up @@ -121,9 +135,4 @@
/* border-bottom: dotted 1px; */
color: inherit;
}
#nav {
display: block;
max-width: calc(100% - 4em);
width: calc(100% - 4em);
}
</style>

0 comments on commit 0131a45

Please sign in to comment.