From 6db2259a7345a1da5ceef927b13ff7af1add042c Mon Sep 17 00:00:00 2001 From: hudajkhan Date: Thu, 9 Jan 2025 21:14:02 -0700 Subject: [PATCH] Using standard emphasized link font weight (#2790) * standardizing emphasized links for social justice tag and spotlight at stanford * using fw-medium --- app/assets/stylesheets/modules/spotlight_overrides.scss | 9 +++++++-- app/views/shared/_user_util_links.html.erb | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/modules/spotlight_overrides.scss b/app/assets/stylesheets/modules/spotlight_overrides.scss index 84f03de39..f78079b33 100644 --- a/app/assets/stylesheets/modules/spotlight_overrides.scss +++ b/app/assets/stylesheets/modules/spotlight_overrides.scss @@ -186,7 +186,7 @@ h5, &[href="/?tag=Social+justice"] { color: var(--stanford-cardinal); - font-weight: 700; + font-weight: 500; &::before { // Licensed (required to change color) from: @@ -198,6 +198,11 @@ h5, vertical-align: top; width: 1rem; } + + &.active { + font-weight: 600; + } + } } @@ -219,4 +224,4 @@ h5, // instead of overlapping with the header. #skip-link { position: relative !important; -} +} \ No newline at end of file diff --git a/app/views/shared/_user_util_links.html.erb b/app/views/shared/_user_util_links.html.erb index 9b7324868..eafba1cc8 100644 --- a/app/views/shared/_user_util_links.html.erb +++ b/app/views/shared/_user_util_links.html.erb @@ -12,7 +12,7 @@