₊⁺✿˚
This commit is contained in:
parent
2175862ac5
commit
9510245e3e
96
15-Monster
96
15-Monster
|
@ -4,7 +4,10 @@ Made by glenthemes
|
||||||
|
|
||||||
Initial release: 2015/12/21
|
Initial release: 2015/12/21
|
||||||
Rework date: 2021/08/21
|
Rework date: 2021/08/21
|
||||||
Last updated: 2023/05/07
|
Last updated: 2023/09/04
|
||||||
|
|
||||||
|
What's new:
|
||||||
|
✱ NPF audio post support
|
||||||
|
|
||||||
TERMS OF USE:
|
TERMS OF USE:
|
||||||
1) Do not remove the theme credit.
|
1) Do not remove the theme credit.
|
||||||
|
@ -38,12 +41,14 @@ CREDITS -- glencredits.tumblr.com/monster
|
||||||
<script src="//npf-images-v3.github.io/script.js"></script>
|
<script src="//npf-images-v3.github.io/script.js"></script>
|
||||||
<link rel="stylesheet" href="//npf-images-v3.github.io/recon.css">
|
<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/15/sweat-blvvd-tears.js"></script>
|
<script src="//glen-themes.gitlab.io/thms/15/sweat-blvvd-tears.js"></script>
|
||||||
|
<script src="//glen-themes.gitlab.io/thms/15/love-and-loss.js"></script>
|
||||||
|
|
||||||
<!-- unblue polls -->
|
<!-- unblue polls -->
|
||||||
<!-- glenthemes.tumblr.com/post/708014819571302400 -->
|
<!-- glenthemes.tumblr.com/post/708014819571302400 -->
|
||||||
<link href="//static.tumblr.com/gtjt4bo/mXBrpdj0n/unblue-polls.css" rel="stylesheet">
|
<link href="//static.tumblr.com/gtjt4bo/mXBrpdj0n/unblue-polls.css" rel="stylesheet">
|
||||||
<style>
|
<style unblue-polls>
|
||||||
.poll-post {
|
.poll-post {
|
||||||
--Poll-Question-Font-Size: var(--Body-Font-Size);
|
--Poll-Question-Font-Size: var(--Body-Font-Size);
|
||||||
|
|
||||||
|
@ -71,6 +76,91 @@ CREDITS -- glencredits.tumblr.com/monster
|
||||||
}
|
}
|
||||||
</style>
|
</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:headings};
|
||||||
|
--NPF-Audio-Buttons-Padding: calc(var(--Audio-Post-PlayButton-Padding) + (var(--Audio-Post-PlayButton-Size) * (1 - 0.6)));
|
||||||
|
--NPF-Audio-Buttons-Spacing: calc(var(--p) + var(--Captions-Gap));
|
||||||
|
--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;
|
||||||
|
padding:var(--Captions-Gap);
|
||||||
|
padding-right:0;
|
||||||
|
border:1px solid {color:post borders inner};
|
||||||
|
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));
|
||||||
|
margin-left:calc(0px - var(--NPF-Audio-Buttons-Padding));
|
||||||
|
width:calc(100% + (var(--NPF-Audio-Buttons-Padding) * 2));
|
||||||
|
height:calc(100% + (var(--NPF-Audio-Buttons-Padding) * 2));
|
||||||
|
background:{color:post background};
|
||||||
|
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;
|
||||||
|
padding:var(--Captions-Gap);
|
||||||
|
z-index:-1;
|
||||||
|
}
|
||||||
|
|
||||||
|
.npf-audio-details {
|
||||||
|
display:flex;
|
||||||
|
flex-direction:column;
|
||||||
|
justify-content:center;
|
||||||
|
padding-left:calc(var(--Captions-Gap) * 1.5);
|
||||||
|
margin-right:var(--Captions-Gap);
|
||||||
|
height:calc(100% + (var(--Captions-Gap) * 2));
|
||||||
|
border-left:1px solid {color:post borders inner};
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<script src="//glen-npf.gitlab.io/other/neue.js"></script>
|
<script src="//glen-npf.gitlab.io/other/neue.js"></script>
|
||||||
<link href="//glen-npf.gitlab.io/other/neue.css" rel="stylesheet">
|
<link href="//glen-npf.gitlab.io/other/neue.css" rel="stylesheet">
|
||||||
|
|
||||||
|
@ -1553,7 +1643,7 @@ iframe[src*='open.spotify.com'][src*='track'], figure[data-npf*='open.spotify.co
|
||||||
.trackinfo {
|
.trackinfo {
|
||||||
}
|
}
|
||||||
|
|
||||||
.t-name {
|
.t-name, .npf-audio-title {
|
||||||
font-family:andada pro;
|
font-family:andada pro;
|
||||||
font-size:calc({select:post font size} - 1px);
|
font-size:calc({select:post font size} - 1px);
|
||||||
font-weight:bold;
|
font-weight:bold;
|
||||||
|
|
Loading…
Reference in New Issue