@@ -186,18 +186,12 @@ body {
186186 display : grid;
187187 width : 118px ;
188188 height : 118px ;
189- padding : 9px ;
190189 place-items : center;
191190 overflow : hidden;
192191 border : 2px solid # e9e9e9 ;
193192 border-radius : 50% ;
194- background :
195- repeating-radial-gradient (circle at center, # 242424 0 2px , # 0a0a0a 3px 5px ),
196- # 080808 ;
193+ background : # 080808 ;
197194 box-shadow : 0 0 0 2px # 4f4f4f, 6px 6px 0 rgba (0 , 0 , 0 , 0.75 );
198- animation : cover-spin 24s linear infinite;
199- transform : translateZ (0 );
200- will-change : transform;
201195}
202196
203197.cover-frame img ,
@@ -211,6 +205,10 @@ body {
211205.cover-frame img {
212206 display : block;
213207 object-fit : cover;
208+ animation : cover-spin 24s linear infinite;
209+ transform : scale (1.035 ) translateZ (0 );
210+ transform-origin : center;
211+ will-change : transform;
214212}
215213
216214.cover-fallback {
@@ -236,8 +234,11 @@ body {
236234 transform : translate (-50% , -50% );
237235}
238236
239- .now-playing [data-paused = "true" ] .cover-frame {
237+ .now-playing [data-paused = "true" ] .cover-frame img {
240238 animation-play-state : paused;
239+ }
240+
241+ .now-playing [data-paused = "true" ] .cover-frame {
241242 filter : grayscale (0.75 ) contrast (1.1 );
242243}
243244
@@ -545,8 +546,12 @@ body {
545546}
546547
547548@keyframes cover-spin {
549+ from {
550+ transform : scale (1.035 ) rotate (0deg ) translateZ (0 );
551+ }
552+
548553 to {
549- transform : rotate (360deg ) translateZ (0 );
554+ transform : scale ( 1.035 ) rotate (360deg ) translateZ (0 );
550555 }
551556}
552557
@@ -577,7 +582,6 @@ body {
577582 .cover-frame {
578583 width : 90px ;
579584 height : 90px ;
580- padding : 7px ;
581585 }
582586
583587 .disc-caption {
@@ -624,7 +628,6 @@ body {
624628}
625629
626630@media (prefers-reduced-motion : reduce) {
627- .cover-frame ,
628631 .cursor {
629632 animation : none;
630633 }
0 commit comments