Roboto fonts: Drop support for older browsers

This commit is contained in:
Luke Walker 2023-03-12 17:40:12 -04:00
parent b1916b5066
commit d7b7bea701
37 changed files with 55 additions and 4282 deletions

View file

@ -150,111 +150,75 @@ figure video {
background-color: #fff;
}
/* roboto-300 - latin */
@font-face {
font-display: swap;
font-family: "Roboto";
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: normal;
font-weight: 300;
src: url("../fonts/roboto-v30-latin-300.eot");
src: url("../fonts/roboto-v30-latin-300.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-300.woff2") format("woff2"), url("../fonts/roboto-v30-latin-300.woff") format("woff"),
url("../fonts/roboto-v30-latin-300.ttf") format("truetype"), url("../fonts/roboto-v30-latin-300.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-300.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-300.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-300italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: italic;
font-weight: 300;
src: url("../fonts/roboto-v30-latin-300italic.eot");
src: url("../fonts/roboto-v30-latin-300italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-300italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-300italic.woff") format("woff"),
url("../fonts/roboto-v30-latin-300italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-300italic.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-300italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-300italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-regular - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: normal;
font-weight: 400;
src: url("../fonts/roboto-v30-latin-regular.eot");
src: url("../fonts/roboto-v30-latin-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-regular.woff2") format("woff2"), url("../fonts/roboto-v30-latin-regular.woff") format("woff"),
url("../fonts/roboto-v30-latin-regular.ttf") format("truetype"), url("../fonts/roboto-v30-latin-regular.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-regular.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: italic;
font-weight: 400;
src: url("../fonts/roboto-v30-latin-italic.eot");
src: url("../fonts/roboto-v30-latin-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-italic.woff") format("woff"),
url("../fonts/roboto-v30-latin-italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-italic.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: normal;
font-weight: 500;
src: url("../fonts/roboto-v30-latin-500.eot");
src: url("../fonts/roboto-v30-latin-500.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-500.woff2") format("woff2"), url("../fonts/roboto-v30-latin-500.woff") format("woff"),
url("../fonts/roboto-v30-latin-500.ttf") format("truetype"), url("../fonts/roboto-v30-latin-500.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-500.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-500.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-500italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: italic;
font-weight: 500;
src: url("../fonts/roboto-v30-latin-500italic.eot");
src: url("../fonts/roboto-v30-latin-500italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-500italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-500italic.woff") format("woff"),
url("../fonts/roboto-v30-latin-500italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-500italic.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-500italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-500italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700 - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: normal;
font-weight: 700;
src: url("../fonts/roboto-v30-latin-700.eot");
src: url("../fonts/roboto-v30-latin-700.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-700.woff2") format("woff2"), url("../fonts/roboto-v30-latin-700.woff") format("woff"),
url("../fonts/roboto-v30-latin-700.ttf") format("truetype"), url("../fonts/roboto-v30-latin-700.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto";
src: url('../fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-700.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* roboto-700italic - latin */
@font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Roboto';
font-style: italic;
font-weight: 700;
src: url("../fonts/roboto-v30-latin-700italic.eot");
src: url("../fonts/roboto-v30-latin-700italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-v30-latin-700italic.woff2") format("woff2"), url("../fonts/roboto-v30-latin-700italic.woff") format("woff"),
url("../fonts/roboto-v30-latin-700italic.ttf") format("truetype"), url("../fonts/roboto-v30-latin-700italic.svg#Roboto") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto Mono";
font-style: normal;
font-weight: 400;
src: url("../fonts/roboto-mono-v22-latin-regular.eot");
src: url("../fonts/roboto-mono-v22-latin-regular.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-regular.woff2") format("woff2"),
url("../fonts/roboto-mono-v22-latin-regular.woff") format("woff"), url("../fonts/roboto-mono-v22-latin-regular.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-regular.svg#RobotoMono") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto Mono";
font-style: italic;
font-weight: 400;
src: url("../fonts/roboto-mono-v22-latin-italic.eot");
src: url("../fonts/roboto-mono-v22-latin-italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-italic.woff2") format("woff2"),
url("../fonts/roboto-mono-v22-latin-italic.woff") format("woff"), url("../fonts/roboto-mono-v22-latin-italic.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-italic.svg#RobotoMono") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto Mono";
font-style: normal;
font-weight: 700;
src: url("../fonts/roboto-mono-v22-latin-700.eot");
src: url("../fonts/roboto-mono-v22-latin-700.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-700.woff2") format("woff2"), url("../fonts/roboto-mono-v22-latin-700.woff") format("woff"),
url("../fonts/roboto-mono-v22-latin-700.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-700.svg#RobotoMono") format("svg");
}
@font-face {
font-display: swap;
font-family: "Roboto Mono";
font-style: italic;
font-weight: 700;
src: url("../fonts/roboto-mono-v22-latin-700italic.eot");
src: url("../fonts/roboto-mono-v22-latin-700italic.eot?#iefix") format("embedded-opentype"), url("../fonts/roboto-mono-v22-latin-700italic.woff2") format("woff2"),
url("../fonts/roboto-mono-v22-latin-700italic.woff") format("woff"), url("../fonts/roboto-mono-v22-latin-700italic.ttf") format("truetype"), url("../fonts/roboto-mono-v22-latin-700italic.svg#RobotoMono") format("svg");
}
src: url('../fonts/roboto-v30-latin-700italic.woff2') format('woff2'), /* Chrome 36+, Opera 23+, Firefox 39+ */
url('../fonts/roboto-v30-latin-700italic.woff') format('woff'); /* Chrome 5+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}