Skip to content

Commit

Permalink
feat: additional styling
Browse files Browse the repository at this point in the history
  • Loading branch information
dfritschy committed Jun 8, 2021
1 parent d418e86 commit f9388d5
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/css/_grid.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
height: 100%;
display: block;
margin: auto;
max-width: 75%;
max-width: 66.6666%;

&.invert {
@media (prefers-color-scheme: dark) {
Expand Down
2 changes: 1 addition & 1 deletion src/css/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ body {
left: 1rem;
margin-bottom: 3rem;

> img {
img {
height: 5rem;
max-width: 60%;
}
Expand Down
8 changes: 8 additions & 0 deletions src/css/_typography.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,19 @@
@import "variables";

h1 {
color: var(--brand-primary);
@media screen and (min-width: $lg-min) {
hyphens: none;
}
}

.lead {
@media screen and (min-width: $sm-min) {
font-size: 1.5rem;
}
@media screen and (min-width: $xl-min) {
font-size: 2rem;
hyphens: none;
}
}

Expand Down

0 comments on commit f9388d5

Please sign in to comment.