Skip to content

Commit baeab02

Browse files
committed
Fix dark coverpage button hover color
1 parent d4237f4 commit baeab02

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

src/themes/addons/core-dark.css

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,14 @@
2929
}
3030

3131
.cover-main {
32-
a.button.secondary {
33-
color: var(--color-text);
34-
border-color: rgba(255, 255, 255, 0.5);
32+
a.button {
33+
&.secondary {
34+
color: var(--color-text);
35+
border-color: rgba(255, 255, 255, 0.5);
36+
}
37+
38+
&:hover {
39+
outline-color: var(--theme-color-4);
40+
}
3541
}
3642
}

src/themes/shared/_coverpage.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323
display: flex;
2424
}
2525

26-
a:not(.anchor) {
27-
text-decoration-color: var(--theme-color);
26+
a {
27+
&:not(.anchor) {
28+
text-decoration-color: var(--theme-color);
29+
}
2830
}
2931

3032
blockquote {

0 commit comments

Comments
 (0)