Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

css: Avoid repeating font-family value.

Sahil Batra4793b007b45f
diff --git a/web/styles/buttons.css b/web/styles/buttons.css
index 9edb61bc573..6c5ce691cdd 100644
--- a/web/styles/buttons.css
+++ b/web/styles/buttons.css
@@ -6,7 +6,7 @@
align-items: center;
line-height: 1.25;
font-size: var(--base-font-size-px);
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
font-weight: 500;
letter-spacing: 0.02ch;
padding: 0.25em 0.625em;
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 2b2a9ba5a17..e73074bef73 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1074,7 +1074,7 @@ textarea.new_message_textarea {
font-size: 1em;
line-height: var(--base-line-height-unitless);
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
&:focus {
outline: 0;
diff --git a/web/styles/inputs.css b/web/styles/inputs.css
index 87aa700a75e..cae8ca8a74a 100644
--- a/web/styles/inputs.css
+++ b/web/styles/inputs.css
@@ -28,7 +28,7 @@
box-sizing: border-box;
padding: 0.25em 0.5em; /* 4px at 16px/1em and 8px at 16px/1em */
font-size: var(--base-font-size-px);
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
line-height: 1.25;
text-overflow: ellipsis;
color: var(--color-text-input);
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 6357876cf12..1704dc14c68 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -927,7 +927,7 @@
font-size: 1em;
line-height: var(--base-line-height-unitless);
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
&:focus {
outline: 0;
diff --git a/web/styles/scheduled_messages.css b/web/styles/scheduled_messages.css
index 95f0e511be1..e1b88cefa1b 100644
--- a/web/styles/scheduled_messages.css
+++ b/web/styles/scheduled_messages.css
@@ -33,5 +33,5 @@
font-size: 1em;
line-height: var(--base-line-height-unitless);
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
}
diff --git a/web/styles/search.css b/web/styles/search.css
index 82805f4e674..5206f7987bb 100644
--- a/web/styles/search.css
+++ b/web/styles/search.css
@@ -198,7 +198,6 @@
border: none;
outline: none;
border-radius: 0;
- font-family: "Source Sans 3 VF", sans-serif;
font-weight: 400;
background: transparent;
text-overflow: ellipsis;
diff --git a/web/styles/settings.css b/web/styles/settings.css
index 66ad240a59d..5739f3c99c8 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -1897,7 +1897,7 @@ label.preferences-radio-choice-label {
font-size: 1em;
line-height: var(--base-line-height-unitless);
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
&:focus {
border-color: var(--focus-border-color-textarea);
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index 1e3ced83660..2c5ded623fd 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -133,7 +133,7 @@ button {
input,
button,
select {
- font-family: "Source Sans 3 VF", sans-serif;
+ font-family: inherit;
/* Disable bootstrap size CSS; we want to use our default font size on
body for input elements. */
line-height: normal;