Skip to content

Commit 6446feb

Browse files
committed
Update highlights for navigators
1 parent f073749 commit 6446feb

21 files changed

+157
-80
lines changed

src/css/custom.css

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -862,9 +862,9 @@ article {
862862
& .video-player {
863863
vertical-align: top;
864864
margin: var(--ifm-leading) 0;
865-
outline: 1px solid rgba(0, 0, 0, 0.08);
866-
outline-offset: -1px;
867-
box-shadow: var(--ifm-global-shadow-lw);
865+
box-shadow:
866+
inset 0 0 0 1px rgba(0, 0, 0, 0.08),
867+
var(--ifm-global-shadow-lw);
868868
border-radius: var(--ifm-global-radius);
869869
}
870870

@@ -1123,15 +1123,24 @@ code {
11231123
position: relative;
11241124
border-radius: var(--ifm-global-radius);
11251125
overflow: hidden;
1126-
outline: 1px solid rgba(0, 0, 0, 0.08);
1127-
outline-offset: -1px;
11281126
box-shadow: var(--ifm-global-shadow-lw);
11291127
transition: var(--ifm-transition-fast) var(--ifm-transition-timing-default);
11301128

1129+
&::after {
1130+
content: '';
1131+
position: absolute;
1132+
inset: 0;
1133+
border-radius: inherit;
1134+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
1135+
pointer-events: none;
1136+
}
1137+
11311138
&:hover {
1132-
box-shadow:
1133-
0 0 0 1px rgba(0, 0, 0, 0.05),
1134-
var(--ifm-global-shadow-md);
1139+
box-shadow: var(--ifm-global-shadow-md);
1140+
1141+
&::after {
1142+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
1143+
}
11351144
}
11361145

11371146
& > .video-player {
172 KB
Binary file not shown.
127 KB
Binary file not shown.
103 KB
Binary file not shown.
202 KB
Binary file not shown.
202 KB
Binary file not shown.
Binary file not shown.
276 KB
Binary file not shown.
167 KB
Binary file not shown.
166 KB
Binary file not shown.

0 commit comments

Comments
 (0)