₊⁺✿˚

This commit is contained in:
HT 2023-08-16 00:42:39 +01:00
parent 8d216ab4fd
commit 14eedb4104
1 changed files with 92 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Made by glenthemes
Initial release: 2015/07/17
Rework date: 2021/09/22
Last updated: 2023/05/06
Last updated: 2023/08/15
TERMS OF USE:
1) Do not remove the theme credit.
@ -57,7 +57,7 @@ CREDITS:
<!-- 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:font size};
@ -85,6 +85,91 @@ CREDITS:
}
</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: var(--Audio-Post-Buttons-Size);
--NPF-Audio-Buttons-Color: var(--Audio-Post-Buttons-Color);
--NPF-Audio-Buttons-Padding: var(--Audio-Post-Buttons-Padding);
--NPF-Audio-Buttons-Spacing: calc(var(--p) + var(--Audio-Post-Album-Right-Gap));
--NPF-Audio-Image-Size: var(--Audio-Post-Album-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;
background:{color:special background};
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:var(--Audio-Post-Buttons-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]{
display:none;
}
.npf-audio-image {
position:absolute;
top:0;left:0;
z-index:-1;
}
.npf-audio-details {
color:{color:special text};
}
.npf-audio-details > * + * {
margin-top:-1px;
}
.npf-audio-title-label,
.npf-audio-artist-label,
.npf-audio-album-label {
font-weight: bold;
}
</style>
<script src="//glen-npf.gitlab.io/other/neue.js"></script>
<link href="//glen-npf.gitlab.io/other/neue.css" rel="stylesheet">
@ -911,10 +996,14 @@ a.post_media_photo_anchor, a.post_media_photo_anchor:hover {
@supports(-webkit-text-security: circle){
.circle-links a, .circle-links a > * {
transition-duration:0s;
/*transition-duration:0s;*/
}
}
.circle-links a * {
pointer-events:none;
}
.circle-links a:hover {
background:{color:circle links hover background};
border-color:{color:circle links hover border};