Skip to content

Commit

Permalink
migrated the updated fonts solution from cynkra/cynkraweb#662
Browse files Browse the repository at this point in the history
  • Loading branch information
talpitoo authored and maelle committed Sep 17, 2024
1 parent edafda9 commit 77017eb
Showing 1 changed file with 21 additions and 20 deletions.
41 changes: 21 additions & 20 deletions inst/cheatsheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ body {
margin: 0;
width: 100%;
height: 99.9%;
font-family: "frutiger-light", sans-serif;
font-family: "frutiger", sans-serif;
}

pre {
Expand All @@ -12,27 +12,28 @@ pre {
margin-top: 5px;
}

/* NOTE: 'new' frutiger normal=400 */
@font-face {
font-family: "frutiger-light", sans-serif;
src: url("https://cynkra.com/user/fonts/1449009/e5acedaa-f4c6-4128-8b5a-2f3f8324f09b.eot"); /* IE9 Compat Modes */
src: local("Frutiger Light"), local("frutiger-light"),
url("https://cynkra.com/user/fonts/1449009/e5acedaa-f4c6-4128-8b5a-2f3f8324f09b.eot?#iefix")
format("embedded-opentype"),
/* IE6-IE8 */
url("https://cynkra.com/user/fonts/1449009/b3ca2df2-7bee-4fc0-84cb-b029b99c3b61.woff2")
format("woff2"),
/* Super Modern Browsers */
url("https://cynkra.com/user/fonts/1449009/554d0bc9-df00-45eb-993e-f62841c80ab1.woff")
format("woff"),
/* Pretty Modern Browsers */
url("https://cynkra.com/user/fonts/1449009/3512931d-90c5-4aa4-b0dc-3a3630c65f37.ttf")
format("truetype"),
/* Safari, Android, iOS */
url("https://cynkra.com/user/fonts/1449009/f8b7e418-9dc4-4040-ac46-c50501eac7b5.svg#f8b7e418-9dc4-4040-ac46-c50501eac7b5")
format("svg"); /* Legacy iOS */
font-weight: normal;
font-family: "frutiger";
src: url("https://cynkra.com/assets/css/fonts/6135829/b05d44ef-6a78-4aa4-9388-3f0e05252a48.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

/* NOTE: 'new' frutiger light=300 */
@font-face {
font-family: "frutiger";
src: url("https://cynkra.com/assets/css/fonts/1449009/b3ca2df2-7bee-4fc0-84cb-b029b99c3b61.woff2") format("woff2");
font-weight: 300;
font-style: normal;
}

/* NOTE: 'new' frutiger bold=700 */
@font-face {
font-family: "frutiger";
src: url("https://cynkra.com/assets/css/fonts/1449025/c31af250-c28e-40ef-bed6-866e7ed6fedf.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: fallback;
}

/* Important column */
Expand Down

0 comments on commit 77017eb

Please sign in to comment.