Skip to content

Commit a086a4d

Browse files
committed
Padding for the body (especially for mobile)
1 parent 06501d8 commit a086a4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

assets/css/screen.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
$max-width: 60ch;
55
$line-height-body: 1.5;
66
$font-stack: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
7+
$spacing-m: 1rem;
78

89
* {
910
box-sizing: border-box;
@@ -15,6 +16,8 @@ html {
1516

1617
body {
1718
margin: 0 auto;
19+
padding: $spacing-m;
20+
1821
line-height: $line-height-body;
1922
max-width: $max-width;
2023

0 commit comments

Comments
 (0)