Skip to content

Commit e0a0a77

Browse files
committed
Not so aggressive padding
1 parent 671352f commit e0a0a77

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

_sass/header.scss

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,21 @@ body {
1919
color: #fcc24e;
2020
font: 700 6rem/1 'Syncopate', sans-serif;
2121
margin-left: 52px;
22-
padding: 250px 0;
22+
padding: 150px 0;
2323
width: 55%;
2424

2525
@media (max-width: 992px) {
2626
font-size: 75px;
2727
}
2828

2929
@media (max-width: 768px) {
30-
font-size: 2rem;
31-
margin: 0;
32-
padding: 36px 0;
33-
width: 85%;
30+
display: none;
3431
}
3532
}
3633

3734
img {
3835
position: absolute;
39-
top: 53%;
36+
top: 36%;
4037
left: 57%;
4138
width: 550px;
4239
z-index: 1;
@@ -53,7 +50,9 @@ body {
5350
}
5451

5552
@media (max-width: 768px) {
56-
display: none;
53+
position: relative;
54+
left: 0;
55+
padding: 15px;
5756
}
5857
}
5958

0 commit comments

Comments
 (0)