Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Circadium 2.0 by Laighlin
- Hit me up at linthm.tumblr to send in any bugs or questions! (Check the FAQ first though pls)
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <!--start of head-->
- <title>{Title}{block:PostSummary} • {PostSummary}{/block:PostSummary}</title>
- {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <script src="https://kit.fontawesome.com/ef273549c7.js" crossorigin="anonymous"></script>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <meta name="font:Body" content="Favorit, sans-serif"/>
- <meta name="if:Detailed Timestamp" content="1"/>
- <meta name="if:Time cycle" content="1"/>
- <meta name="if:Bobbing clouds" content="1"/>
- <meta name="if:Borders" content="0"/>
- <meta name="if:Shadows" content="1"/>
- <meta name="select:Default mode" content="day" title="Day"/>
- <meta name="select:Default mode" content="night" title="Night"/>
- <meta name="select:Post opacity" content="1" title="Opaque"/>
- <meta name="select:Post opacity" content=".7" title="Translucent"/>
- <meta name="select:Post opacity" content=".2" title="Faint"/>
- <meta name="select:Post opacity" content="0" title="Transparent"/>
- <meta name="color:Posts day" content="#fff"/>
- <meta name="color:Posts night" content="#333"/>
- <meta name="color:Text day" content="#333"/>
- <meta name="color:Text night" content="#fff"/>
- <meta name="color:Accent day" content="#f08080"/>
- <meta name="color:Accent night" content="#6a5acd"/>
- <meta name="color:Borders day" content="#ccc"/>
- <meta name="color:Borders night" content="#444"/>
- <meta name="color:Shadows day" content="#333"/>
- <meta name="color:Shadows night" content="#555"/>
- <style type="text/css">
- /* start of CSS styling */
- html {
- margin:0;
- position:absolute;
- top:0;
- left:0;
- bottom:0;
- right:0;
- font-family:{font:Body};
- line-height:1.5em;
- }
- :root {
- --bg-day-flat:rgb(255,243,213);
- --bg-day-gradient:linear-gradient(0deg, rgba(255,243,213,1) 0%, rgba(255,255,255,1) 19%, rgba(148,212,255,1) 59%, rgba(113,164,255,1) 100%);
- --bg-twilight-flat:rgb(175,96,227);
- --bg-twilight-gradient:linear-gradient(rgba(175,96,227,1) 0%, rgba(237,56,157,1) 66%, rgba(255,103,103,1) 83%, rgba(255,207,110,1) 100%);
- --bg-night-flat:rgb(121,98,124);
- --bg-night-gradient:linear-gradient(rgba(22,22,22,1) 0%, rgba(74,31,73,1) 59%, rgba(117,57,105,1) 81%, rgba(121,98,124,1) 100%);
- }
- .day {
- --elements-bg:rgba({RGBcolor:Posts day},{select:Post opacity});
- --elements-bg-opaque:{color:Posts day};
- --accent:{color:Accent day};
- --accented-bg:rgba({RGBcolor:Accent day},.2);
- --darkened-bg:rgba({RGBcolor:Text day},.1);
- --text:{color:Text day};
- --border:{color:Borders day};
- --shadow:rgba({RGBcolor:Shadows day},.5);
- --icons:rgba({RGBcolor:Text day},.7);
- }
- .night {
- --elements-bg:rgba({RGBcolor:Posts night},{select:Post opacity});
- --elements-bg-opaque:{color:Posts night};
- --accent:{color:Accent night};
- --accented-bg:rgba({RGBcolor:Accent night},.2);
- --darkened-bg:rgba({RGBcolor:Text night},.1);
- --text:{color:Text night};
- --border:{color:Borders night};
- --shadow:rgba({RGBcolor:Shadows night},.5);
- --icons:rgba({RGBcolor:Text night},.7);
- }
- body {
- margin:0;
- color:var(--text);
- }
- #celestes {
- position:fixed;
- top:0;
- left:0;
- bottom:0;
- right:0;
- background-size:50%;
- background-position:repeat;
- z-index:-1;
- }
- #celestes img {
- position:fixed;
- }
- #celestes.time-day .visinight,
- #celestes.time-night .visiday {
- opacity:0;
- }
- #moon, #sun {
- padding-top:5em;
- }
- #moon {
- width:30%;
- max-width:200px;
- left:5em;
- }
- #sun {
- width:25%;
- max-width:250px;
- right:5em;
- top:4em;
- }
- #cloud-1 {
- top:20em;
- left:5em;
- width:300px;
- }
- #cloud-2 {
- bottom:5em;
- left:12em;
- }
- #cloud-3 {
- top:9em;
- right:2em;
- }
- {block:ifBobbingClouds}
- #cloud-1, #cloud-2, #cloud-3 {
- animation:bob 5s infinite ease-out;
- }
- {/block:ifBobbingClouds}
- #cloud-2 { animation-delay:1s; }
- #cloud-3 { animation-delay:2s; }
- @keyframes bob {
- 10% { margin-top:-3px; }
- 40% { margin-top:-5px; }
- 60% { margin-top:0; }
- 100% { margin-top:2px; }
- }
- a { transition:.25s all ease; }
- a {
- text-decoration:none;
- border-radius:10px;
- }
- h1, h2, h3, h4, h5, a.post-title {
- font-family:{TitleFont};
- font-weight:{TitleFontWeight};
- margin:.2em 0;
- }
- h2.post-title, a.post-title {
- border-radius:0;
- display:block;
- margin:0;
- font-size:1.8em;
- }
- a.post-title .fa {
- transition:.2s all ease;
- margin-left:.3em;
- }
- a.post-title:hover .fa {
- margin-left:.7em;
- }
- p:first-child { margin-top:0; }
- p:last-child { margin-bottom:0; }
- hr {
- border:none;
- height:0;
- border-top:2px dashed var(--border);
- }
- .caption hr {
- margin-left:4em;
- margin-right:4em;
- }
- #main-column {
- width:504px;
- position:absolute;
- left:calc(50% - 250px - 2em);
- }
- #description {
- margin-top:4em;
- {block:ShowTitle}
- margin-top:1em;
- {/block:ShowTitle}
- }
- #description:empty { display:none; }
- #content {
- margin-top:4em;
- }
- a,
- .quest a:hover,
- .answerer:hover { color:var(--accent); }
- .post-title,
- a:hover,
- .user,
- .quest a,
- .answerer,
- .nav-link,
- .pag-link {
- color:var(--elements-bg-opaque);
- background:var(--accent);
- }
- .post, #description, h1#blog-title {
- {block:ifBorders}
- border:2px solid var(--border);
- {/block:ifBorders}
- {block:ifNotBorders}
- border-color:var(--border);
- {/block:ifNotBorders}
- border-radius:15px;
- overflow:hidden;
- background:var(--elements-bg);
- z-index:1;
- }
- {block:ifShadows}
- .post, #description, h1#blog-title, .pag-link:not(.fa), .pag-spacer#upper {
- box-shadow:0 2px 2px var(--shadow);
- }
- {/block:ifShadows}
- h1#blog-title {
- line-height:1.2em;
- margin-top:0;
- border-top:0;
- border-radius:0 0 20px 20px;
- text-transform:uppercase;
- }
- h1#blog-title { text-shadow:2px 2px var(--accent); }
- .post {
- margin:3em 0;
- position:relative;
- z-index:1;
- }
- .post.is-pinned {
- border:2px solid var(--accent);
- }
- .pinlabel {
- font-size:1.5em;
- padding:.5em .5em .8em .5em;
- display:block;
- width:1em;
- margin-left:25px;
- text-align:center;
- margin-bottom:-2.5em;
- z-index:10;
- }
- .user, .nav-link, .answerer, .quest a {
- line-height:1em;
- display:inline-block;
- text-transform:uppercase;
- font-size:.8em;
- font-weight:bold;
- padding:10px;
- }
- .user:hover,
- .quest a:hover,
- .answerer:hover,
- .nav-link:hover,
- .pag-link:hover {
- color:var(--accent);
- background:var(--elements-bg-opaque);
- }
- .post-title {
- background:var(--accent);
- color:var(--elements-bg-opaque);
- }
- .caption.single,
- .reblogged-comment,
- .quest,
- h1#blog-title,
- .post-title,
- .post-info,
- #description {
- padding:20px;
- }
- .quote-source { padding:0 20px; }
- .post-info { padding-top:15px; }
- hr.footer-spacer {
- border-top:2px dashed;
- border-color:inherit;
- }
- .caption, .reblogged-comment, .quest {
- border-top:1px solid var(--border);
- }
- .reblogged-comment:first-child,
- .reblogged-comment:only-child,
- .caption:first-child,
- .caption:only-child {
- border:none; }
- .comment-content { margin-top:.5em; }
- blockquote.quote {
- font:1.3em {TitleFont};
- font-style:italic;
- padding:20px;
- margin:0;
- }
- blockquote {
- margin:20px;
- padding:0;
- padding-left:1em;
- border-left:1px solid var(--border);
- }
- blockquote.excerpt {
- padding:20px;
- border:none;
- margin:0;
- font-style:italic;
- }
- .quote .fa {
- opacity:.3;
- position:absolute;
- float:left;
- margin-top:-.2em;
- font-size:2em;
- }
- .quote-source { text-align:right; margin:1em 0; }
- .media-wrap { line-height:0; }
- .media-wrap * { width:100%; }
- .type-Audio .media-wrap {
- height:85px!important;
- overflow:hidden;
- }
- .tmblr-full {
- width:100%;
- height:auto;
- }
- .tmblr-full * {
- margin-left:-20px;
- width:504px;
- height:auto;
- }
- .tmblr-full > * { width:calc(100% + 40px); }
- .npf_row .tmblr-full * { width:100%; margin:auto; height:auto; }
- .quest {
- border:none;
- text-align:right;
- }
- .quest, .chat.even { background-color:var(--accented-bg); }
- .ans, .chat.odd { background-color:var(--darkened-bg); }
- .chat {
- margin:0;
- padding:10px;
- }
- #navigation {
- padding:0 20px;
- margin-top:calc(-.5em - 5px);
- line-height:0;
- {block:ShowDescription}
- margin-top:calc(-.5em + 2px);
- {/block:ShowDescription}
- }
- #navigation, #pagination {
- position:relative;
- /*z-index:-1;*/
- }
- #pagination {
- position:fixed;
- left:calc(50% + 220px + 2em);
- top:0;
- height:100vh;
- display:flex;
- justify-content:flex-end;
- flex-flow:column nowrap;
- }
- .nav-link, .pag-link, .pag-spacer {
- margin:.5em;
- }
- .pag-spacer {
- /*flex-grow:5;*/
- }
- .pag-spacer#lower {
- height:10vh;
- }
- .pag-spacer#upper {
- flex-grow:5;
- background:var(--elements-bg);
- {block:ifBorders}
- border:2px solid var(--border);
- {/block:ifBorders}
- {block:ifNotBorders}
- border-color:var(--border);
- {/block:ifNotBorders}
- border-top:none;
- margin-top:0;
- }
- .pag-link {
- padding:10px;
- width:1em;
- height:1em;
- line-height:1em;
- text-align:center;
- overflow:hidden;
- }
- .pag-link:not(.fa) {
- font:1em {TitleFont};
- font-weight:bold;
- }
- .pag-link.active {
- background:var(--accented-bg);
- color:var(--text);
- border:2px solid var(--border);
- box-sizing:border-box;
- padding:8px;
- height:calc(1em + 20px);
- width:calc(1em + 20px);
- }
- .pag-link.active:before {
- content:'';
- position:absolute;
- z-index:-1;
- top:0;
- left:0;
- bottom:0;
- right:0;
- background:var(--elements-bg);
- }
- #blog-info.streamlined, .pag-link {
- position:relative;
- }
- #credit {
- position:fixed;
- right:2em;
- bottom:2em;
- padding:7px;
- font-size:.7em;
- letter-spacing:1px;
- line-height:1em;
- font-weight:bold;
- text-transform:uppercase;
- }
- #credit, .pinlabel {
- background:var(--accent);
- color:var(--elements-bg-opaque);
- border-radius:10px;
- }
- .background.time-day {
- background: var(--bg-day-flat);
- background: var(--bg-day-gradient);
- }
- .background.time-twilight {
- background: var(--bg-twilight-flat);
- background: var(--bg-twilight-gradient);
- }
- .background.time-night {
- background: var(--bg-night-flat);
- background-image: var(--bg-night-gradient);
- }
- .background.time-night:before {
- content:'';
- position:fixed;
- top:0; bottom:0; left:0; right:0;
- background:url('https://static.tumblr.com/xwoxjom/7Heqebnmr/searchpng.com-stars-bg-png-image-free-download.png') repeat;
- opacity:.9;
- background-size:25%;
- filter:blur(1px);
- mix-blend-mode:hard-light;
- }
- .background.time-night:after {
- content:'';
- position:fixed;
- top:0; bottom:0; left:0; right:0;
- background:url('https://static.tumblr.com/xwoxjom/7Heqebnmr/searchpng.com-stars-bg-png-image-free-download.png') repeat;
- background-size:85%;
- }
- .background {
- transition:none;
- position:fixed;
- background-size:100%;
- top:0;
- left:0;
- height:100vh;
- width:100vw;
- z-index:-2;
- /*mix-blend-mode:soft-light;*/
- }
- .details {
- text-transform:uppercase;
- }
- .post-info span {
- width:.5em;
- display:inline-block;
- }
- .nav-link.fa, .pag-spacer#upper {
- padding-top:20px;
- border-radius:0 0 10px 10px;
- }
- .post-info .fa {
- color:var(--icons);
- }
- .controls .fa-retweet, .controls .fa-heart {
- transition:.2s all ease-out;
- }
- .controls {
- font-size:1em;
- line-height:1em;
- text-align:center;
- color:color:var(--icons);
- float:right;
- margin-right:5px;
- }
- .controls a {
- color:var(--icons);
- }
- .fa-retweet {
- margin-right:.5em;
- }
- .like-wrap {
- position:relative;
- width:2em;
- height:2em;
- cursor:pointer;
- }
- .like_button {
- position:absolute;
- z-index:5;
- top:0;
- left:0;
- opacity:0.0001;
- width:1em;
- height:1em;
- }
- .like_button iframe {
- width:100% !important;
- height:100% !important;
- }
- .like-btn { z-index:1; }
- .like_button.liked + .like-btn { color:#f55; }
- .user.deactivated {
- opacity:.85;
- }
- #notes {
- padding:20px;
- padding-left:calc(20px + 1em);
- font-size:.9em;
- border-top:2px dashed var(--border);
- }
- .notes {
- list-style-type:none;
- padding:0 0 0 1em;
- margin:0;
- position:relative;
- }
- .note .avatar_frame { display:none; }
- .note:before {
- position:absolute;
- left:-1em;
- width:1em;
- color:var(--text);
- opacity:.7;
- font-family:'Font Awesome 5 Free';
- font-weight:900;
- }
- .note.reblog.without_commentary:before {
- content:'\f079';
- }
- .note.reblog.with_commentary:before, .note.reply:before {
- content:'\f27a';
- }
- .note.like:before {
- content:'\f004';
- }
- .expanded {
- display:none;
- width:300px;
- position:fixed;
- left:calc(50% - 470px);
- }
- @media screen and (min-width:900px) {
- .streamlined { display:none; }
- .expanded { display:block; }
- h1#blog-title {
- {block:ifBorders}
- border:2px solid var(--border);
- {/block:ifBorders}
- {block:ifNotBorders}
- border-color:var(--border);
- {/block:ifNotBorders}
- border-radius:15px;
- margin-top:2em;
- }
- #main-column {
- left:calc(50% - 100px - 2em);
- }
- #pagination {
- left:calc(50% + 370px + 2em);
- }
- }
- {CustomCSS}
- </style>
- <!-- end of CSS -->
- </head>
- <body class="{select:Default mode}" data-urlencoded-name="{URLEncodedName}">
- {block:ifNotTimeCycle}
- <div class="background time-{select:Default mode}"></div>
- {/block:ifNotTimeCycle}
- {block:ifTimeCycle}
- <div class="background" id="begin-state"></div>
- <div class="background" id="end-state"></div>
- {/block:ifTimeCycle}
- <header id="blog-info" class="expanded">
- {block:ShowTitle}<h1 id="blog-title">{Title}</h1>{/block:ShowTitle} <!-- title-->
- {block:ShowDescription}<aside id="description">{Description}</aside>{/block:ShowDescription} <!-- description -->
- <nav id="navigation">
- <a class="nav-link fa fa-home fa-fw" href="/" aria-label="home" title="{lang:Home}"></a>
- {block:AskEnabled}
- <a class="nav-link fa fa-question fa-fw" href="/ask" aria-label="ask" title="{lang:Mail}"></a>
- {/block:AskEnabled}
- <!-- only renders if asks are enabled -->
- {block:SubmissionsEnabled}
- <a class="nav-link fa fa-envelope fa-fw" href="/submit" aria-label="submit" title="Submit"></a>
- {/block:SubmissionsEnabled}
- <!-- only renders if submissions are enabled -->
- <a class="nav-link fa fa-archive fa-fw" href="/archive" aria-label="archive" title="{lang:Archive}"></a>
- {block:HasPages}
- <!-- only renders if the blog has custom links enabled. CHECK THE FAQ -->
- {block:Pages}
- <a class="nav-link" href="{URL}">{Label}</a>
- {/block:Pages}
- {/block:HasPages}
- </nav>
- </header>
- <div id="main-column">
- <!-- container to keep everything together -->
- <header id="blog-info" class="streamlined">
- {block:ShowTitle}<h1 id="blog-title">{Title}</h1>{/block:ShowTitle} <!-- title-->
- {block:ShowDescription}<aside id="description">{Description}</aside>{/block:ShowDescription} <!-- description -->
- <nav id="navigation">
- <a class="nav-link fa fa-home fa-fw" href="/" aria-label="home" title="{lang:Home}"></a>
- {block:AskEnabled}
- <a class="nav-link fa fa-question fa-fw" href="/ask" aria-label="ask" title="{lang:Mail}"></a>
- {/block:AskEnabled}
- <!-- only renders if asks are enabled -->
- {block:SubmissionsEnabled}
- <a class="nav-link fa fa-envelope fa-fw" href="/submit" aria-label="submit" title="Submit"></a>
- {/block:SubmissionsEnabled}
- <!-- only renders if submissions are enabled -->
- <a class="nav-link fa fa-archive fa-fw" href="/archive" aria-label="archive" title="{lang:Archive}"></a>
- {block:HasPages}
- <!-- only renders if the blog has custom links enabled. CHECK THE FAQ -->
- {block:Pages}
- <a class="nav-link" href="{URL}">{Label}</a>
- {/block:Pages}
- {/block:HasPages}
- </nav>
- </header>
- <main id="content"> <!-- start of posts block -->
- {block:Posts}
- {block:PinnedPostLabel}<a class="fa fa-thumbtack pinlabel" aria-label="pinned post" title="{PinnedPostLabel}" href="{Permalink}"></a>{/block:PinnedPostLabel}
- <article class="post type-{PostTypeNoun}{block:Date} is-post{/block:Date}{block:PinnedPostLabel} is-pinned{/block:PinnedPostLabel}">
- {block:Title}<h2 class="post-title">{Title}</h2>{/block:Title}
- <!-- if not enclosed in those blocks, the title variable will display the title of the blog instead of the post title -->
- {block:Text}
- <!-- the body of a text post is not considered a caption, so it needs its own separate block -->
- {block:NotReblog}
- <figcaption class="caption single">{Body}</figcaption>
- {/block:NotReblog}
- <!-- renders on original posts only -->
- {block:RebloggedFrom}
- <div class="caption">
- {block:Reblogs}
- <!-- renders for reblogs only -->
- <div class="reblogged-comment">
- <i class="fa fa-user{block:IsDeactivated}-times{/block:IsDeactivated}"> </i>
- <a class="user {block:IsDeactivated}inactive{/block:isDeactivated} {block:IsActive}active{/block:IsActive}" href="{Permalink}">{Username}</a>
- <div class="comment-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- {/block:Text} <!-- end of text post block -->
- {block:Link}
- <!-- bro i hate formatting link posts so much -->
- {block:Thumbnail}
- <figure class="media-wrap"><img src="{Thumbnail-HighRes}"></figure>
- {/block:Thumbnail}
- <!-- renders if a preview image exists -->
- <a class="post-title" href="{URL}">{Name}<span></span><i class="fa fa-caret-right"></i></a>
- {block:Excerpt}
- <blockquote class="excerpt">{Excerpt}</blockquote>
- {/block:Excerpt}
- <!-- renders if the link has an excerpt -->
- {block:Description}
- <div class="caption {block:NotReblog}single{/block:NotReblog}">
- {block:NotReblog}{Description}{/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <!-- renders for reblogs only -->
- <div class="reblogged-comment">
- <i class="fa fa-user"> </i>
- <a class="user {block:IsDeactivated}inactive{/block:isDeactivated}" href="{Permalink}">{Username}</a>
- <div class="comment-content">{Body}</div>
- </div>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div>
- {/block:Description}
- {/block:Link}
- {block:Quote}
- <blockquote class="post-title quote"><i class="fa fa-quote-left"></i><span> </span>{Quote}</blockquote>
- {block:Source}<div class="quote-source">— {Source}</div>{/block:Source}
- {/block:Quote}
- <!-- other media -->
- {block:Photo}
- <figure class="media-wrap">{LinkOpenTag}<img src="{PhotoURL-HighRes}">{LinkCloseTag}</figure>
- {/block:Photo}
- {block:Photoset}
- <figure class="media-wrap">{Photoset}</figure>
- <!-- this element is responsive - finally! lmao photosets used to be really annoying to style -->
- {/block:Photoset}
- {block:Video}
- <figure class="media-wrap">{Video-500}</figure>
- {/block:Video}
- {block:Audio}
- <figure class="media-wrap">{AudioEmbed-500}</figure>
- {/block:Audio}
- {block:Chat}
- {block:Lines}
- <p class="chat {Alt}">{block:Label}<b>{Label} </b>{/block:Label}{Line}</p>
- {/block:Lines}
- {/block:Chat}
- {block:Answer}
- <div class="quest">
- <i class="fa fa-comment-alt fa-flip-horizontal"></i>
- {Asker}
- <p>{Question}</p>
- </div>
- {block:Answerer}
- <div class="caption single ans">
- {Answerer}
- <i class="fa fa-comment-alt"></i>
- <div class="comment-content">{Answer}</div>
- </div>
- {/block:Answerer}
- <div class="caption {block:NotReblog}single{/block:NotReblog}">
- {block:NotReblog}{Answer}{/block:NotReblog}
- {block:RebloggedFrom}
- {block:Reblogs}
- <div class="reblogged-comment">
- <i class="fa fa-user"> </i>
- <a class="user {block:IsDeactivated}inactive{/block:isDeactivated}" href="{Permalink}">{Username}</a>
- <div class="comment-content">{Body}</div>
- </div>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- </div>
- {/block:Answer}
- {block:Caption}
- <!--renders for any media post with a caption-->
- <figcaption class="media-post caption {block:NotReblog}single{/block:NotReblog}">
- {block:NotReblog}{Caption}{/block:NotReblog}
- {block:RebloggedFrom}
- <div class="reblog-list">
- {block:Reblogs}
- <div class="reblogged-comment">
- <i class="fa fa-user"> </i>
- <a class="user {block:IsDeactivated}inactive{/block:isDeactivated}" href="{Permalink}">{Username}</a>
- <div class="comment-content">{Body}</div>
- </div>
- {/block:Reblogs}
- </div>
- {/block:RebloggedFrom}
- </figcaption>
- {/block:Caption}
- {block:Date}
- <!-- only renders on actual posts, not custom/ask/submit pages-->
- <hr class="footer-spacer"/>
- <footer class="post-info">
- {block:HasTags}
- <!-- only renders if the post has tags -->
- <div class="tags">
- {block:Tags}<i class="fa fa-hashtag"></i> <a href="{TagURL}">{Tag}</a> {/block:Tags}
- </div>
- {/block:HasTags}
- <div class="details">
- <div class="timestamp">
- <i class="fa fa-calendar" aria-label="date"> </i>
- <a href="{Permalink}" title="{TimeAgo}">{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}</a>
- {block:ifDetailedTimestamp}
- <span></span>
- <i class="fa fa-clock" aria-label="time"> </i>
- <a href="{Permalink}" title="{12Hour}:{Minutes} {CapitalAMPM}">{24HourWithZero}:{Minutes}</a>
- {/block:ifDetailedTimestamp}
- </div>
- <!-- displays as DD.MM.YY -->
- {block:RebloggedFrom}
- <!-- only renders if the post was reblogged -->
- <i class="fa fa-reply" aria-label="reblogged from"> </i>
- <a href="{ReblogParentURL}">{ReblogParentName}</a>
- <span></span>
- {/block:RebloggedFrom}
- {block:ContentSource}
- <i class="fa fa-reply-all" aria-label="content source"> </i>
- <a href="{ContentSourceURL}">{SourceTitle}</a>
- <span></span>
- {/block:ContentSource}
- <i class="fa fa-share-alt" aria-label="notes"> </i>
- <a href="{Permalink}#notes">{NoteCountWithLabel}</a>
- <!-- you should use the "with label" variant of the note count variable wherever possible. it adds commas into the note count and accommodates localization -->
- <div class="controls">
- <a href="{ReblogURL}" class="fa fa-retweet"></a>
- <span class="like-wrap">{LikeButton}<a class="like-btn fa fa-heart"></a></span>
- </div>
- </div>
- </footer>
- {block:PostNotes}
- <!-- only renders on permalink pages if the post has notes -->
- <footer id="notes">
- {PostNotes}
- </footer>
- {/block:PostNotes}
- {/block:Date}
- </article>
- {/block:Posts}
- </main> <!-- end of posts block -->
- </div> <!-- end of main column wrapper -->
- {block:Pagination}
- <nav id="pagination">
- <div class="pag-spacer" id="upper"></div>
- {block:PreviousPage}
- <a class="pag-link fa fa-chevron-left fa-fw" href="{PreviousPage}" title="{lang:Previous}" aria-label="previous page"></a>
- {/block:PreviousPage}
- {block:JumpPagination length="5"}
- {block:CurrentPage}<a class="pag-link active">{PageNumber}</a>{/block:CurrentPage}
- {block:JumpPage}<a class="pag-link" href="{URL}">{PageNumber}</a>{/block:JumpPage}
- {/block:JumpPagination}
- {block:NextPage}
- <a class="pag-link fa fa-chevron-right fa-fw" href="{NextPage}" title="{lang:Next}" aria-label="next page"></a>
- {/block:NextPage}
- <div class="pag-spacer" id="lower"></div>
- </nav>
- {/block:Pagination}
- <div id="celestes" {block:ifNotTimeCycle}class="time-{select:Default mode}"{/block:ifNotTimeCycle}>
- <img id="sun" class="visiday" src="https://static.tumblr.com/xwoxjom/jdvqet5tq/sun.png">
- <img id="cloud-1" class="visiday" src="https://static.tumblr.com/xwoxjom/dCtqet5fp/cloud1.png">
- <img id="cloud-2" class="visiday" src="https://static.tumblr.com/xwoxjom/K2Mqet5tk/cloud2.png">
- <img id="cloud-3" class="visiday" src="https://static.tumblr.com/xwoxjom/N05qet5fs/cloud_3.png">
- <img id="moon" class="visinight" src="https://static.tumblr.com/xwoxjom/zvfqet5t1/moon.png">
- </div>
- <a href="https://linthm.tumblr.com/thm" title="Circadium 2.0 © Laighlin"><footer id="credit">@L<span id="credit-full">aighlin</span></footer></a>
- </body>
- <script type="text/javascript">
- $(document).ready(function() {
- function change_colors() {
- var date = new Date();
- var hour = date.getHours();
- var day_quarter = Math.ceil((hour+1)/6);
- var minute = date.getMinutes();
- var minute_of_quarter = (60*hour + minute)%360;
- var quarter_progress = minute_of_quarter/360;
- switch(day_quarter) {
- case 1:
- dawnward();
- moonset(quarter_progress);
- break;
- case 2:
- dayward();
- sunrise(quarter_progress);
- break;
- case 3:
- duskward();
- sunset(quarter_progress);
- break;
- case 4:
- nightward();
- moonrise(quarter_progress);
- break;
- }
- $('#end-state').css('opacity', quarter_progress);
- }
- function moonrise(quarter_progress) {
- var h = ((1 - quarter_progress)*100) + "vh";
- $('#moon').show().css('top', h).css('opacity',quarter_progress);
- $('.visiday').hide();
- }
- function moonset(quarter_progress) {
- var h = quarter_progress*100 + "vh";
- $('#moon').show().css('top', h).css('opacity',1-quarter_progress);
- $('.visiday').hide();
- }
- function sunset(quarter_progress) {
- var h = quarter_progress*100 + "vh";
- $('#sun').show().css('top', h);
- $('.visiday').css('opacity',1-quarter_progress);
- $('.visinight').hide();
- }
- function sunrise(quarter_progress) {
- var h = ((1 - quarter_progress)*100) + "vh";
- $('#sun').show().css('top', h);
- $('.visiday').css('opacity',quarter_progress);
- $('.visinight').hide();
- }
- function dawnward() {
- $('body').addClass('night').removeClass('day');
- $('#begin-state').addClass('time-night');
- $('#end-state').addClass('time-twilight');
- }
- function dayward() {
- $('body').addClass('day').removeClass('night');
- $('#begin-state').addClass('time-night');
- $('#end-state').addClass('time-day');
- }
- function duskward() {
- $('body').addClass('day').removeClass('night');
- $('#begin-state').addClass('time-day');
- $('#end-state').addClass('time-twilight');
- }
- function nightward() {
- $('body').addClass('night').removeClass('day');
- $('#begin-state').addClass('time-twilight');
- $('#end-state').addClass('time-night');
- }
- {block:ifTimeCycle}
- change_colors();
- {/block:ifTimeCycle}
- });
- </script>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement