summaryrefslogtreecommitdiffstats
path: root/assets/scss
diff options
context:
space:
mode:
authoramzrk22021-01-10 21:11:57 +0800
committeramzrk22021-01-10 21:11:57 +0800
commite5b7e226f064268686c9799e9e54910e3b83b38b (patch)
treed1792315f4419034f2557f06fca5620f4060bd94 /assets/scss
parent1500c3c475e0ff99e6693dd11118e1a937b9ff34 (diff)
downloadhugo-theme-fuji-e5b7e226f064268686c9799e9e54910e3b83b38b.tar.gz
hugo-theme-fuji-e5b7e226f064268686c9799e9e54910e3b83b38b.tar.bz2
hugo-theme-fuji-e5b7e226f064268686c9799e9e54910e3b83b38b.zip
new: in-post aplayer support
Diffstat (limited to 'assets/scss')
-rw-r--r--assets/scss/_fuji-style/_components.scss12
-rw-r--r--assets/scss/_fuji-theme/_dark-diff.scss4
2 files changed, 11 insertions, 5 deletions
diff --git a/assets/scss/_fuji-style/_components.scss b/assets/scss/_fuji-style/_components.scss
index 2b90bfe..d791bec 100644
--- a/assets/scss/_fuji-style/_components.scss
+++ b/assets/scss/_fuji-style/_components.scss
@@ -39,7 +39,13 @@
}
}
-#post-aplayer {
- margin: 0 0.125rem 1.25rem 0.125rem;
- font-family: inherit;
+.post-player-wrapper {
+ margin: 0.25rem 0.125rem 1rem 0.125rem !important;
+ font-family: inherit !important;
+}
+.post-player {
+ font-family: inherit !important;
+}
+.post-summary .post-player-wrapper {
+ display: none;
}
diff --git a/assets/scss/_fuji-theme/_dark-diff.scss b/assets/scss/_fuji-theme/_dark-diff.scss
index 6ef449f..adc4860 100644
--- a/assets/scss/_fuji-theme/_dark-diff.scss
+++ b/assets/scss/_fuji-theme/_dark-diff.scss
@@ -14,8 +14,8 @@ table:not(.highlight) {
}
}
-#post-aplayer {
- background-color: var(--color-divider);
+.post-aplayer {
+ background-color: var(--color-divider) !important;
}
.aplayer .aplayer-info .aplayer-music .aplayer-author {