From bd10d8fa7c1b9973a1374af89ba561a3b62c2b1b Mon Sep 17 00:00:00 2001 From: HT Date: Tue, 5 Sep 2023 02:35:38 +0100 Subject: [PATCH] =?UTF-8?q?=E2=82=8A=E2=81=BA=E2=9C=BF=CB=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 18-Calamity | 104 ++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 97 insertions(+), 7 deletions(-) diff --git a/18-Calamity b/18-Calamity index 6fd4efa..45df476 100644 --- a/18-Calamity +++ b/18-Calamity @@ -4,7 +4,10 @@ Made by glenthemes Initial release: 2016/06/11 Remake date: 2021/01/28 -Last updated: 2023/05/07 +Last updated: 2023/09/04 + +What's new: +✱ NPF audio post support TERMS OF USE: 1) Do not remove the theme credit. @@ -66,7 +69,9 @@ attribute:"title" {/block:ifshowmusicplayer} + + + + + + @@ -608,6 +689,8 @@ hr { --Audio-Post-Album-Image-Size:64px; --Audio-Post-PlayButton-Size:18px; --Audio-Post-PlayButton-Padding:8px; + --Audio-Post-Download-Size:calc({select:post font size} + 4px); + --Audio-Post-Download-Color:{color:link}; --Like-Button-Liked:#f75c64; @@ -768,6 +851,10 @@ a.post_media_photo_anchor, a.post_media_photo_anchor:hover { font-size:0; /* kill whitespace */ } +.custard a > * { + pointer-events:none; +} + .custard ion-icon, .glenjamin { padding:{select:navlinks padding}; border:.5px solid {color:navlinks border}; @@ -1348,7 +1435,7 @@ a.post_media_photo_anchor, a.post_media_photo_anchor:hover { line-height:calc({select:post text line height} * 0.9); } -.t-name { +.t-name, .npf-audio-title { font-weight:bold; font-family:chakra petch; font-size:calc({select:post font size} - 1px); @@ -1356,19 +1443,22 @@ a.post_media_photo_anchor, a.post_media_photo_anchor:hover { letter-spacing:1px; } -.t-artist { +.t-artist, .npf-audio-artist { color:rgba({RGBcolor:text},0.85); } .dongload { text-transform:initial!important; + padding:5px 0 5px 5px; + border-bottom:none!important; } .dongload svg { - width:calc({select:post font size} + 4px); - height:calc({select:post font size} + 4px); - stroke:{color:link}; + width:var(--Audio-Post-Download-Size); + height:var(--Audio-Post-Download-Size); + stroke:var(--Audio-Post-Download-Color); stroke-width:1.5px; + pointer-events:none; } /*----- VIDEOS -----*/