Skip to content

Instantly share code, notes, and snippets.

@gferreira
Last active April 18, 2023 14:31
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gferreira/fdbb16adfb699576242abb0a13c1c404 to your computer and use it in GitHub Desktop.
Save gferreira/fdbb16adfb699576242abb0a13c1c404 to your computer and use it in GitHub Desktop.
Univers in CSS
/*
Exercise 3:
Univers in CSS – a tribute to Adrian Frutiger
39
45 46 47 48 49
53 55 56 57 58 59
63 65 66 67 68
73 75 76
83
*/
@font-face {
font-family: "Univers";
src: url("Univers.woff#39");
font-style: normal;
font-weight: 200;
font-stretch: extra-condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#45");
font-style: normal;
font-weight: 300;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#46");
font-style: italic;
font-weight: 300;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#47");
font-style: normal;
font-weight: 300;
font-stretch: condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#48");
font-style: italic;
font-weight: 300;
font-stretch: condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#49");
font-style: normal;
font-weight: 300;
font-stretch: extra-condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#53");
font-style: normal;
font-weight: 400;
font-stretch: expanded;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#55");
font-style: normal;
font-weight: 400;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#56");
font-style: italic;
font-weight: 400;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#57");
font-style: normal;
font-weight: 400;
font-stretch: condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#58");
font-style: italic;
font-weight: 400;
font-stretch: condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#59");
font-style: normal;
font-weight: 400;
font-stretch: extra-condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#63");
font-style: normal;
font-weight: 700;
font-stretch: expanded;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#65");
font-style: normal;
font-weight: 700;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#66");
font-style: italic;
font-weight: 700;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#67");
font-style: normal;
font-weight: 700;
font-stretch: condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#68");
font-style: italic;
font-weight: 700;
font-stretch: condensed;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#73");
font-style: normal;
font-weight: 800;
font-stretch: expanded;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#75");
font-style: normal;
font-weight: 800;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#76");
font-style: italic;
font-weight: 800;
font-stretch: normal;
}
@font-face {
font-family: "Univers";
src: url("Univers.woff#83");
font-style: normal;
font-weight: 900;
font-stretch: expanded;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment