-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: improve home semantics * fix: wrap info cards in aside, remove search title * fix: home menu background color for current page
- Loading branch information
1 parent
00e629d
commit e3cf9fd
Showing
11 changed files
with
464 additions
and
430 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
blockquote { | ||
margin-left: rem(48); | ||
margin-right: 0; | ||
} | ||
|
||
blockquote::before { | ||
color: $blue-400; | ||
content: "“"; | ||
font-family: $font-family-serif; | ||
font-size: rem(64); | ||
margin-left: rem(-48); | ||
margin-top: rem(-18); | ||
position: absolute; | ||
} | ||
|
||
blockquote * { | ||
font-family: $font-family-sans; | ||
font-size: rem(18); | ||
font-style: italic; | ||
font-weight: $font-weight-semibold; | ||
line-height: (26 / 18); | ||
} | ||
|
||
blockquote cite { | ||
font-family: $font-family-serif; | ||
font-size: rem(16); | ||
font-style: italic; | ||
font-weight: $font-weight-normal; | ||
} | ||
|
||
blockquote cite::before { | ||
content: "— "; | ||
} | ||
|
||
@include breakpoint-up(sm) { | ||
blockquote { | ||
margin-right: rem(48); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
h1, | ||
.h1, | ||
h2, | ||
.h2, | ||
h3, | ||
.h3, | ||
h4, | ||
.h4 { | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
} | ||
|
||
h1, | ||
.h1 { | ||
font-family: $font-family-serif; | ||
font-size: rem(36); | ||
font-weight: $font-weight-black; | ||
letter-spacing: rem(-0.16); | ||
line-height: (44 / 36); | ||
} | ||
|
||
h2, | ||
.h2 { | ||
font-family: $font-family-display; | ||
font-size: rem(28); | ||
font-weight: $font-weight-bold; | ||
line-height: (36 / 28); | ||
} | ||
|
||
h3, | ||
.h3 { | ||
font-family: $font-family-display; | ||
font-size: rem(24); | ||
font-weight: $font-weight-semibold; | ||
line-height: (32 / 24); | ||
} | ||
|
||
h4, | ||
.h4 { | ||
font-family: $font-family-sans; | ||
font-size: rem(18); | ||
font-weight: $font-weight-semibold; | ||
line-height: (26 / 18); | ||
} | ||
|
||
@include breakpoint-up(sm) { | ||
h1, | ||
.h1 { | ||
font-size: rem(48); | ||
line-height: (60 / 48); | ||
} | ||
|
||
h2, | ||
.h2 { | ||
font-size: rem(28); | ||
line-height: (40 / 28); | ||
} | ||
|
||
h3, | ||
.h3 { | ||
font-size: rem(24); | ||
line-height: (36 / 24); | ||
} | ||
|
||
h4, | ||
.h4 { | ||
font-size: rem(20); | ||
line-height: (32 / 20); | ||
} | ||
} | ||
|
||
@include breakpoint-up(md) { | ||
h1, | ||
.h1 { | ||
font-size: rem(60); | ||
line-height: (72 / 60); | ||
} | ||
|
||
h2, | ||
.h2 { | ||
font-size: rem(36); | ||
line-height: (48 / 36); | ||
} | ||
|
||
h3, | ||
.h3 { | ||
font-size: rem(28); | ||
line-height: (40 / 28); | ||
} | ||
|
||
h4, | ||
.h4 { | ||
font-size: rem(20); | ||
line-height: (32 / 20); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
ol, | ||
ul { | ||
counter-reset: list-counter; | ||
padding-left: 0; | ||
} | ||
|
||
li { | ||
counter-increment: list-counter; | ||
margin-bottom: 0; | ||
} | ||
|
||
li::marker { | ||
color: $grey-600; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
p { | ||
line-height: (24 / 16); | ||
margin-bottom: 0; | ||
margin-top: 0; | ||
} | ||
|
||
p strong { | ||
font-weight: $font-weight-semibold; | ||
} | ||
|
||
p small { | ||
font-size: rem(14); | ||
line-height: (20 / 14); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.pc-ff--sans { | ||
font-family: $font-family-sans; | ||
} | ||
|
||
.pc-ff--serif { | ||
font-family: $font-family-serif; | ||
} | ||
|
||
.pc-ff--display { | ||
font-family: $font-family-display; | ||
} | ||
|
||
.pc-fw--normal { | ||
font-weight: $font-weight-normal; | ||
} | ||
|
||
.pc-fw--semibold { | ||
font-weight: $font-weight-semibold; | ||
} | ||
|
||
.pc-fw--bold { | ||
font-weight: $font-weight-bold; | ||
} | ||
|
||
.pc-fw--black { | ||
font-weight: $font-weight-black; | ||
} |
Oops, something went wrong.