api-client/assets/css/fonts.scss

67 lines
1.9 KiB
SCSS
Raw Normal View History

2019-11-28 22:54:36 +00:00
// @import url("https://fonts.googleapis.com/css?family=Poppins:500,700|Roboto+Mono:400&display=swap");
// @import url("https://fonts.googleapis.com/icon?family=Material+Icons&display=swap");
/* Material Design Icons */
@font-face {
font-family: "Material Icons";
font-style: normal;
font-weight: 400;
// Do not use font-display: swap for the icon font - it looks really bad when the page
// loads.
font-display: block;
2020-06-19 06:56:04 +00:00
src: url("~static/fonts/material-icons-v52.woff2") format("woff2");
2019-11-28 22:54:36 +00:00
}
.material-icons {
font-family: "Material Icons";
font-weight: normal;
font-style: normal;
2019-11-29 01:48:49 +00:00
height: 24px;
width: 24px;
2019-11-28 22:54:36 +00:00
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: "liga";
-webkit-font-smoothing: antialiased;
2019-11-29 05:55:13 +00:00
font-feature-settings: "liga";
2020-01-21 06:17:47 +00:00
border-radius: 50%;
2019-11-28 22:54:36 +00:00
}
/* poppins-500 - latin */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 500;
2019-11-28 23:08:01 +00:00
font-display: swap;
2019-11-28 22:54:36 +00:00
src: local("Poppins Medium"), local("Poppins-Medium"),
url("~static/fonts/poppins-v9-latin-500.woff2") format("woff2"),
2020-06-19 06:56:04 +00:00
url("~static/fonts/poppins-v9-latin-500.woff") format("woff");
2019-11-28 22:54:36 +00:00
}
/* poppins-700 - latin */
@font-face {
font-family: "Poppins";
font-style: normal;
font-weight: 700;
2019-11-28 23:08:01 +00:00
font-display: swap;
2019-11-28 22:54:36 +00:00
src: local("Poppins Bold"), local("Poppins-Bold"),
url("~static/fonts/poppins-v9-latin-700.woff2") format("woff2"),
2020-06-19 06:56:04 +00:00
url("~static/fonts/poppins-v9-latin-700.woff") format("woff");
2019-11-28 22:54:36 +00:00
}
/* roboto-mono-regular - latin */
@font-face {
font-family: "Roboto Mono";
font-style: normal;
font-weight: 400;
2019-11-28 23:08:01 +00:00
font-display: swap;
2019-11-28 22:54:36 +00:00
src: local("Roboto Mono"), local("RobotoMono-Regular"),
url("~static/fonts/roboto-mono-v7-latin-regular.woff2") format("woff2"),
2020-06-19 06:56:04 +00:00
url("~static/fonts/roboto-mono-v7-latin-regular.woff") format("woff");
2019-11-28 22:54:36 +00:00
}