Skip to content

Commit

Permalink
Update default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg authored Dec 7, 2024
1 parent 469e120 commit a3e1fd1
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions docs/pages/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -345,18 +345,24 @@
color: light-dark(rgb(81, 81, 81), var(--dark-foreground-color));
}
@media (max-width: 800px) {
.right-sidebar {
order: -1;
display: block;
height: 100%;
}
main aside {
padding-top: 0;
}
#main {
grid-template-columns: 1fr;
}
aside {
display: none;
}
main {
grid-template-columns: 1fr;
}
article {
max-width: 100%;
padding: 1em;
padding-top: 0;
}
.nav-title svg {
display: block;
Expand Down Expand Up @@ -398,7 +404,7 @@
nav {
display: block;
padding: 0;
background-color: light-dark(white, var(--dark-background-color));;
background-color: light-dark(white, var(--dark-background-color));
}
#title {
font-size: 1em;
Expand All @@ -410,7 +416,7 @@
display: none;
}
.nav-title {
background-color: light-dark(white, var(--dark-background-color));;
background-color: light-dark(white, var(--dark-background-color));
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
padding: 0.5em;
padding-left: 1em;
Expand Down

0 comments on commit a3e1fd1

Please sign in to comment.