Skip to content

Commit 73db952

Browse files
committed
better link hover color
1 parent fcaa587 commit 73db952

File tree

6 files changed

+21
-10
lines changed

6 files changed

+21
-10
lines changed

theming/light.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@
1616

1717
@import "old/old-styles";
1818

19+
//

theming/rules/_mixins.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
&:hover {
3737
background-color: $color-mute-bg !important;
3838
border-color: $color-mute-bg !important;
39+
text-decoration: none;
3940
}
4041
}
4142

theming/rules/_navbar.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@
33
color: $text-muted;
44

55
a:hover {
6-
text-decoration: none;
6+
text-decoration: none !important;
77
}
88

99
.nav-link:hover {
10-
color: $links-hover !important;
10+
color: $link-color !important;
1111
}
1212

1313
.navbar-brand:hover {
14-
color: $links-hover !important;
14+
color: $link-color !important;
1515
transition: color 0.15s ease-in-out !important;
1616
}
1717
}

theming/rules/_quarto-tweaks.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,12 @@
2525
.input-group-text {
2626
background-color: $color-mute-bg !important;
2727
}
28+
29+
a {
30+
text-decoration: none;
31+
&:hover {
32+
color: $link-color;
33+
text-decoration: underline;
34+
}
35+
36+
}

theming/variables/_colorsdark.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
$dark-green: #073c44;
22
$light-blue: darken(#EDF4F4, 5%);
3+
$red: #f87683;
34
$medium-grey: #bcbcbc;
45

56
$color-primary: $light-blue; // not sure about this one
67
$color-secondary: $dark-green;
8+
$color-tertiary: $red;
79
$color-highlight: darken($color-secondary, 5%);
810

911
$color-mute-bg: $gray-800;
@@ -16,8 +18,7 @@ $color-fg: white;
1618
$text-muted: $medium-grey;
1719

1820
$color-active: lighten($color-secondary, 5%);
19-
$link-color: lighten($color-active, 30%);
20-
$links-hover: lighten($color-active, 30%);
21+
$link-color: $color-tertiary;
2122
$border-hover: $color-active;
2223

2324
p {

theming/variables/_colorslight.scss

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
$dark-green: #073c44;
2-
3-
$julia-green: #208921;
2+
$red: #d73a4a;
43
$light-blue: #EDF4F4;
54
$medium-grey: #CCD1D5;
65
$color-fg: black;
76

87
$color-primary: $dark-green;
98
$color-secondary: darken($light-blue, 20%);
9+
$color-tertiary: $red;
1010
$color-highlight: lighten($color-secondary, 10%);
1111

1212
$color-mute-bg: $gray-200;
1313

1414
$color-active: lighten($color-secondary, 5%);
15-
$link-color: $color-primary;
16-
$links-hover: $color-primary;
17-
$border-hover: $color-highlight;
15+
$link-color: $color-tertiary;
16+
$border-hover: darken($color-secondary, 5%);
1817

1918
$body-bg: white;
2019
$light-bg-offset: $color-secondary;

0 commit comments

Comments
 (0)