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 -----*/