mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
css: Extract font definitions to fonts.css.
This works around https://bugs.chromium.org/p/chromium/issues/detail?id=336876. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
12
app/renderer/css/fonts.css
Normal file
12
app/renderer/css/fonts.css
Normal file
@@ -0,0 +1,12 @@
|
||||
@font-face {
|
||||
font-family: "Material Icons";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Material Icons"), local("MaterialIcons-Regular"),
|
||||
url(../fonts/MaterialIcons-Regular.ttf) format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url(../fonts/Montserrat-Regular.ttf) format("truetype");
|
||||
}
|
@@ -64,14 +64,6 @@ body {
|
||||
overflow-y: overlay;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Material Icons";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Material Icons"), local("MaterialIcons-Regular"),
|
||||
url(../fonts/MaterialIcons-Regular.ttf) format("truetype");
|
||||
}
|
||||
|
||||
/*******************
|
||||
* Left Sidebar *
|
||||
*******************/
|
||||
|
@@ -51,19 +51,6 @@ td:nth-child(odd) {
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Material Icons";
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: local("Material Icons"), local("MaterialIcons-Regular"),
|
||||
url(../fonts/MaterialIcons-Regular.ttf) format("truetype");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "Montserrat";
|
||||
src: url(../fonts/Montserrat-Regular.ttf) format("truetype");
|
||||
}
|
||||
|
||||
.material-icons {
|
||||
font-family: "Material Icons";
|
||||
font-weight: normal;
|
||||
|
@@ -4,6 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>Zulip</title>
|
||||
<link rel="stylesheet" href="css/fonts.css" />
|
||||
<link rel="stylesheet" href="css/main.css" type="text/css" media="screen" />
|
||||
</head>
|
||||
|
||||
|
@@ -4,6 +4,7 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>Zulip - Settings</title>
|
||||
<link rel="stylesheet" href="css/fonts.css" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="css/preference.css"
|
||||
|
Reference in New Issue
Block a user