Skip to content

Commit

Permalink
move NPF font-face declarations to npf.css
Browse files Browse the repository at this point in the history
  • Loading branch information
AprilSylph committed Nov 11, 2021
1 parent 847e794 commit cc074b5
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 67 deletions.
68 changes: 67 additions & 1 deletion src/lib/npf.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,70 @@
[data-subtype="heading2"] {
@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.svg") format("svg");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.svg") format("svg");
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.svg") format("svg");
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.svg") format("svg");
font-weight: 700;
font-style: italic;
}

@font-face {
font-family: Fairwater;
src:
url("https://assets.tumblr.com/fonts/fairwater/fairwater_script_regular-webfont.woff2") format("woff2"),
url("https://assets.tumblr.com/fonts/fairwater/fairwater_script_regular-webfont.woff") format("woff");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: Source Code Pro;
src:
url("https://assets.tumblr.com/fonts/sourcecodepro/sourcecodepro-regular-webfont.woff2") format("woff2"),
url("https://assets.tumblr.com/fonts/sourcecodepro/sourcecodepro-regular-webfont.woff") format("woff");
font-weight: 400;
font-style: normal;
}

[data-subtype="heading2"] {
font-size: 1.25rem;
font-weight: 400;
line-height: 1.3;
Expand Down
66 changes: 0 additions & 66 deletions src/outbox.css
Original file line number Diff line number Diff line change
@@ -1,69 +1,3 @@
@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Regular-webfont.svg") format("svg");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-Black-webfont.svg") format("svg");
font-weight: 700;
font-style: normal;
}

@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-It-webfont.svg") format("svg");
font-weight: 400;
font-style: italic;
}

@font-face {
font-family: Calluna;
src: url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.eot");
src:
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.eot") format("embedded-opentype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.woff") format("woff"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.ttf") format("truetype"),
url("https://assets.tumblr.com/fonts/calluna/Calluna-BoldIt-webfont.svg") format("svg");
font-weight: 700;
font-style: italic;
}

@font-face {
font-family: Fairwater;
src:
url("https://assets.tumblr.com/fonts/fairwater/fairwater_script_regular-webfont.woff2") format("woff2"),
url("https://assets.tumblr.com/fonts/fairwater/fairwater_script_regular-webfont.woff") format("woff");
font-weight: 400;
font-style: normal;
}

@font-face {
font-family: Source Code Pro;
src:
url("https://assets.tumblr.com/fonts/sourcecodepro/sourcecodepro-regular-webfont.woff2") format("woff2"),
url("https://assets.tumblr.com/fonts/sourcecodepro/sourcecodepro-regular-webfont.woff") format("woff");
font-weight: 400;
font-style: normal;
}

:root {
--post-padding: 20px;
--post-vertical-spacing: 15px;
Expand Down

0 comments on commit cc074b5

Please sign in to comment.