From 98ee387197b26f2f2e418cde0892ef4345dba5e7 Mon Sep 17 00:00:00 2001 From: Aman Agrawal Date: Mon, 27 Mar 2023 06:32:34 +0000 Subject: [PATCH] css: Use 700 font weight for 800 since they default to it. We don't have 800 font weight available, so the font weight defaults to 700, so we use it directly here to avoid any changes when we convert to variable font. --- web/styles/left_sidebar.css | 4 ++-- web/styles/portico/landing_page.css | 6 +++--- web/styles/subscriptions.css | 2 +- web/styles/zulip.css | 1 - 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/web/styles/left_sidebar.css b/web/styles/left_sidebar.css index dfc55c815f..01c1d662ae 100644 --- a/web/styles/left_sidebar.css +++ b/web/styles/left_sidebar.css @@ -21,14 +21,14 @@ $before_unread_count_padding: 3px; content: "#"; line-height: 0; font-size: 18px; - font-weight: 800; + font-weight: 700; } } } .stream-privacy { font-size: 15px; - font-weight: 800; + font-weight: 700; min-width: $left_col_size; text-align: center; diff --git a/web/styles/portico/landing_page.css b/web/styles/portico/landing_page.css index 56f793e153..89feea0e66 100644 --- a/web/styles/portico/landing_page.css +++ b/web/styles/portico/landing_page.css @@ -872,7 +872,7 @@ button { min-width: 650px; .number { - font-weight: 800; + font-weight: 700; &.one { color: hsl(0deg 0% 100% / 40%); @@ -3574,7 +3574,7 @@ button { overflow: hidden; transition: border-color 0.3s, background-color 0.3s; transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1); - font-weight: 800; + font-weight: 700; padding: 15px 5px; &:focus { @@ -3627,7 +3627,7 @@ button { & blockquote::before { font-size: 20px; - font-weight: 800; + font-weight: 700; } & cite { diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css index 0ca5e0264e..8a16e16de7 100644 --- a/web/styles/subscriptions.css +++ b/web/styles/subscriptions.css @@ -868,7 +868,7 @@ h4.user_group_setting_subsection_title { &.hash::after { top: -1px; font-size: 1.09em; - font-weight: 800; + font-weight: 700; } .zulip-icon { diff --git a/web/styles/zulip.css b/web/styles/zulip.css index 85f4c6a0cf..7ff62ed89e 100644 --- a/web/styles/zulip.css +++ b/web/styles/zulip.css @@ -1949,7 +1949,6 @@ div.focused_table { .fa-hashtag { font-size: 1.2rem; - /* font-weight: 800; */ margin: 0 2px 0 5px; } }