Skip to content

Commit

Permalink
mobile adaptation
Browse files Browse the repository at this point in the history
  • Loading branch information
declanrjb committed Jul 22, 2024
1 parent a168635 commit 3f1f11c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions web/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,26 @@ column {
box-sizing: border-box;
}

/* margin on mobile */
@media (max-width: 640px) {
.header-chart {
width: 100%;
margin: 0px;
}

.header>h1 {
font-size: 1.5em;
}

figure {
width: 95%;
margin: 0 2.5%;
min-height: 200px;
}

column {
width: 100%;
}
}


4 changes: 4 additions & 0 deletions web/scrolly-images/template.css
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,8 @@ body {
padding-left: 0.5em;
padding-right: 0.5em;
}

.row {
height: 100px;
}
}

0 comments on commit 3f1f11c

Please sign in to comment.