Skip to content

Commit ed01184

Browse files
committed
Mobile Padding
1 parent 7a4447a commit ed01184

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

public/images/header.png

58.8 KB
Loading

src/pages/index.astro

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const paddedStamps = Array(copies).fill(stamps).flat();
6060
width: 134.5%;
6161
left: -17.2%;
6262
overflow: visible;
63-
background: #597997;
63+
background: #597997 url('/images/header.png') center/cover no-repeat;
6464
}
6565

6666
.logo-wrap {
@@ -174,8 +174,14 @@ const paddedStamps = Array(copies).fill(stamps).flat();
174174
Heights doubled so they appear the same relative size after scaling.
175175
───────────────────────────────────────────────────────────────────────── */
176176
@media (max-width: 1020px) {
177+
.header,
178+
.subheader {
179+
width: 100%;
180+
left: 0;
181+
}
182+
177183
.logo-wrap {
178-
left: 110px;
184+
left: -55px;
179185
}
180186

181187
.subheader:not(.stamps) {

0 commit comments

Comments
 (0)