Use native font stack

This commit is contained in:
Pavel Djundik 2017-09-18 13:32:52 +03:00
parent 2ea57a4133
commit 3ac15f97f1
3 changed files with 4 additions and 42 deletions

View File

@ -1,25 +1,3 @@
@font-face {
font-family: "Lato";
font-weight: 400;
font-style: normal;
src:
local("Lato Regular"),
local("Lato-regular"),
url("fonts/Lato-regular/Lato-regular.woff2") format("woff2"),
url("fonts/Lato-regular/Lato-regular.woff") format("woff");
}
@font-face {
font-family: "Lato";
font-weight: 700;
font-style: normal;
src:
local("Lato Bold"),
local("Lato-700"),
url("fonts/Lato-700/Lato-700.woff2") format("woff2"),
url("fonts/Lato-700/Lato-700.woff") format("woff");
}
@font-face { @font-face {
font-family: "FontAwesome"; font-family: "FontAwesome";
font-weight: normal; font-weight: normal;
@ -37,7 +15,7 @@ body {
body { body {
background: #455164; background: #455164;
color: #222; color: #222;
font: 16px Lato, sans-serif; font: 16px -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
margin: 0; margin: 0;
-webkit-user-select: none; -webkit-user-select: none;
-moz-user-select: none; -moz-user-select: none;
@ -869,10 +847,11 @@ kbd {
visibility: hidden; visibility: hidden;
} }
#windows #form .input,
#windows .header .topic, #windows .header .topic,
.messages .msg, .messages .msg,
.sidebar { .sidebar {
font: 13px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace; font-size: 13px;
line-height: 1.4; line-height: 1.4;
} }
@ -1492,7 +1471,6 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
} }
#windows #form .input { #windows #form .input {
font: 13px Consolas, Menlo, Monaco, "Lucida Console", "DejaVu Sans Mono", "Courier New", monospace;
border: 1px solid #ddd; border: 1px solid #ddd;
border-radius: 2px; border-radius: 2px;
margin: 0; margin: 0;
@ -1691,7 +1669,7 @@ part/quit messages where we don't load previews (adds a blank line otherwise) */
z-index: 1000000; z-index: 1000000;
display: none; display: none;
padding: 5px 8px; padding: 5px 8px;
font: 12px Lato; font-size: 12px;
line-height: 1.2; line-height: 1.2;
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
color: #fff; color: #fff;

View File

@ -29,14 +29,6 @@ body {
background: #333c4a; background: #333c4a;
} }
#windows .header .topic,
#windows #form .input,
.messages .msg,
.sidebar {
font-family: inherit;
font-size: 13px;
}
#chat .count { #chat .count {
background-color: #2e3642; background-color: #2e3642;
} }

View File

@ -30,14 +30,6 @@ body {
background: #3f3f3f; background: #3f3f3f;
} }
#windows .header .topic,
#windows #form .input,
.messages .msg,
.sidebar {
font-family: inherit;
font-size: 13px;
}
#settings, #settings,
#sign-in, #sign-in,
#connect .title { #connect .title {