Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hkgrotesk font in page. #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
429 changes: 429 additions & 0 deletions hkgrotesk/OFL-FAQ.txt

Large diffs are not rendered by default.

Binary file added hkgrotesk/hkgrotesk-bold-webfont.woff
Binary file not shown.
Binary file added hkgrotesk/hkgrotesk-bold-webfont.woff2
Binary file not shown.
Binary file added hkgrotesk/hkgrotesk-regular-webfont.woff
Binary file not shown.
Binary file added hkgrotesk/hkgrotesk-regular-webfont.woff2
Binary file not shown.
20 changes: 20 additions & 0 deletions hkgrotesk/stylesheet.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 1, 2018 */



@font-face {
font-family: 'HK Grotesk';
src: url('hkgrotesk-bold-webfont.woff2') format('woff2'),
url('hkgrotesk-bold-webfont.woff') format('woff');
font-weight: bold;
font-style: normal;

}

@font-face {
font-family: 'HK Grotesk';
src: url('hkgrotesk-regular-webfont.woff2') format('woff2'),
url('hkgrotesk-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name = "viewport" content = "initial-scale=1,user-scalable=no,width=device-width">
<meta name = "description" content = "">
<link href = "style.css" rel = "stylesheet" type = "text/css">
<link href = "hkgrotesk/stylesheet.css" rel = "stylesheet" type = "text/css">

<title>R G B</title>

Expand Down
15 changes: 15 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,31 @@ body{
font-size: 300px;
display: inline-block;
cursor: pointer;
font-family: 'HK Grotesk';
src: url('hkgrotesk-regular-webfont.woff2') format('woff2'),
url('hkgrotesk-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
#g{
font-size: 300px;
display: inline-block;
cursor: pointer;
font-family: 'HK Grotesk';
src: url('hkgrotesk-regular-webfont.woff2') format('woff2'),
url('hkgrotesk-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
#b{
font-size: 300px;
display: inline-block;
cursor: pointer;
font-family: 'HK Grotesk';
src: url('hkgrotesk-regular-webfont.woff2') format('woff2'),
url('hkgrotesk-regular-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}

button{
Expand Down