₊⁺✿˚
This commit is contained in:
parent
ef953da3c3
commit
699821ad62
99
21-Punchline
99
21-Punchline
|
@ -4,7 +4,10 @@ Made by glenthemes
|
|||
|
||||
Initial release: 2016/12/23
|
||||
Major facelift: 2021/02/20
|
||||
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.
|
||||
|
@ -57,7 +60,9 @@ attribute:"title"
|
|||
<script src="//npf-images-v3.github.io/script.js"></script>
|
||||
<link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
|
||||
|
||||
<script src="//static.tumblr.com/gtjt4bo/sgMrymui0/waitforelement.js"></script>
|
||||
<script src="//glen-themes.gitlab.io/thms/21/viceps.js"></script>
|
||||
<script src="//glen-themes.gitlab.io/thms/21/her-cupcake.js"></script>
|
||||
|
||||
{block:ifshowmusicplayer}
|
||||
<script src="//glenthemes.github.io/-music-/glenplayer06.js"></script>
|
||||
|
@ -77,7 +82,7 @@ $(document).ready(function(){
|
|||
<!-- unblue polls -->
|
||||
<!-- glenthemes.tumblr.com/post/708014819571302400 -->
|
||||
<link href="//static.tumblr.com/gtjt4bo/mXBrpdj0n/unblue-polls.css" rel="stylesheet">
|
||||
<style>
|
||||
<style unblue-polls>
|
||||
.poll-post {
|
||||
--Poll-Question-Font-Size: {select:post font size};
|
||||
|
||||
|
@ -105,6 +110,84 @@ $(document).ready(function(){
|
|||
}
|
||||
</style>
|
||||
|
||||
<!-- npf audio player -->
|
||||
<!-- glenthemes.tumblr.com/post/722160746171072512 -->
|
||||
<script src="//tmblr-npf-audio.gitlab.io/s/init.js"></script>
|
||||
<link href="//tmblr-npf-audio.gitlab.io/s/base.css" rel="stylesheet">
|
||||
<script>
|
||||
tumblr_npf_audio({
|
||||
emptyTitleText: "Untitled track",
|
||||
emptyArtistText: "Untitled artist",
|
||||
emptyAlbumText: "Untitled album",
|
||||
|
||||
titleLabel: "",
|
||||
artistLabel: "",
|
||||
albumLabel: ""
|
||||
});
|
||||
</script>
|
||||
<style edit-npf-audio-player>
|
||||
.npf-audio-wrapper {
|
||||
--NPF-Audio-Buttons-Size: calc(var(--Audio-Post-PlayButton-Size) * 0.6);
|
||||
--NPF-Audio-Buttons-Color: {color:text};
|
||||
--NPF-Audio-Buttons-Padding: calc(var(--Audio-Post-PlayButton-Padding) + (var(--Audio-Post-PlayButton-Size) * (1 - 0.6)) - 3px);
|
||||
--NPF-Audio-Buttons-Spacing: calc(var(--p) + 14px);
|
||||
--NPF-Audio-Image-Size: var(--Audio-Post-Album-Image-Size);
|
||||
--NPF-Audio-Image-Spacing: 0px;
|
||||
|
||||
--t:calc((var(--NPF-Audio-Buttons-Padding) * 2) + var(--NPF-Audio-Buttons-Size));
|
||||
--p:calc(var(--NPF-Audio-Buttons-Padding) + ((var(--NPF-Audio-Image-Size) - var(--t)) / 2));
|
||||
}
|
||||
|
||||
.npf-audio-wrapper {
|
||||
position:relative;
|
||||
z-index:0;
|
||||
}
|
||||
|
||||
.npf-audio-background {
|
||||
margin-left:var(--p);
|
||||
}
|
||||
|
||||
.npf-audio-play, .npf-audio-pause {
|
||||
position:relative;
|
||||
z-index:0;
|
||||
}
|
||||
|
||||
.npf-audio-play:after, .npf-audio-pause:after {
|
||||
content:"";
|
||||
position:absolute;
|
||||
top:0;left:0;
|
||||
margin-top:calc(0px - var(--NPF-Audio-Buttons-Padding) - 1px);
|
||||
margin-left:calc(0px - var(--NPF-Audio-Buttons-Padding) - 1px);
|
||||
width:calc(100% + (var(--NPF-Audio-Buttons-Padding) * 2));
|
||||
height:calc(100% + (var(--NPF-Audio-Buttons-Padding) * 2));
|
||||
background:{color:post};
|
||||
border:1px solid rgba({RGBcolor:text},0.420);
|
||||
border-radius:100%;
|
||||
z-index:-1;
|
||||
}
|
||||
|
||||
.npf-audio-play svg { margin-left:1px; }
|
||||
.npf-audio-pause svg { margin-left:0; }
|
||||
|
||||
figcaption.audio-caption,
|
||||
figcaption.audio-caption ~ audio[controls],
|
||||
.npf-audio-album {
|
||||
display:none;
|
||||
}
|
||||
|
||||
.npf-audio-image {
|
||||
position:absolute;
|
||||
top:0;left:0;
|
||||
border-radius:3px;
|
||||
z-index:-1;
|
||||
}
|
||||
|
||||
.npf-audio-image-shadow {
|
||||
width:var(--NPF-Audio-Image-Size);
|
||||
height:var(--NPF-Audio-Image-Size);
|
||||
}
|
||||
</style>
|
||||
|
||||
<script src="//glen-npf.gitlab.io/other/neue.js"></script>
|
||||
<link href="//glen-npf.gitlab.io/other/neue.css" rel="stylesheet">
|
||||
|
||||
|
@ -1534,15 +1617,18 @@ a.read_more {
|
|||
visibility:hidden;
|
||||
}
|
||||
|
||||
.vingt {
|
||||
.vingt, .npf-audio-image-shadow {
|
||||
position:absolute;
|
||||
top:0;left:0;
|
||||
width:100%;
|
||||
height:100%;
|
||||
border-radius:3px;
|
||||
box-shadow:inset 0 0 15px rgba({RGBcolor:post},0.69);
|
||||
}
|
||||
|
||||
.vingt {
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
.tin {
|
||||
width:calc(100% - var(--Audio-Post-Album-Image-Size));
|
||||
height:var(--Audio-Post-Album-Image-Size);
|
||||
|
@ -1552,7 +1638,7 @@ a.read_more {
|
|||
margin-left:14px;
|
||||
}
|
||||
|
||||
.t-name {
|
||||
.t-name, .npf-audio-title {
|
||||
font-family:beaufort;
|
||||
font-weight:bold;
|
||||
font-size:calc({select:post font size} - .5px);
|
||||
|
@ -1569,6 +1655,7 @@ a.read_more {
|
|||
height:calc({select:post font size} + 4px);
|
||||
stroke:{color:text};
|
||||
stroke-width:1.5px;
|
||||
pointer-events:none;
|
||||
}
|
||||
|
||||
/*----- VIDEOS -----*/
|
||||
|
|
Loading…
Reference in New Issue