interface: add fallback fonts

This commit is contained in:
Tyler Brown Cifu Shuster 2021-01-05 22:05:36 -08:00
parent 822a378fb4
commit 1bc5d22412
2 changed files with 24 additions and 12 deletions

Binary file not shown.

View File

@ -2,76 +2,88 @@
font-family: 'Inter';
font-style: normal;
font-weight: 400;
src: url("/~landscape/fonts/inter-regular.woff2") format("woff2");
src: url("/~landscape/fonts/inter-regular.woff2") format("woff2"),
url("https://media.urbit.org/fonts/Inter-Regular.woff2") format("woff2");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 500;
src: url("/~landscape/fonts/inter-medium.woff2") format("woff2");
src: url("/~landscape/fonts/inter-medium.woff2") format("woff2"),
url("https://media.urbit.org/fonts/Inter-Medium.woff2") format("woff2");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 600;
src: url("/~landscape/fonts/inter-semibold.woff2") format("woff2");
src: url("/~landscape/fonts/inter-semibold.woff2") format("woff2"),
url("https://media.urbit.org/fonts/Inter-SemiBold.woff2") format("woff2");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 400;
src: url("/~landscape/fonts/inter-italic.woff2") format("woff2");
src: url("/~landscape/fonts/inter-italic.woff2") format("woff2"),
url("https://media.urbit.org/fonts/Inter-Italic.woff2") format("woff2");
}
@font-face {
font-family: 'Inter';
font-style: normal;
font-weight: 700;
src: url("/~landscape/fonts/inter-bold.woff2") format("woff2");
src: url("/~landscape/fonts/inter-bold.woff2") format("woff2"),
url("https://media.urbit.org/fonts/Inter-Bold.woff2") format("woff2");
}
@font-face {
font-family: 'Inter';
font-style: italic;
font-weight: 700;
src: url("/~landscape/fonts/inter-bolditalic.woff2") format("woff2");
src: url("/~landscape/fonts/inter-bolditalic.woff2") format("woff2"),
url("https://media.urbit.org/fonts/Inter-BoldItalic.woff2") format("woff2");
}
@font-face {
font-family: "Source Code Pro";
src: url("/~landscape/fonts/sourcecodepro-extralight.woff2");
src: url("/~landscape/fonts/sourcecodepro-extralight.woff2"),
url("https://storage.googleapis.com/media.urbit.org/fonts/scp-extralight.woff");
font-weight: 200;
}
@font-face {
font-family: "Source Code Pro";
src: url("/~landscape/fonts/sourcecodepro-light.woff2");
src: url("/~landscape/fonts/sourcecodepro-light.woff2"),
url("https://storage.googleapis.com/media.urbit.org/fonts/scp-light.woff");
font-weight: 300;
}
@font-face {
font-family: "Source Code Pro";
src: url("/~landscape/fonts/sourcecodepro-regular.woff2");
src: url("/~landscape/fonts/sourcecodepro-regular.woff2"),
url("https://storage.googleapis.com/media.urbit.org/fonts/scp-regular.woff");
font-weight: 400;
}
@font-face {
font-family: "Source Code Pro";
src: url("(/~landscape/fonts/sourcecodepro-medium.woff2");
src: url("(/~landscape/fonts/sourcecodepro-medium.woff2"),
url("https://storage.googleapis.com/media.urbit.org/fonts/scp-medium.woff");
font-weight: 500;
}
@font-face {
font-family: "Source Code Pro";
src: url("/~landscape/fonts/sourcecodepro-semibold.woff2");
src: url("/~landscape/fonts/sourcecodepro-semibold.woff2"),
url("https://storage.googleapis.com/media.urbit.org/fonts/scp-semibold.woff");
font-weight: 600;
}
@font-face {
font-family: "Source Code Pro";
src: url("/~landscape/fonts/sourcecodepro-bold.woff2");
src: url("/~landscape/fonts/sourcecodepro-bold.woff2"),
url("https://storage.googleapis.com/media.urbit.org/fonts/scp-bold.woff");
font-weight: 700;
}