@@ -992,10 +992,11 @@ samp {
992992 border-radius : var ( --ifm-global-radius ) ;
993993
994994 & . paused . video-player-icon :: after {
995- background-image : url ( "data:image/svg+xml,<svg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'><defs><mask id='play-mask'><circle cx='9' cy='9' r='9' fill='white'/>< polygon points='7 .5,6 7 .5,12 12 .5,9' fill='black'/></mask></defs><circle cx='9' cy='9' r='9' fill=' white' mask='url(%23play-mask) '/></svg>" ) ;
995+ background-image : url ( "data:image/svg+xml,<svg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'><polygon points='6 .5,4 6 .5,14 14 .5,9' fill='white'/></svg>" ) ;
996996 }
997997
998- & : is ( : hover , : focus , . paused ) . video-player-icon {
998+ & : hover . video-player-icon ,
999+ & . paused . video-player-icon {
9991000 opacity : 1 ;
10001001 }
10011002}
@@ -1005,20 +1006,21 @@ samp {
10051006 align-items : center;
10061007 justify-content : center;
10071008 position : absolute;
1008- top : 0 ;
1009- left : 0 ;
1010- right : 0 ;
1011- bottom : 0 ;
1012- background : rgba ( 0 , 0 , 0 , 0.3 ) ;
1013- transition : 300ms opacity ease;
1009+ top : 16px ;
1010+ right : 16px ;
1011+ width : 42px ;
1012+ height : 42px ;
1013+ background : rgba ( 0 , 0 , 0 , 0.5 ) ;
1014+ backdrop-filter : blur ( 8px ) ;
1015+ transition : 200ms opacity ease;
10141016 opacity : 0 ;
1015- border-radius : var ( --ifm-global-radius ) ;
1017+ border-radius : 50 % ;
10161018
10171019 & :: after {
10181020 content : '' ;
1019- height : 72 px ;
1021+ height : 24 px ;
10201022 aspect-ratio : 1 / 1 ;
1021- background-image : url ( "data:image/svg+xml,<svg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'><defs><mask id='pause-mask'><circle cx='9' cy='9' r='9' fill='white'/>< rect x='6 ' y='6 ' width='2' height='6' fill='black '/><rect x='10' y='6 ' width='2' height='6' fill='black'/></mask></defs><circle cx='9' cy='9' r='9' fill='white' mask='url(%23pause-mask) '/></svg>" ) ;
1023+ background-image : url ( "data:image/svg+xml,<svg viewBox='0 0 18 18' xmlns='http://www.w3.org/2000/svg'><rect x='5 ' y='4 ' width='2.5 ' height='10' rx='0.5' fill='white '/><rect x='10.5 ' y='4 ' width='2.5 ' height='10' rx='0.5' fill='white'/></svg>" ) ;
10221024 }
10231025}
10241026
@@ -1317,10 +1319,6 @@ code {
13171319 clip-path : inset ( 0 round var ( --device-frame-screen-radius ) ) ;
13181320 background : # 000;
13191321 }
1320-
1321- & . video-player . video-player-icon {
1322- border-radius : var ( --device-frame-screen-radius ) ;
1323- }
13241322}
13251323
13261324. blog-wrapper {
0 commit comments