feat: might be actually feature-complete by now
All checks were successful
All checks were successful
This commit is contained in:
@@ -252,8 +252,27 @@ hr {
|
||||
border-top: 1px solid var(--code-border);
|
||||
}
|
||||
|
||||
.nav-toggle, .nav-toggle-label {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 600px) {
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.nav-toggle-label {
|
||||
display: block;
|
||||
font-size: 30px;
|
||||
cursor: pointer;
|
||||
color: var(--fg-heading);
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
#side-bar {
|
||||
display: none;
|
||||
position: relative;
|
||||
top: auto;
|
||||
left: auto;
|
||||
@@ -264,6 +283,10 @@ hr {
|
||||
margin: 0 20px 20px 20px;
|
||||
}
|
||||
|
||||
.nav-toggle:checked ~ #side-bar {
|
||||
display: block;
|
||||
}
|
||||
|
||||
article {
|
||||
margin: 0 20px 0 20px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user