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 {
position: relative;
top: 3px;
top: 1px;
margin-left: 3px;
font-size: 1.5rem;
line-height: 1;
font-weight: 600;
cursor: pointer;
}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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