Skip to content

Commit

Permalink
feat: add bg image for header and footer + tweak mobile view
Browse files Browse the repository at this point in the history
  • Loading branch information
meszaros-lajos-gyorgy committed Jul 6, 2024
1 parent 77abd1d commit 522fb15
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Binary file added arx-bg-pattern.webp
Binary file not shown.
15 changes: 13 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ body {
}

header {
background: var(--kobicha);
background: url("/arx-bg-pattern.webp") repeat-x center center var(--kobicha);
background-size: cover;
padding: 10px 30px;
border-bottom: 1px solid var(--cornsilk);
}
Expand All @@ -34,6 +35,12 @@ header img {
margin-top: 29px;
}

@media (max-width: 725px) {
header img {
display: none;
}
}

main {
flex: 1;
background: url("/arx-bg-image.webp") no-repeat center center var(--walnut-brown);
Expand All @@ -42,13 +49,17 @@ main {
main > div {
width: min(800px, 100%);
margin: 0 auto;
padding: 0 10px;
box-sizing: border-box;
}

footer {
background: var(--kobicha);
background: url("/arx-bg-pattern.webp") repeat-x center center var(--kobicha);
background-size: cover;
padding: 10px 30px;
border-top: 1px solid var(--cornsilk);
font-size: 0.8rem;
text-align: center;
}

h1,
Expand Down

0 comments on commit 522fb15

Please sign in to comment.