₊⁺✿˚

This commit is contained in:
HT 2023-07-30 22:10:59 +01:00
parent 1732f63eba
commit c4408c07c4
1 changed files with 271 additions and 127 deletions

View File

@ -4,7 +4,10 @@ Made by glenthemes
Initial release: 2016/06/09
Major code update: 2017/05/03
Last updated: 2023/05/06
Last updated: 2023/07/30
What's new:
✱ NPF audio post support
TERMS OF USE:
1) Do not remove the theme credit.
@ -63,7 +66,7 @@ $(document).ready(function(){
$('.photo-slideshow').pxuPhotoset({
lightbox: true,
rounded: false,
gutter: '{text:photoset gutter width}px',
gutter: '{select:photos spacing}',
borderRadius: '0px',
photoset: '.photo-slideshow',
photoWrap: '.photo-data',
@ -82,11 +85,7 @@ $(document).ready(function(){
<script src="//static.tumblr.com/2pnwama/zaEoonb76/maki.js"></script>
<link href="//fonts.googleapis.com/css?family=Karla|Raleway|Montserrat:100,200,300" rel="stylesheet">
{block:ifshowmusicplayer}
<script src="//static.tumblr.com/2pnwama/lnLppjutr/gletanica.js"></script>
{/block:ifshowmusicplayer}
<link href="//fonts.googleapis.com/css?family=Karla|Raleway|Montserrat:100,200,300|Courier+Prime" rel="stylesheet">
<link rel="stylesheet" media="screen" href="//assets.tumblr.com/client/prod/standalone/blog-network-npf/index.build.css">
@ -99,7 +98,7 @@ $(document).ready(function(){
<style tmblr-npf>
:root {
--NPF-Caption-Spacing:1em;
--NPF-Image-Spacing:{text:photoset gutter width}px;
--NPF-Image-Spacing:{select:photos spacing};
}
a.post_media_photo_anchor, a.post_media_photo_anchor:hover {
@ -112,7 +111,7 @@ a.post_media_photo_anchor, a.post_media_photo_anchor:hover {
}
.tmblr-full audio[controls]{
margin-bottom:{text:post padding}px;
margin-bottom:{select:post padding};
}
</style>
@ -130,16 +129,16 @@ $(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: {text:font size}px;
--Poll-Question-Font-Size: {select:font size};
--Poll-Option-Background-Color: transparent;
--Poll-Option-Corner-Rounding: 4px;
--Poll-Option-Border-Size: 1px;
--Poll-Option-Border-Color: rgba({RGBcolor:text},0.25);
--Poll-Option-Padding: 9px;
--Poll-Option-Font-Size: {text:font size}px;
--Poll-Option-Font-Size: {select:font size};
--Poll-Option-Spacing: 10px;
--Poll-Option-Text-Color: {color:text};
@ -158,8 +157,79 @@ $(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: "Track:",
artistLabel: "Artist:",
albumLabel: "Album:"
});
</script>
<style edit-npf-audio-player>
.npf-audio-wrapper {
--NPF-Audio-Buttons-Size: {select:font size};
--NPF-Audio-Buttons-Color: {color:permalink text};
--NPF-Audio-Buttons-Padding: 10px;
--NPF-Audio-Buttons-Spacing: calc((var(--NPF-Audio-Buttons-Padding) * 2) + 10px);
--NPF-Audio-Image-Spacing: 0.9rem;
}
.npf-audio-background {
margin-left:calc(18px + var(--NPF-Audio-Buttons-Padding));
}
.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:permalink background};
border-radius:100%;
z-index:-1;
}
.npf-audio-play svg { margin-left:1px; }
.npf-audio-pause svg { margin-left:0; }
.npf-audio-title-label,
.npf-audio-artist-label,
.npf-audio-album-label {
color:{color:bold};
text-transform:uppercase;
}
figcaption.audio-caption,
figcaption.audio-caption ~ audio[controls],
figcaption.audio-caption img, .npf-audio-image {
display:none;
}
</style>
<script src="//static.tumblr.com/gtjt4bo/18Vryl30c/glenplayer0.js"></script>
<script src="//glen-npf.gitlab.io/other/neue.js"></script>
<link href="//glen-npf.gitlab.io/other/neue.css" rel="stylesheet">
<!--------------------IMAGES-------------------->
<meta name="image:background image" content="//66.media.tumblr.com/518d712dbca5a8e7c6180f5b5da62ea8/tumblr_pfs8ydUe0J1qg2f5co1_1280.png"/>
<meta name="image:left sidebar icon" content="//static.tumblr.com/0cd5fd8655efd9a85aa53481154802b9/gtjt4bo/7haopcknr/tumblr_static_d5xod3vzhw08o4csckc0ko4k8.png"/>
<meta name="image:full sidebar background" content="//static.tumblr.com/5e4a5ec1d9221347535124466f119608/gtjt4bo/eI8opckns/tumblr_static_4x180pv05desg80kwgggogws8.png"/>
<!--------------------COLORS-------------------->
@ -186,8 +256,89 @@ $(document).ready(function(){
<meta name="color:scrollbar bg" content="#111"/>
<meta name="color:highlight" content="#191919">
<meta name="color:highlighted text" content="#aaa">
<!-----------------DROPDOWN OPTS----------------->
<meta name="select:font size" title="12px" content="12px">
<meta name="select:font size" title="11px" content="11px">
<meta name="select:font size" title="13px" content="13px">
<meta name="select:font size" title="14px" content="14px">
<meta name="select:font size" title="15px" content="15px">
<meta name="select:font size" title="16px" content="16px">
<meta name="select:sidebar 1 width" title="160px" content="160px">
<meta name="select:sidebar 1 width" title="100px" content="100px">
<meta name="select:sidebar 1 width" title="120px" content="120px">
<meta name="select:sidebar 1 width" title="120px" content="120px">
<meta name="select:sidebar 1 width" title="200px" content="200px">
<meta name="select:sidebar 1 width" title="240px" content="240px">
<meta name="select:sidebar 1 width" title="280px" content="280px">
<meta name="select:sidebar 1 width" title="320px" content="320px">
<meta name="select:sidebar 2 width" title="260px" content="260px">
<meta name="select:sidebar 2 width" title="140px" content="140px">
<meta name="select:sidebar 2 width" title="170px" content="170px">
<meta name="select:sidebar 2 width" title="200px" content="200px">
<meta name="select:sidebar 2 width" title="230px" content="230px">
<meta name="select:sidebar 2 width" title="290px" content="290px">
<meta name="select:sidebar 2 width" title="320px" content="320px">
<meta name="select:sidebar 2 width" title="350px" content="350px">
<meta name="select:sidebar 2 boxes spacing" title="25px" content="25px">
<meta name="select:sidebar 2 boxes spacing" title="10px" content="10px">
<meta name="select:sidebar 2 boxes spacing" title="15px" content="15px">
<meta name="select:sidebar 2 boxes spacing" title="20px" content="20px">
<meta name="select:sidebar 2 boxes spacing" title="30px" content="30px">
<meta name="select:sidebar 2 boxes spacing" title="35px" content="35px">
<meta name="select:sidebar 2 boxes spacing" title="40px" content="40px">
<meta name="select:sidebar 2 boxes spacing" title="45px" content="45px">
<meta name="select:sidebar 2 boxes spacing" title="50px" content="50px">
<meta name="select:sidebar 2 boxes spacing" title="55px" content="55px">
<meta name="select:sidebar 2 boxes spacing" title="60px" content="60px">
<meta name="select:sidebar 2 transparency" title="20%" content="0.8">
<meta name="select:sidebar 2 transparency" title="0% (solid)" content="1">
<meta name="select:sidebar 2 transparency" title="10%" content="0.9">
<meta name="select:sidebar 2 transparency" title="30%" content="0.7">
<meta name="select:sidebar 2 transparency" title="40%" content="0.6">
<meta name="select:sidebar 2 transparency" title="50%" content="0.5">
<meta name="select:sidebar 2 transparency" title="60%" content="0.4">
<meta name="select:sidebar 2 transparency" title="70%" content="0.3">
<meta name="select:sidebar 2 transparency" title="80%" content="0.2">
<meta name="select:sidebar 2 transparency" title="90%" content="0.1">
<meta name="select:sidebar 2 transparency" title="100% (no color)" content="0">
<meta name="select:post width" title="500px" content="500px">
<meta name="select:post width" title="300px" content="300px">
<meta name="select:post width" title="350px" content="375px">
<meta name="select:post width" title="400px" content="400px">
<meta name="select:post width" title="450px" content="450px">
<meta name="select:post width" title="540px" content="540px">
<meta name="select:post width" title="600px" content="600px">
<meta name="select:post padding" title="10px" content="10px">
<meta name="select:post padding" title="15px" content="15px">
<meta name="select:post padding" title="20px" content="20px">
<meta name="select:post padding" title="25px" content="25px">
<meta name="select:photos spacing" title="4px" content="4px">
<meta name="select:photos spacing" title="0px" content="0px">
<meta name="select:photos spacing" title="2px" content="2px">
<meta name="select:photos spacing" title="6px" content="6px">
<meta name="select:photos spacing" title="8px" content="8px">
<meta name="select:photos spacing" title="10px" content="10px">
<meta name="select:post spacing" title="35px" content="35px">
<meta name="select:post spacing" title="20px" content="20px">
<meta name="select:post spacing" title="25px" content="25px">
<meta name="select:post spacing" title="30px" content="30px">
<meta name="select:post spacing" title="40px" content="40px">
<meta name="select:post spacing" title="45px" content="45px">
<meta name="select:post spacing" title="50px" content="50px">
<meta name="select:post spacing" title="55px" content="55px">
<meta name="select:post spacing" title="60px" content="60px">
<!--------------------OPTIONS-------------------->
<!-----------------TOGGLE OPTS----------------->
<meta name="if:show music player" content="1" />
<meta name="if:full sized background" content="1" />
@ -198,26 +349,15 @@ $(document).ready(function(){
<meta name="if:dark tumblr controls" content="0" />
<meta name="if:dark theme credit" content="1" />
<!--------------------IMAGES-------------------->
<meta name="image:background image" content="//66.media.tumblr.com/518d712dbca5a8e7c6180f5b5da62ea8/tumblr_pfs8ydUe0J1qg2f5co1_1280.png"/>
<meta name="image:left sidebar icon" content="//static.tumblr.com/0cd5fd8655efd9a85aa53481154802b9/gtjt4bo/7haopcknr/tumblr_static_d5xod3vzhw08o4csckc0ko4k8.png"/>
<meta name="image:full sidebar background" content="//static.tumblr.com/5e4a5ec1d9221347535124466f119608/gtjt4bo/eI8opckns/tumblr_static_4x180pv05desg80kwgggogws8.png"/>
<!--------------------TITLES-------------------->
<!-------------TEXT FIELDS------------->
<meta name="text:font size" content="11">
<meta name="text:post width" content="500">
<meta name="text:post padding" content="10">
<meta name="text:photoset gutter width" content="4">
<meta name="text:post margin" content="35">
<meta name="text:left sidebar width" content="160">
<meta name="text:how to link music" content="linktr.ee/direct_file_links">
<meta name="text:music player mp3 URL" content="https://rhizo.gitlab.io/m/Saitama_s_Theme.mp3">
<meta name="text:music player song name" content="Saitama's Theme">
<meta name="text:sidebar overlay opacity" content="0.8">
<meta name="text:sidebar boxes width" content="260">
<meta name="text:sidebar boxes bottom margin" content="25">
<meta name="text:music player volume" content="90%">
<meta name="text:&#917536;&#x200B;" content="&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#xF3A;&#x2740;&#xF3B;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&NewLine;">
<meta name="text:sidebar box 1 title" content="Your title here">
<meta name="text:sidebar box 1 content" content="You can put whatever you want here. Delete the text in this field (and in the above field) to remove one box section.">
<meta name="text:sidebar box 2 title" content="Your title here">
@ -226,6 +366,9 @@ $(document).ready(function(){
<meta name="text:sidebar box 3 content" content="You can put whatever you want here. Delete the text in this field (and in the above field) to remove one box section.">
<meta name="text:sidebar box 4 title" content="Your title here">
<meta name="text:sidebar box 4 content" content="You can put whatever you want here. Delete the text in this field (and in the above field) to remove one box section.">
<meta name="text:&#917536;&#x200B;&#x200B;" content="&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#xF3A;&#x2740;&#xF3B;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&#x2501;&NewLine;">
<meta name="text:Link 1" content="">
<meta name="text:Link 1 URL" content="">
<meta name="text:Link 2" content="">
@ -253,13 +396,13 @@ $(document).ready(function(){
margin: 26px 9px 0px 15px;
background-color: {color:post};
font-family: karla;
font-size: calc({text:font size}px - 3px);
font-size: calc({select:font size} - 3px);
letter-spacing: 1px;
text-transform: uppercase;
color: {color:text};
border:0.5px solid rgba({RGBcolor:text},0.2);
z-index:99999999999999999999999999998!important;
max-width: calc({text:post width}px * 1.25);
max-width: calc({select:post width} * 1.25);
-webkit-transition: all 0.1s ease-in-out;
-moz-transition: all 0.1s ease-in-out;
-o-transition: all 0.1s ease-in-out;
@ -321,7 +464,7 @@ color:{color:text};
cursor:normal;
font-family:karla;
line-height:16px;
font-size:{text:font size}px;
font-size:{select:font size};
text-align:left;
}
@ -349,8 +492,8 @@ color: {color:link hover};
img {opacity:1;text-decoration:none;}
h1 {
padding:0px {text:post padding}px;
font-size:calc({text:font size}px + 3px);
padding:0px {select:post padding};
font-size:calc({select:font size} + 3px);
text-transform:uppercase;
letter-spacing:1.5px;
text-align:center;
@ -360,8 +503,8 @@ line-height:1.4;
h1 .lnr {
font-weight:bold;
font-size:calc({text:font size}px + 1px);
letter-spacing:calc(-{text:font size}px + 5px);
font-size:calc({select:font size} + 1px);
letter-spacing:calc(-{select:font size} + 5px);
}
b, strong, .strong {
@ -384,29 +527,29 @@ position:absolute;
top:0;left:0;
{block:ifshowsidebarboxes}
margin-left:calc({text:left sidebar width}px + 1px + {text:sidebar boxes width}px + ({text:post margin}px * 1.35));
margin-left:calc({select:sidebar 1 width} + 1px + {select:sidebar 2 width} + ({select:post spacing} * 1.35));
{/block:ifshowsidebarboxes}
{block:ifnotshowsidebarboxes}
margin-left:calc({text:left sidebar width}px + 1px + ({text:post margin}px * 1.35));
margin-left:calc({select:sidebar 1 width} + 1px + ({select:post spacing} * 1.35));
{/block:ifnotshowsidebarboxes}
margin-top:calc({text:post margin}px * 1.5);
margin-bottom:calc(({text:post margin}px * 1.5) - {text:post margin}px);
margin-top:calc({select:post spacing} * 1.5);
margin-bottom:calc(({select:post spacing} * 1.5) - {select:post spacing});
width:{text:post width}px;
width:{select:post width};
}
/*--------------------POSTS--------------------*/
.posts {
position:relative;
{block:IndexPage}
margin-bottom:{text:post margin}px;
margin-bottom:{select:post spacing};
{/block:IndexPage}
width:{text:post width}px;
width:{select:post width};
min-width:250px;
max-width:540px;
padding:{text:post padding}px;
padding:{select:post padding};
background-color:{color:post};
}
@ -425,7 +568,7 @@ background-color:{color:post};
.photos, .photos img {
position:relative;
overflow:hidden;
width:{text:post width}px;
width:{select:post width};
{block:IndexPage}
{block:ifphotofade}
@ -489,7 +632,7 @@ background-color:{color:post};
position:fixed;
top:0;left:0;
margin-top:0px;margin-left:0px;
width:{text:left sidebar width}px;
width:{select:sidebar 1 width};
min-width:155px;
height:100vh;
background-color:{color:sidebar background};
@ -502,7 +645,7 @@ background-color:{color:post};
display:table-cell;vertical-align:middle;}
#potato {
max-width:calc(({text:left sidebar width}px - 35px) + 12px);
max-width:calc(({select:sidebar 1 width} - 35px) + 12px);
margin:auto auto 12px auto;
}
@ -523,16 +666,16 @@ background-color:{color:post};
}
.lettuce {
width:calc({text:left sidebar width}px - 35px);
height:calc({text:left sidebar width}px - 35px);
width:calc({select:sidebar 1 width} - 35px);
height:calc({select:sidebar 1 width} - 35px);
padding:8px 0px;
border-top:1px solid rgba({RGBcolor:sidebar links text},0.2);
}
.cream {
margin:0 auto;
width:calc({text:left sidebar width}px - 35px);
font-size:calc({text:font size}px - 3px);
width:calc({select:sidebar 1 width} - 35px);
font-size:calc({select:font size} - 3px);
text-transform:uppercase;
letter-spacing:0.5px;
color:rgba({RGBcolor:sidebar links text},0.85);
@ -543,12 +686,12 @@ background-color:{color:post};
.roe a {
display:inline-block;
width:calc(({text:left sidebar width}px - 35px) - 10px);
width:calc(({select:sidebar 1 width} - 35px) - 10px);
padding:1px 5px;
margin:3px 0px;
background-color:{color:sidebar links background};
color:rgba({RGBcolor:sidebar links text},0.85);
font-size:calc({text:font size}px - 2.5px);
font-size:calc({select:font size} - 2.5px);
text-transform:uppercase;
letter-spacing:1px;
border-top:1px solid transparent;
@ -566,8 +709,8 @@ background-color:{color:post};
position:fixed;
top:0;left:0;
margin-top:0px;
margin-left:calc({text:left sidebar width}px + 1px);
width:{text:sidebar boxes width}px;
margin-left:calc({select:sidebar 1 width} + 1px);
width:{select:sidebar 2 width};
min-width:155px;
height:100vh;
text-align:center;
@ -584,12 +727,9 @@ background-color:{color:post};
.overlay {
display:table;
opacity:{text:sidebar overlay opacity};
background-color:rgba({RGBcolor:sidebar overlay color},{text:sidebar overlay opacity});
-webkit-transition: all .7s ease;
-moz-transition: all .7s ease;
-o-transition: all .7s ease;
transition: all .7s ease;
opacity:{select:sidebar 2 transparency};
background-color:rgba({RGBcolor:sidebar overlay color},{select:sidebar 2 transparency});
transition: background-color .7s ease-in-out, opacity .7s ease-in-out;
}
#xiaolongbao:hover .overlay {opacity:1;}
@ -598,14 +738,14 @@ background-color:{color:post};
#salt, #pepper {
margin:0 auto;
width:calc({text:sidebar boxes width}px / 1.3);
width:calc({select:sidebar 2 width} / 1.3);
background-color:{color:sidebar background};
color:{color:sidebar text};
}
#salt {
text-transform:uppercase;
font-size:calc({text:font size}px - 2px);
font-size:calc({select:font size} - 2px);
letter-spacing:2px;
border-bottom:1px solid rgba({RGBcolor:sidebar text},0.2);
padding:5px 10px;
@ -613,28 +753,33 @@ background-color:{color:post};
#pepper {
margin-top:5px;
margin-bottom:{text:sidebar boxes bottom margin}px;
font-size:calc({text:font size}px - 1px);
margin-bottom:{select:sidebar 2 boxes spacing};
font-size:calc({select:font size} - 1px);
padding:10px;
}
#pepper:last-child {margin-bottom:0px;}
#pepper img {
max-width:100%;
}
/*--------------------PERMALINK--------------------*/
#tags{
margin-top:1em;
letter-spacing: 1px;
text-transform:uppercase;
text-align:left;
color:{color:permalink text};
font-size:calc({text:font size}px - 2px);
font-size:calc({select:font size} - 2px);
background-color:{color:permalink background};
padding:calc({text:font size}px - 6px) calc({text:font size}px - 6px);
padding:calc({select:font size} - 6px) calc({select:font size} - 6px);
}
#tags .lnr{
font-weight:bold;
margin:0px 4px;
font-size:calc({text:font size}px - 2px - 1px);
font-size:calc({select:font size} - 2px - 1px);
color:inherit;
}
@ -652,9 +797,9 @@ color:{color:permalink text hover};
text-transform:uppercase;
letter-spacing:1px;
text-align:right;
font-size:calc({text:font size}px - 3px);
font-size:calc({select:font size} - 3px);
line-height:1.5;
padding:{text:post padding}px 0px;
padding:{select:post padding} 0px;
}
.tagsin a {
@ -668,10 +813,13 @@ color:rgba({RGBcolor:link},0.8);
/*--------------------POST NOTES--------------------*/
ol.notes {
padding:0px;
margin:calc({text:post margin}px - 10px) 0px;
padding:{select:post padding};
margin:calc({select:post spacing} - 10px) 0px;
list-style-type:none;
max-width:{text:post width}px;
width:{select:post width};
max-width:{select:post width};
background:rgba({RGBcolor:post},0.8);
backdrop-filter:blur(2px)
}
ol.notes li.note {
@ -711,7 +859,7 @@ text-decoration:none;
box-shadow:none !important;
border-radius:0px !important;
max-width:none;
padding:{text:post padding}px !important;
padding:{select:post padding} !important;
background:{color:post} !important;
border:1px solid rgba({RGBcolor:text},0.2) !important;
}
@ -723,7 +871,7 @@ text-decoration:none;
/*---------------------------QUOTES---------------------------*/
.quote {
margin-top:{text:post padding}px;
margin-top:{select:post padding};
text-transform:uppercase;
font-size:12px;
font-weight:bold;
@ -736,12 +884,12 @@ margin-top:10px;
}
/*---------------------------CHATS---------------------------*/
.chat {list-style:none;margin-bottom:calc({text:post padding}px / 2);}
.chat {list-style:none;margin-bottom:calc({select:post padding} / 2);}
.linee.odd {
background:{color:chat odd};
margin-bottom:0px;
padding:{text:post padding}px;
padding:{select:post padding};
list-style:none;
font-size:inherit;
}
@ -749,7 +897,7 @@ font-size:inherit;
.linee.even {
background:{color:chat even};
margin-bottom:0px;
padding:{text:post padding}px;
padding:{select:post padding};
list-style:none;
font-size:inherit;
}
@ -816,7 +964,7 @@ height:0px;
/*---------------------------VIDEO---------------------------*/
.tumblr_video_container {
width:{text:post width}px!important;
width:{select:post width}!important;
height:auto!important;
max-height:540px!important;
overflow:hidden!important;
@ -847,7 +995,7 @@ height:0px;
/*---------------------------PAGINATION---------------------------*/
.pagination {
margin:10px auto auto auto;
width:calc({text:left sidebar width}px - 35px);
width:calc({select:sidebar 1 width} - 35px);
text-align:center;
border-top:1px solid rgba({RGBcolor:sidebar links text},0.2);
}
@ -888,7 +1036,7 @@ height:0px;
position: fixed;
z-index: 999999;
top: 15px;
left:calc({text:left sidebar width}px + 15px);
left:calc({select:sidebar 1 width} + 15px);
display:flex;
-webkit-transition:all .7s ease;
-moz-transition:all .7s ease;
@ -926,45 +1074,35 @@ height:0px;
transition-delay:0s;
-webkit-transition-delay:0s;
}
[music-player]{
padding:10px 12px;
opacity:0;
background:{color:music player color};
border-radius:4px;
transition:opacity .4s;
}
.play {
display:flex;
min-width:124px;
height:31px;
text-align: left;
padding:0px 10px;
background: {color:music player background}; /* player background */
border-left: 3px solid {color:music player color}; /* player border */
color:{color:music player text};
opacity: 0;
-webkit-transition: all .4s ease;
-moz-transition: all .4s ease;
-o-transition: all .4s ease;
[music-player] .player-text {
line-height:1;
margin-top:calc({select:font size} * 0.15);
}
[music-player] [music-btn],
[music-player] .player-text {
font-family:"courier prime";
font-size:calc({select:font size} - 1.5px);
color:{color:music player color};
background:none;
filter:invert(1) grayscale(100%);
opacity:0.9;
}
#musicplayer:hover [music-player] {
opacity:1;
transition-delay: .4s;
-webkit-transition-delay: .4s;
}
.music-controls, .music-controls > * {
user-select:none;
-webkit-user-select:none;
width:11px;
font-size:11px;
cursor:pointer;
}
.pausee {display:none;}
.playtext {
margin-left:8px;
font-family:courier new;
font-size:9px;
}
#musicplayer:hover .play {
opacity:1;
transition-delay: .6s;
-webkit-transition-delay: .6s;
}
{/block:ifshowmusicplayer}
@-webkit-keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@ -1000,20 +1138,26 @@ animation-fill-mode:forwards;
{block:ifshowmusicplayer}
<div id="musicplayer">
<div class="roundthing">
<!--more music player gifs here:-->
<!--stewlate.tumblr.com/post/28218185078/music-player-gifs-->
<img src="//static.tumblr.com/n9vj50j/cxEn20wqg/12.gif"></div>
<!--more music player gifs here:-->
<!--stewlate.tumblr.com/post/28218185078/music-player-gifs-->
<img src="//static.tumblr.com/n9vj50j/cxEn20wqg/12.gif">
</div>
<div class="midline"></div>
<div class="play">
<div class="music-controls">
<div class="playy">►</div>
<div class="pausee">❚❚</div>
<div music-player btn-color="{color:music player color}" btn-size="calc({select:font size} - 2px)" gap="8px">
<div music-btn>
<div btn-play></div>
<div btn-pause hidden></div>
</div>
<div class="playtext">{text:music player song name}</div>
</div><!--play-->
<audio id="tune" src="{text:music player mp3 URL}" type="audio"></audio>
</div><!--musicplayer-->
<audio src="{text:music player mp3 URL}" {text:ifmusicplayervolume}volume="{text:muisc player volume}"{/block:ifmusicplayervolume}></audio>
{block:ifmusicplayersongname}
<div class="player-text">{text:music player song name}</div>
{/block:ifmusicplayersongname}
</div>
</div>
{/block:ifshowmusicplayer}
<div id="container">