styles: Globally set font-size and a unitless line-height.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2021-06-11 14:14:08 -07:00 committed by Tim Abbott
parent 3691805253
commit 5d64c21c38
7 changed files with 14 additions and 6 deletions

View File

@ -39,9 +39,10 @@
.exit-sign { .exit-sign {
position: relative; position: relative;
top: 3px; top: 1px;
margin-left: 3px; margin-left: 3px;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 1;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
} }

View File

@ -97,8 +97,9 @@
} }
.arrow-key { .arrow-key {
font-size: 1.5em; font-size: 1.36em;
padding: 0.1em 0.2em; line-height: 1;
padding: 0 0.2em 0.2em;
} }
th { th {

View File

@ -275,6 +275,7 @@ ul {
#exit-sign { #exit-sign {
font-size: 1.5rem; font-size: 1.5rem;
line-height: 1;
} }
#avatar { #avatar {

View File

@ -1439,9 +1439,10 @@ input[type="checkbox"] {
.exit-sign { .exit-sign {
float: right; float: right;
position: relative; position: relative;
top: 3px; top: 1px;
margin-left: 3px; margin-left: 3px;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 1;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
} }

View File

@ -443,9 +443,10 @@
.exit-sign { .exit-sign {
position: relative; position: relative;
top: 3px; top: 1px;
margin-left: 3px; margin-left: 3px;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 1;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
} }

View File

@ -45,9 +45,10 @@
.user-status-header .exit-sign { .user-status-header .exit-sign {
position: relative; position: relative;
top: 3px; top: 1px;
margin-left: 3px; margin-left: 3px;
font-size: 1.5rem; font-size: 1.5rem;
line-height: 1;
font-weight: 600; font-weight: 600;
cursor: pointer; cursor: pointer;
} }

View File

@ -37,6 +37,8 @@ html {
} }
body { body {
font-size: 14px;
line-height: calc(20 / 14);
font-family: "Source Sans 3", sans-serif; font-family: "Source Sans 3", sans-serif;
} }