Skip to content

Commit 7f0b715

Browse files
committed
Align tag colors
1 parent 8743053 commit 7f0b715

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

assets/scss/_custom.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
color: #005aa7;
4242
font-style: normal;
4343
}
44-
.highlight-red-sm {
44+
.highlight-lightred-sm {
4545
border: rgba(255, 255, 255, 0) 0.3rem solid;
4646
border-radius: 0.75rem;
4747
padding: 0.25rem 0.5rem !important;
@@ -52,6 +52,17 @@
5252
background-color: rgba(255, 203, 189, 0.5);
5353
}
5454

55+
.highlight-red-sm {
56+
border: rgba(255, 255, 255, 0) 0.3rem solid;
57+
border-radius: 0.75rem;
58+
padding: 0.25rem 0.5rem !important;
59+
color: #005aa7;
60+
font-style: normal;
61+
text-decoration: none !important;
62+
63+
background-color: #FFCBBD;
64+
}
65+
5566
.yellow-button {
5667
margin-left: 20px;
5768
background-color: #005aa7;

layouts/partials/landingpage/activityfeed.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ <h3 class="mb-2" style="color: #005aa7;">{{$item.title}}</h3>
4141
<!-- metadata -->
4242
<div class="row" style="position:relative;">
4343
{{ if $item.date }}
44-
<span class="highlight-red">
44+
<span class="highlight-red-sm mr-3">
4545
{{$item.date }}
4646
</span>
4747
{{ end }}
4848
{{ if $item.type }}
49-
<span class="highlight-red">
49+
<span class="highlight-red-sm">
5050
{{ $item.type }}
5151
</span>
5252
{{ end }}

static/js/quicknavigation.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ docReady(function () {
1515
let highestActiveIndex = -1;
1616
var scrollPos = $(this).scrollTop();
1717
quickLinks.each(function () {
18-
$(this).removeClass("highlight-red-sm");
18+
$(this).removeClass("highlight-lightred-sm");
1919
});
2020
sectionOffsets.each(function (index) {
2121
if (this > 0 && scrollPos >= this) {
2222
highestActiveIndex = index;
2323
}
2424
});
2525
if (highestActiveIndex >= 0) {
26-
quickLinks.eq(highestActiveIndex).addClass("highlight-red-sm");
26+
quickLinks.eq(highestActiveIndex).addClass("highlight-lightred-sm");
2727
}
2828
};
2929
$(window).on("scroll", setActiveSideNavigation);

0 commit comments

Comments
 (0)