Skip to content

Commit

Permalink
improve responsive
Browse files Browse the repository at this point in the history
  • Loading branch information
ntk148v committed Aug 16, 2024
1 parent cf3df45 commit b4b84b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assets/css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@
--page-top: 64px;
--page-gutter: 24px;
--header-height: 48px;
--footer-height: 48px;
--footer-height: 96px;
--sidebar-top: 72px;

--content-width: 40rem;
--content-height: calc(100vh - (var(--page-top) * 2) - var(--footer-height));

@media (min-width: 1080px) {
--page-top: 128px;
--sidebar-top: 144px;
@media (min-width: 640px) {
--page-top: 192px;
--page-gutter: 48px;
--footer-height: 48px;
}
}

Expand Down

0 comments on commit b4b84b3

Please sign in to comment.