Skip to content
Merged
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
17 changes: 17 additions & 0 deletions docs/stylesheets/nokia-fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,21 @@
font-weight: 700;
font-style: normal;
font-display: swap;
}

@font-face {
font-family: 'NokiaPureText';
src: url('https://cdn.jsdelivr.net/gh/hellt/[email protected]/nokia/NokiaPureText_Bd.eot');
/* IE9 Compat Modes */
src: url('https://cdn.jsdelivr.net/gh/hellt/[email protected]/nokia/NokiaPureText_Bd.woff2') format('woff2'),
/* Super Modern Browsers */
url('https://cdn.jsdelivr.net/gh/hellt/[email protected]/nokia/NokiaPureText_Bd.woff') format('woff'),
/* Pretty Modern Browsers */
url('https://cdn.jsdelivr.net/gh/hellt/[email protected]/nokia/NokiaPureText_Bd.ttf') format('truetype'),
/* Safari, Android, iOS */
url('https://cdn.jsdelivr.net/gh/hellt/[email protected]/nokia/NokiaPureText_Bd.svg#svgFontName') format('svg');
/* Legacy iOS */
font-weight: bold;
font-style: normal;
font-display: swap;
}
6 changes: 6 additions & 0 deletions docs/stylesheets/nokia.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
max-width: 40rem;
}

/* on firefox strong was getting font weight 400, which was not bold */
strong,
b {
font-weight: bold;
}

body,
input {
font-weight: 300;
Expand Down