mirror of
https://github.com/hyzendust/hyzendust.github.io.git
synced 2026-02-15 00:01:11 +01:00
14 lines
295 B
SCSS
14 lines
295 B
SCSS
// On mobile, add little margins
|
|
.body {
|
|
margin-left: $body-margin-left;
|
|
margin-right: $body-margin-right;
|
|
}
|
|
|
|
// On desktop, use fixed width and center <body>
|
|
@media (min-width: $desktop-breakpoint) {
|
|
.body {
|
|
width: $body-max-width;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
} |