-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use data-subtype to style NPF text blocks
begins the work of splitting NPF element styling from the project to a reusable stylesheet
- Loading branch information
1 parent
96faf0d
commit 847e794
Showing
4 changed files
with
32 additions
and
40 deletions.
There are no files selected for viewing
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,26 @@ | ||
[data-subtype="heading2"] { | ||
font-size: 1.25rem; | ||
font-weight: 400; | ||
line-height: 1.3; | ||
} | ||
|
||
[data-subtype="heading1"] { | ||
font-size: 1.625rem; | ||
font-weight: 400; | ||
line-height: 1.3; | ||
} | ||
|
||
[data-subtype="quote"] { | ||
font-family: Calluna, sans-serif; | ||
font-size: 1.4375rem; | ||
} | ||
|
||
[data-subtype="chat"] { | ||
font-family: Source Code Pro, monospace; | ||
} | ||
|
||
[data-subtype="quirky"] { | ||
font-family: Fairwater, serif; | ||
font-size: 24px; | ||
line-height: 1.3em; | ||
} |
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
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
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