Skip to content

Commit

Permalink
optimize loading
Browse files Browse the repository at this point in the history
  • Loading branch information
royalfig committed Aug 5, 2023
1 parent 9c4aea3 commit c424094
Show file tree
Hide file tree
Showing 5 changed files with 224 additions and 191 deletions.
9 changes: 6 additions & 3 deletions assets/css/components/playlist.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

h3 {
margin: 0;
margin-block: 0 var(--spacing-01);
font-family: var(--body-typeface);
font-size: var(--h4);
font-style: italic;
Expand All @@ -50,6 +50,8 @@
}

li::before {
display: inline-block;
width: 24px;
margin-inline-end: var(--spacing-01);
font-variant-numeric: tabular-nums;
content: counter(li, decimal-leading-zero) '.';
Expand All @@ -58,8 +60,9 @@
}

.sm-active::before {
color: hsl(var(--color-1));
color: var(--color, hsl(var(--color-1)));
content: '▶️';
translate: 1px 0;
}

.sm-playlist-iframe {
Expand Down Expand Up @@ -210,7 +213,7 @@
input {
width: 100%;
height: 5px;
accent-color: hsl(var(--color-1));
accent-color: var(--color, hsl(var(--color-1)));
}
}

Expand Down
2 changes: 1 addition & 1 deletion assets/js/app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import writeAuthorWebsite from './authorWebsite';
import toc from './toc';
import animateOnScroll from './homePageAnimation';
import toggleShareMenu from './toggleShareMenu';
import { createPlaylist } from './musicPages';
import createPlaylist from './playlist';

initClickHandler();
determineColorModeSupport();
Expand Down
185 changes: 0 additions & 185 deletions assets/js/app/musicPages.js

This file was deleted.

Loading

0 comments on commit c424094

Please sign in to comment.