Skip to content

Commit 12d0058

Browse files
committed
Tweak styling for video and images
1 parent 1aeb6c4 commit 12d0058

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

src/css/custom.css

Lines changed: 5 additions & 3 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-
box-shadow:
866-
inset 0 0 0 1px rgba(0, 0, 0, 0.08),
867-
var(--ifm-global-shadow-lw);
865+
outline: 1px solid rgba(0, 0, 0, 0.08);
866+
outline-offset: -1px;
867+
box-shadow: var(--ifm-global-shadow-lw);
868868
border-radius: var(--ifm-global-radius);
869869
}
870870

@@ -1146,6 +1146,7 @@ code {
11461146
& > .video-player {
11471147
margin: 0;
11481148
box-shadow: none;
1149+
outline: none;
11491150
border-radius: 0 !important;
11501151
border-bottom: 1px solid var(--ifm-toc-border-color);
11511152

@@ -1154,6 +1155,7 @@ code {
11541155
width: 100%;
11551156
object-fit: cover;
11561157
border-radius: 0;
1158+
outline: none;
11571159
}
11581160

11591161
.video-player-icon {

0 commit comments

Comments
 (0)