Skip to content

Commit 4530303

Browse files
committed
Tweak hover effect for highlights
1 parent bb9cce7 commit 4530303

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/css/custom.css

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,7 @@ header {
720720
border-radius: 0;
721721
filter: saturate(0);
722722
transition:
723-
color var(--ifm-transition-fast) var(--ifm-transition-timing-default),
723+
color,
724724
filter var(--ifm-transition-fast) var(--ifm-transition-timing-default);
725725

726726
&:first-child {
@@ -1096,6 +1096,13 @@ code {
10961096
box-shadow:
10971097
0 0 0 1px rgba(0, 0, 0, 0.05),
10981098
var(--ifm-global-shadow-lw);
1099+
transition: var(--ifm-transition-fast) var(--ifm-transition-timing-default);
1100+
1101+
&:hover {
1102+
box-shadow:
1103+
0 0 0 1px rgba(0, 0, 0, 0.05),
1104+
var(--ifm-global-shadow-md);
1105+
}
10991106

11001107
& > .video-player {
11011108
margin: 0;

0 commit comments

Comments
 (0)