-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1193 from eed3si9n/wip/typeface
Use better and open typeface
- Loading branch information
Showing
9 changed files
with
158 additions
and
8 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
This file was deleted.
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,28 @@ | ||
html { | ||
font-family: "Lora"; | ||
} | ||
|
||
:root { | ||
font-size: 90%; | ||
} | ||
|
||
pre { | ||
border: solid 1px lightgray; | ||
} | ||
|
||
h1 { | ||
font-family: 'Linux Biolinum'; | ||
} | ||
|
||
h1.menu-title { | ||
font-family: "Lora"; | ||
font-size: 1.5rem; | ||
} | ||
|
||
h2 { | ||
font-family: 'Linux Biolinum'; | ||
} | ||
|
||
h3 { | ||
font-family: 'Linux Biolinum'; | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,129 @@ | ||
@font-face{ | ||
font-family: Lora; | ||
src: url(Lora[wght].ttf); | ||
} | ||
|
||
@font-face{ | ||
font-family: Lora; | ||
font-style: italic; | ||
src: url(Lora-Italitc[wght].ttf); | ||
} | ||
|
||
@font-face{ | ||
font-family: "Linux Biolinum"; | ||
font-style: normal; | ||
src: url(LinBiolinum_R.otf); | ||
} | ||
|
||
@font-face{ | ||
font-family: "Linux Biolinum"; | ||
font-weight: bold; | ||
src: url(LinBiolinum_RB.otf); | ||
} | ||
|
||
@font-face{ | ||
font-family: "Linux Biolinum"; | ||
font-style: italic; | ||
src: url(LinBiolinum_RI.otf); | ||
} | ||
|
||
/* Open Sans is licensed under the Apache License, Version 2.0. See http://www.apache.org/licenses/LICENSE-2.0 */ | ||
/* Source Code Pro is under the Open Font License. See https://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL */ | ||
|
||
/* open-sans-300 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 300; | ||
src: local('Open Sans Light'), local('OpenSans-Light'), | ||
url('open-sans-v17-all-charsets-300.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-300italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 300; | ||
src: local('Open Sans Light Italic'), local('OpenSans-LightItalic'), | ||
url('open-sans-v17-all-charsets-300italic.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-regular - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local('Open Sans Regular'), local('OpenSans-Regular'), | ||
url('open-sans-v17-all-charsets-regular.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 400; | ||
src: local('Open Sans Italic'), local('OpenSans-Italic'), | ||
url('open-sans-v17-all-charsets-italic.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-600 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), | ||
url('open-sans-v17-all-charsets-600.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-600italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 600; | ||
src: local('Open Sans SemiBold Italic'), local('OpenSans-SemiBoldItalic'), | ||
url('open-sans-v17-all-charsets-600italic.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-700 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 700; | ||
src: local('Open Sans Bold'), local('OpenSans-Bold'), | ||
url('open-sans-v17-all-charsets-700.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-700italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 700; | ||
src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), | ||
url('open-sans-v17-all-charsets-700italic.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-800 - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: normal; | ||
font-weight: 800; | ||
src: local('Open Sans ExtraBold'), local('OpenSans-ExtraBold'), | ||
url('open-sans-v17-all-charsets-800.woff2') format('woff2'); | ||
} | ||
|
||
/* open-sans-800italic - latin_vietnamese_latin-ext_greek-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Open Sans'; | ||
font-style: italic; | ||
font-weight: 800; | ||
src: local('Open Sans ExtraBold Italic'), local('OpenSans-ExtraBoldItalic'), | ||
url('open-sans-v17-all-charsets-800italic.woff2') format('woff2'); | ||
} | ||
|
||
/* source-code-pro-500 - latin_vietnamese_latin-ext_greek_cyrillic-ext_cyrillic */ | ||
@font-face { | ||
font-family: 'Source Code Pro'; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url('source-code-pro-v11-all-charsets-500.woff2') format('woff2'); | ||
} |