Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!----
- ©borntobewildcodes.tumblr.com | HEAVEN & HELL (vol.3)
- + Do not redistribute this theme or remove the credits.
- + Edit as long as you keep the credits intact
- + Contact me if you have any questions or concerns.
- + If you want a custom theme you can commission me.
- + Thanks for using my theme, I hope that you enjoy it.
- Other credits:
- - Jquery
- - Disqus
- - Google fonts
- - Font Awesome icons
- - Masonry by David Desandro
- - Infinite scroll by Paul Irish
- - PXU Photosets
- - Masonry with Infinite Scroll and PXU Photosets tutorial by @shythemes
- - Load more buttons tutorial by @shythemes
- - Hide stuff tutorial by @lmthemes
- ---->
- <!DOCTYPE html>
- <head>
- <title>{block:PostSummary}{PostSummary} : {/block:PostSummary}{Title}</title>
- <link rel="shortcut icon" href="{favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
- <meta name="image:Background" content="1"/>
- <meta name="image:Container background" content="1"/>
- <meta name="image:Updates tab image" content="1"/>
- <meta name="color:Background" content="#fff"/>
- <meta name="color:Main link" content="#111111"/>
- <meta name="color:Blog title" content="#111111"/>
- <meta name="color:Blog title border" content="#D2ECEB"/>
- <meta name="color:Description" content="#111111"/>
- <meta name="color:Description border" content="#A9DDDD"/>
- <meta name="color:Navigation link" content="#111111"/>
- <meta name="color:Link one border" content="#80CED0"/>
- <meta name="color:Link two border" content="#57BFC1"/>
- <meta name="color:Link three border" content="#00AEB3"/>
- <meta name="color:Link four border" content="#219AA0"/>
- <meta name="color:Link five border" content="#1A858E"/>
- <meta name="color:Search box text" content="#111111"/>
- <meta name="color:Search box border" content="#14717B"/>
- <meta name="color:Updates tab border" content="#D2ECEB"/>
- <meta name="color:Menu background" content="#80CED0"/>
- <meta name="color:Menu icon" content="#ffffff"/>
- <meta name="color:Popup background" content="#eeeeee"/>
- <meta name="color:Post background" content="#FFFFFF"/>
- <meta name="color:Post border" content="#FFCBCC"/>
- <meta name="color:Post info background" content="#FFFFFF"/>
- <meta name="color:Buttons" content="#75a1e2"/>
- <meta name="color:Link post background" content="#eeeeee"/>
- <meta name="color:Ask bubble" content="#eee"/>
- <meta name="color:Title" content="#3583B1"/>
- <meta name="color:Text" content="#222222"/>
- <meta name="color:Link" content="#cab1da"/>
- <meta name="color:Hover" content="#75a1e2"/>
- <meta name="color:Bold" content="#000"/>
- <meta name="color:Italic" content="#75a1e2"/>
- <meta name="color:Borders" content="#ddd"/>
- <meta name="color:Pagination" content="#315f7a"/>
- <meta name="color:Scrollbar" content="#ddd"/>
- <meta name="color:Scrollbar background" content="#fff"/>
- <meta name="select:Container background" content="255,255,255" title="white">
- <meta name="select:Container background" content="0,0,0" title="black">
- <meta name="select:Container background" content="220,37,37" title="red">
- <meta name="select:Container background" content="254,98,153" title="pink">
- <meta name="select:Container background" content="254,98,153" title="pink">
- <meta name="select:Container background" content="167,125,194" title="purple">
- <meta name="select:Container background" content="57,74,203" title="indigo">
- <meta name="select:Container background" content="82,158,204" title="blue">
- <meta name="select:Container background" content="86,188,138" title="green">
- <meta name="select:Container background" content="90,201,225" title="turquoise">
- <meta name="select:Container background" content="255,216,0" title="yellow">
- <meta name="select:Container background" content="242,153,46" title="orange">
- <meta name="select:Container background" content="97,61,18" title="brown">
- <meta name="select:Container transparency" content="1" title="opaque">
- <meta name="select:Container transparency" content=".9" title=".9">
- <meta name="select:Container transparency" content=".8" title=".8">
- <meta name="select:Container transparency" content=".7" title=".7">
- <meta name="select:Container transparency" content=".6" title=".6">
- <meta name="select:Container transparency" content=".5" title=".5">
- <meta name="select:Container transparency" content=".4" title=".4">
- <meta name="select:Container transparency" content=".3" title=".3">
- <meta name="select:Container transparency" content=".2" title=".2">
- <meta name="select:Container transparency" content=".1" title=".1">
- <meta name="select:Container transparency" content=".0" title="transparent">
- <meta name="font:Body font" content="Helvetica"/>
- <meta name="select:Body font size" content="12px" title="12px">
- <meta name="select:Body font size" content="13px" title="13px">
- <meta name="select:Body font size" content="14px" title="14px">
- <meta name="select:Body font size" content="15px" title="15px">
- <meta name="select:Body font size" content="16px" title="16px">
- <meta name="select:Title font" content="Cinzel" title="Cinzel">
- <meta name="select:Title font" content="Lato" title="Lato">
- <meta name="select:Title font" content="Old Standard TT" title="Old Standard TT">
- <meta name="select:Title font" content="Great Vibes" title="Great Vibes">
- <meta name="select:Title font" content="Merienda One" title="Merienda One">
- <meta name="select:Title font size" content="22px" title="22px">
- <meta name="select:Title font size" content="25px" title="25px">
- <meta name="select:Title font size" content="27px" title="27px">
- <meta name="select:Title font size" content="30px" title="30px">
- <meta name="select:Title font size" content="32px" title="32px">
- <meta name="select:Blog title font size" content="20px" title="20px">
- <meta name="select:Blog title font size" content="22px" title="22px">
- <meta name="select:Blog title font size" content="25px" title="25px">
- <meta name="select:Blog title font size" content="27px" title="27px">
- <meta name="select:Blog title font size" content="30px" title="30px">
- <meta name="select:Blog title font size" content="32px" title="32px">
- <meta name="select:Post width" content="400" title="400px">
- <meta name="select:Post width" content="500" title="500px">
- <meta name="if:Inverted Controls" content="0"/>
- <meta name="if:Infinite Scroll" content="0"/>
- <meta name="if:Load More" content="0"/>
- <meta name="if:Post Background Transparent" content="0" />
- <meta name="if:Show Updates Tab" content="0" />
- <meta name="if:Show Main Links" content="1" />
- <meta name="if:Show Description" content="1" />
- <meta name="if:Show Search Box" content="1" />
- <meta name="if:Show Navigation" content="1" />
- <meta name="if:Show Info On Hover" content="0" />
- <meta name="if:Faded Images" content="0" />
- <meta name="if:Monochrome Images" content="0" />
- <meta name="if:Show Captions" content="1" />
- <meta name="if:Show Tags" content="1" />
- <meta name="if:Ask Enabled" content="1" />
- <meta name="if:Submissions Enabled" content="1" />
- <meta name="if:Show Archive Link" content="1" />
- <meta name="if:Disqus Shortname" content="0"/>
- <meta name="if:Show Link One" content="1" />
- <meta name="if:Show Link Two" content="1" />
- <meta name="if:Show Link Three" content="1" />
- <meta name="if:Show Link Four" content="1" />
- <meta name="if:Show Link Five" content="1" />
- <meta name="text:Link One" content="Link One"/>
- <meta name="text:Link One url" content="http://"/>
- <meta name="text:Link Two" content="Link Two"/>
- <meta name="text:Link Two url" content="http://"/>
- <meta name="text:Link Three" content="Link Three"/>
- <meta name="text:Link Three url" content="http://"/>
- <meta name="text:Link Four" content="Link Four"/>
- <meta name="text:Link Four url" content="http://"/>
- <meta name="text:Link Five" content="Link Five"/>
- <meta name="text:Link Five url" content="http://"/>
- <meta name="text:Updates tab title one" content="Title one"/>
- <meta name="text:Updates tab text one" content="Text one"/>
- <meta name="text:Updates tab title two" content="Title two"/>
- <meta name="text:Updates tab text two" content="Text two"/>
- <meta name="text:Updates tab title three" content="Title three"/>
- <meta name="text:Updates tab text three" content="Text three"/>
- <meta name="text:Border radius" content="0px" />
- <meta name="text:Sidebar border radius" content="5px" />
- <meta name="text:Blog alias" content="blogalias"/>
- <meta name='text:Disqus Shortname' content='' />
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
- <!-- CSS -->
- <style type="text/css">
- /* ---------------------------- GENERAL ----------------------------- */
- /* -------- BASICS ------- */
- body {
- margin: 0;
- padding: 0;
- width: 100%;
- height: 100%;
- color: {color:text};
- font-family: {font:Body font};
- font-size: {select:Body font size};
- line-height: calc({select:Body font size} + 5px);
- background-color: {color:Background};
- background-image:url({image:Background});
- background-attachment: fixed;
- background-repeat: repeat;
- word-wrap: break-word;
- }
- /* Headings */
- h1 { font-size:{select:Title font size}; }
- h2 { font-size:calc({select:Title font size} - 5px); }
- h3 { font-size:calc({select:Title font size} - 7px); }
- h1, h2, h3{
- margin: 10px 0 20px 0;
- color:{color:Title};
- font-weight: bold;
- letter-spacing: 1px;
- }
- h1:after, .title:after {
- content: '';
- display:block;
- width:40px;
- height:2px;
- border-bottom:1px solid {color:Link};
- }
- .entry h1:first-child, .entry h2:first-child, .entry h3:first-child {
- margin-top:10px;
- }
- /* Paragraph */
- p { margin:5px 0;}
- p:first-of-type { margin-top:0;}
- p:last-of-type { margin-bottom:0;}
- small, big, sub, pre {
- font-size:1em!important;
- line-height:1.4em!important;
- vertical-align:baseline!important;
- }
- blockquote {
- padding:.25em 0 .25em 15px;
- margin:.5em 0;
- border-left:1px solid {color:Borders};
- }
- /* Bold and italic */
- b, strong, b a, strong a {
- font-weight:bold!important;
- color: {color:Bold};
- }
- i, em {
- color: {color:Italic};
- transition:all .3s linear;
- -webkit-transition:all .3s linear;
- -o-transition:all .3s linear;
- -moz-transition:all .3s linear;
- }
- /* Links */
- a {
- color:{color:Link};
- text-decoration:none;
- transition:all .3s linear;
- -webkit-transition:all .3s linear;
- -o-transition:all .3s linear;
- -moz-transition:all .3s linear;
- }
- a, a img {cursor:pointer;}
- a:hover {
- color:{color:Hover}!important;
- text-decoration:none;
- }
- ul, ol, li {
- margin: 5px 10px;
- padding: 0;
- }
- /* Line break */
- hr {
- border:none;
- box-shadow:0;
- margin:2em auto;
- width:75px;
- border-top:1px solid {color:Borders};
- }
- pre {
- padding:0;
- margin:0;
- line-height:inherit!important;
- background:transparent;
- font-family:inherit!Important;
- font-size:inherit!important;
- white-space:pre-wrap;
- white-space:-moz-pre-wrap;
- white-space:-pre-wrap;
- white-space:-o-pre-wrap;
- word-wrap:break-word;
- }
- /* Tumblr lightbox */
- .tmblr-lightbox {background:rgba({RGBcolor:Background}, .95)!important;}
- .tmblr-lightbox img {opacity:0;}
- .lightbox-caption {
- color:{color:Title}!important;
- font-family:inherit!important;
- font-size:1em!important;
- font-weight:normal!important;
- text-shadow:none!important;
- }
- .lightbox-image {
- -moz-box-shadow:none!important;
- -webkit-box-shadow:none!important;
- box-shadow:none!important;
- -moz-border-radius:0px!important;
- -webkit-border-radius:0px!important;
- border-radius:0px!important;
- padding:0px!important;
- border:0!important;
- opacity:1!important;
- }
- .vignette {opacity:0!Important;}
- /* Webkit scrollbar */
- ::-webkit-scrollbar {
- width: 9px;
- height: 0;
- }
- ::-webkit-scrollbar-button:start:decrement,
- ::-webkit-scrollbar-button:end:increment {
- height: 0;
- display: block;
- background-color: {color:Scrollbar background};
- border-bottom-right-radius:30px;
- }
- ::-webkit-scrollbar-track-piece {
- background-color: {color:Scrollbar background};
- }
- ::-webkit-scrollbar-thumb:vertical {
- height: 0;
- background-color: {color:Scrollbar};
- border: 4px solid {color:Scrollbar background};
- }
- /* Selection */
- ::-moz-selection {
- background: {color:Hover};
- color: {color:Background};
- }
- ::selection {
- background: {color:Hover};
- color: {color:Background};
- }
- /* Tumblr controls */
- iframe.tmblr-iframe {
- top:1px!important;
- right:35px!important;
- {block:ifInvertedControls}
- filter:invert(100%) hue-rotate(180deg);
- -webkit-filter:invert(100%) hue-rotate(180deg);
- -moz-filter:invert(100%) hue-rotate(180deg);
- -o-filter:invert(100%) hue-rotate(180deg);
- -ms-filter:invert(100%) hue-rotate(180deg);
- {/block:ifInvertedControls}
- transform:scale(0.8);
- transform-origin:100% 0;
- -webkit-transform:scale(0.8);
- -webkit-transform-origin:100% 0;
- -o-transform:scale(0.8);
- -o-transform-origin:100% 0;
- -moz-transform:scale(0.8);
- -moz-transform-origin:100% 0;
- -ms-transform:scale(0.8);
- -ms-transform-origin:100% 0;
- z-index:100000!important;
- }
- iframe.tmblr-iframe:hover {
- opacity:0.6!important;
- }
- /* Tooltips */
- .ui-tooltip {
- position:absolute;
- z-index:9999;
- padding-top:10px;
- }
- .ui-tooltip-content {
- background:{color:Background};
- padding:0 4px;
- font-style:italic;
- color:{color:Link};
- text-transform:lowercase;
- border:1px solid {color:Borders};
- }
- img {
- margin:0;
- opacity:1;
- border:0;
- text-decoration:none;
- max-width:100%;
- height:auto;
- display:block;
- }
- /* Image style */
- {block:IfFadedImages}
- img {
- -webkit-transition: opacity 0.8s linear;
- -moz-transition: opacity 0.8s linear;
- -o-transition: opacity 0.8s linear;
- -ms-transition: opacity 0.8s linear;
- opacity: 0.60;
- }
- img:hover {
- -webkit-transition: opacity 0.8s linear;
- -moz-transition: opacity 0.8s linear;
- -o-transition: opacity 0.8s linear;
- -ms-transition: opacity 0.8s linear;
- opacity: 1;
- }
- {/block:IfFadedImages}
- {block:IfMonochromeImages}
- img {
- -webkit-filter: grayscale(1);
- -webkit-transition: all 0.5s ease-in-out;
- -moz-transition: all 0.5s ease-in-out;
- -o-transition: all 0.5s ease-in-out;
- -ms-transition: all 0.5s ease-in-out;
- transition: all 0.5s ease-in-out;
- }
- img:hover {
- filter: none;
- -webkit-filter: grayscale(0);
- -webkit-transition: all 0.3s ease-in-out;
- -moz-transition: all 0.3s ease-in-out;
- -o-transition: all 0.3s ease-in-out;
- }
- {/block:IfMonochromeImages}
- /* Fix */
- iframe, img, embed, object, video {
- max-width: 100%;
- border: none;
- }
- input, textarea, select, a { outline: none; }
- /*-- CREDIT --*/
- #credit {
- position:fixed;
- top:10px;
- right:10px;
- width:25px;
- height:25px;
- z-index: 100000;
- }
- #credit img {
- border: 1px solid {color:Borders};
- }
- #credit img:hover {
- border: 1px solid {color:Hover};
- }
- /*-- MAIN LINKS --*/
- #main-links {
- position:fixed;
- top:20px;
- left:0px;
- width:100%;
- height:45px;
- text-align:center;
- z-index:1000;
- transition:0.6s ease;
- -o-transition:0.6s ease;
- -moz-transition:0.6s ease;
- -webkit-transition:0.6s ease;
- }
- #main-links a {
- display:inline-block;
- margin:0px 5px;
- width:100px;
- height:15px;
- line-height:15px;
- padding:5px;
- letter-spacing:1px;
- color:{color:Main link};
- -webkit-transition: all .3s ease;
- -moz-transition: all .3s ease;
- -o-transition: all .3s ease;
- transition: all .3s ease;
- }
- #main-links a:hover {
- color:{color:Hover};
- }
- .home {
- border-bottom:2px solid {color:Link one border};
- }
- .ask {
- border-bottom:2px solid {color:Link two border};
- }
- .submit {
- border-bottom:2px solid {color:Link three border};
- }
- .archive {
- border-bottom:2px solid {color:Link four border};
- }
- .home:hover, .ask:hover, .submit:hover, .archive:hover, .random:hover {
- border-bottom:2px solid {color:Hover};
- }
- /*------------------------------- CONTAINER -----------------------------*/
- #container {
- position:absolute;
- left:50%;
- top:0;
- margin-bottom:0;
- padding:10px;
- width:calc(20vw + {select:Post width}px + 85px);
- min-height:100vh;
- background:rgba({select:Container background}, {select:Container transparency});
- background-image:url({image:Container background});
- z-index:10!important;
- -webkit-transform:translateX(-50%);
- -moz-transform:translateX(-50%);
- -ms-transform:translateX(-50%);
- -o-transform:translateX(-50%);
- transform:translateX(-50%);
- {block:ifShowUpdatesTab}
- width:calc(35vw + {select:Post width}px + 145px);
- {/block:ifShowUpdatesTab}
- }
- /* -------- SIDEBAR ------- */
- #sidebar {
- position:fixed;
- margin-top:120px;
- margin-left:calc((100vw - (20vw + {select:Post width}px + 150px)) / 2);
- width:20vw;
- height:auto;
- overflow:hidden;
- z-index:100;
- {block:ifShowUpdatesTab}
- margin-left:calc((100vw - (35vw + {select:Post width}px + 150px)) / 2);
- {/block:ifShowUpdatesTab}
- transition:0.6s ease;
- -o-transition:0.6s ease;
- -moz-transition:0.6s ease;
- -webkit-transition:0.6s ease;
- }
- /* Blog title*/
- #blog-title{
- margin-top:0px;
- margin-left:0px;
- width:calc(100% - 32px);
- padding:5px 15px;
- font-size:25px;
- letter-spacing:2px;
- line-height:30px;
- border-right:2px solid {color:Blog title border};
- text-align:right;
- font-family:{select:Title font};
- font-size:{select:Blog title font size};
- color:{color:Blog title};
- }
- /* Description */
- #description{
- margin-top:10px;
- margin-left:0px;
- width:calc(100% - 32px);
- padding:5px 15px;
- max-height:200px;
- overflow:hidden;
- overflow-y:auto!important;
- color:{color:Description};
- border-right:2px solid {color:Description border};
- text-align:right;
- letter-spacing:1px;
- }
- /* Navigation */
- #navigation{
- margin-top:10px;
- margin-left:0px;
- width:100%;
- padding:0px;
- }
- #navigation a{
- display:block;
- margin-top:10px;
- margin-left:0px;
- height:10px;
- line-height:10px;
- width:calc(100% - 32px);
- padding:10px 15px;
- text-align:right;
- letter-spacing:1px;
- color:{color:Navigation link};
- -webkit-transition: all .3s ease;
- -moz-transition: all .3s ease;
- -o-transition: all .3s ease;
- transition: all .3s ease;
- }
- #navigation a:hover{
- color:{color:Hover};
- }
- .one {
- border-right:2px solid {color:Link one border};
- }
- .two {
- border-right:2px solid {color:Link two border};
- }
- .three {
- border-right:2px solid {color:Link three border};
- }
- .four {
- border-right:2px solid {color:Link four border};
- }
- .five {
- border-right:2px solid {color:Link five border};
- }
- .one:hover, .two:hover, .three:hover, .four:hover, .five:hover {
- border-right:2px solid {color:Hover};
- }
- /* Search box */
- #search {
- margin-top:10px;
- margin-left:0px;
- width:calc(100% - 2px);
- height:35px;
- border-right:2px solid {color:Search box border};
- }
- /* Search icon */
- #search i {
- position:absolute;
- width:20px;
- margin-left:10px;
- margin-top:10px;
- z-index:1000;
- color:{color:Search box text};
- }
- /*-- UPDATES TAB --*/
- #updates-tab {
- position:fixed;
- margin-top:120px;
- right:calc((100vw - (35vw + {select:Post width}px + 115px)) / 2 );
- border-left:2px solid {color:Updates tab border};
- width:15vw;
- height:40px;
- overflow:hidden;
- z-index:10000;
- transition:0.6s ease;
- -o-transition:0.6s ease;
- -moz-transition:0.6s ease;
- -webkit-transition:0.6s ease;
- }
- #updates-tab:hover {
- height:auto;
- }
- .ut-title {
- margin-top:0px;
- margin-left:0px;
- width:calc(100% - 5px);
- height:30px;
- padding:5px 15px;
- padding-right:0;
- letter-spacing:2px;
- line-height:30px;
- text-align:left;
- font-family:{select:Title font};
- font-size:calc({select:Title font size} - 5px);
- color:{color:Updates tab title};
- }
- .ut-title img {
- float:right;
- margin-top:-5px;
- margin-right:10px;
- width:40px;
- height:40px;
- border:1px solid transparent;
- border-radius:100%;
- }
- .update {
- margin-bottom:10px;
- margin-left:17px;
- text-align:left;
- color:{color:Updates tab text};
- }
- .update h2 {
- font-family:{select:Title Font};
- color:{color:Updates tab title};
- margin-top:10px;
- margin-bottom:5px;
- margin-left:0px;
- padding:5px 0;
- font-size:15px;
- text-align:left;
- letter-spacing:1px;
- }
- /* ---------- POSTS AND ENTRIES ---------- */
- #posts {
- margin-top:0px;
- margin-left:calc(20vw + 41px);
- margin-right:auto;
- padding-top:70px;
- width:calc({select:Post width}px + 40px)!important;
- }
- .entry {
- display:inline-block;
- float:left;
- margin:18px;
- width:{select:Post width}px;
- height:auto;
- background:{color:Post background};
- {block:ifPostBackgroundTransparent}
- background:transparent;
- {/block:ifPostBackgroundTransparent}
- border:2px solid {color:Post border};
- border-radius:{text:Border radius};
- overflow: hidden;
- }
- .entry img { max-width: 100%; }
- .content{
- padding: 10px;
- }
- /*--------------------------- RESPONSIVE DESIGN ---------------------------*/
- @media only screen and (max-width: 900px) {
- #container {
- width:calc(100vw - 20px);
- }
- /* -------- MENU ------- */
- #menu {
- position:fixed;
- top:0px;
- left:0px;
- width:100%;
- min-width:414px;
- height:45px;
- line-height:25px;
- text-align:left;
- z-index:10000;
- }
- #menu-links {
- margin-top:10px;
- margin-left:15px;
- width:135px;
- height:25px;
- overflow:hidden;
- }
- .open-sidebar, .open-links, .open-updates {
- margin-top:3px;
- margin-right:15px;
- width:25px;
- height:25px;
- color:{color:Menu icon};
- font-size:18px;
- vertical-align:middle;
- text-align:center;
- cursor:pointer;
- display:none;
- }
- .open-updates {
- display:inline-block;
- }
- .open-sidebar:before {
- content:"\f038";
- font-family: FontAwesome;
- }
- .open-links:before {
- content:"\f039";
- font-family: FontAwesome;
- }
- .open-updates:before {
- content:"\f036";
- font-family: FontAwesome;
- }
- .close {
- margin-top:-1px;
- width:25px;
- height:25px;
- font-size:25px;
- vertical-align:middle;
- text-align:center;
- display:none;
- }
- .close:before {
- content:"\f00d";
- font-family: FontAwesome;
- }
- .open-sidebar:hover, .open-updates:hover, .open-links:hover, .close:hover {
- color:{color:Hover};
- }
- #updates-tab {
- position:fixed!important;
- margin-top:45px;
- left:0px;
- right:auto;
- width:230px;
- height:calc(100% - 55px);
- border:none;
- padding:10px;
- padding-top:20px;
- text-align:left;
- background:{color:Popup background};
- display:none;
- }
- #sidebar {
- width:25vw;
- }
- #main-links a {
- width:90px;
- }
- #updates-tab:hover {
- height:calc(100% - 55px);
- }
- .ut-title {
- border-left:2px solid {color:Updates tab border};
- width:calc(100% - 20px);
- }
- .update {
- margin-left:0px;
- padding-left:15px;
- border-left:2px solid {color:Updates tab border};
- }
- #posts {
- padding-top:100px;
- margin-left:calc(25vw + 60px);
- }
- }
- /* End media screen 900 */
- @media only screen and (max-width: 780px) {
- #container {
- margin:0;
- width:calc(100vw - 20px);
- min-height:100vh;
- }
- #menu {
- background:{color:Menu background};
- }
- .open-sidebar {
- display:inline-block;
- }
- .open-links {
- display:inline-block;
- }
- .close {
- display:inline-block;
- }
- #sidebar {
- position:fixed;
- margin-top:35px;
- left:0px;
- margin-left:0px;
- width:230px;
- height:100%;
- padding:10px;
- padding-top:20px;
- text-align:left;
- background:{color:Popup background};
- display:none;
- }
- #main-links {
- position:fixed!important;
- margin-top:25px;
- left:0px;
- width:230px;
- height:calc(100% - 45px);
- padding:10px;
- padding-top:20px;
- text-align:left;
- background:{color:Popup background};
- display:none;
- }
- #main-links a {
- display:block;
- margin:10px;
- width:200px;
- }
- #posts {
- margin-left:auto;
- margin-right:auto;
- width:100vw;
- min-width:414px;
- }
- }
- /* End media screen 780 */
- @media only screen and (max-width: 540px) {
- .entry {
- width:calc(100vw - 55px)!important;
- min-width:300px;
- }
- }
- /* End media screen 540 */
- /* Caption */
- .comment {
- padding:0px 10px;
- padding-top:5px;
- list-style:none;
- border-bottom:1px solid {color:Borders};
- }
- .comment:last-of-type {
- padding-bottom:0!important;
- border-bottom:1px solid transparent;
- }
- /* -------- POSTS STYLES ------- */
- /* Titles */
- .title {
- margin:10px;
- margin-top:0px;
- color:{color:Title};
- font-family:{select:Title Font};
- font-size:{select:Title font size};
- line-height: -moz-calc({select:Title font size} + 3px);
- line-height: -webkit-calc({select:Title font size} + 3px);
- line-height: -o-calc({select:Title font size} + 3px);
- line-height: calc({select:Title font size} + 3px);
- }
- .title a { color:{color:Title}; }
- .title a:hover { color:{color:Link}; }
- .tex li, .tex blockquote {
- text-align:left;
- }
- /* Photoset posts */
- .photo-slideshow {
- margin-top:5px;
- padding-top:5px;
- }
- /* Quote posts */
- .quote {
- margin: 10px;
- padding: 5px;
- font-family: {select:Title font};
- font-size: {select:Title font size};
- line-height: -moz-calc({select:Title font size} + 3px);
- line-height: -webkit-calc({select:Title font size} + 3px);
- line-height: -o-calc({select:Title font size} + 3px);
- line-height: calc({select:Title font size} + 3px);
- color: {color:Italic};
- text-align: left;
- letter-spacing: 2px;
- }
- .quote-source {
- font-size: 12px;
- line-height: 20px;
- }
- /* Link posts */
- .linkthumb img {
- width: 100%;
- }
- .linkp {
- background: {color:Link post background};
- {block:ifPostBackgroundTransparent}
- background:transparent;
- {/block:ifPostBackgroundTransparent}
- padding:10px;
- }
- .linkp i {
- color: {color:Title};
- }
- /* Chat posts */
- .line {
- margin: 5px 10px;
- line-height: 18px;
- }
- /* Ask Posts */
- .asker {
- margin: 5px;
- margin-top: 10px;
- width: -moz-calc(100% - 10px);
- width: -webkit-calc(100% - 10px);
- width: -o-calc(100% - 10px);
- width: calc(100% - 10px);
- height: auto;
- }
- .bubble {
- width: -moz-calc(100% - 70px);
- width: -webkit-calc(100% - 70px);
- width: -o-calc(100% - 70px);
- width: calc(100% - 70px);
- height: auto;
- min-height: 35px;
- padding: 10px;
- line-height: 20px;
- background: {color:Ask bubble};
- z-index: 10;
- }
- .triangle {
- position: absolute;
- margin-left: -moz-calc(100% - 90px);
- margin-left: -webkit-calc(100% - 90px);
- margin-left: -o-calc(100% - 90px);
- margin-left: calc(100% - 90px);
- width: 0;
- z-index:0;
- border-left: 8px solid {color:Ask bubble};
- border-bottom: 8px solid transparent;
- border-top: 8px solid transparent;
- }
- .asker img {
- float: right;
- margin-right: 0;
- max-width: 30px;
- border: 1.5px solid {color:Ask bubble};
- border-radius: 2px;
- z-index:1000;
- opacity:1;
- }
- .asker a {
- margin: 0;
- }
- .answer {
- margin: 10px;
- margin-bottom: 0;
- }
- /* ----------------------- POST INFO ----------------------------- */
- .topinfo {
- margin:0px;
- width: -moz-calc(100% - 30px);
- width: -webkit-calc(100% - 30px);
- width: -o-calc(100% - 30px);
- width: calc(100% - 30px);
- height: 10px;
- padding: 15px;
- line-height: 15px;
- background:{color:Post info background};
- }
- .topinfourl {
- margin:0;
- font-size: 12px;
- }
- /* Date */
- .topinfod {
- float: right;
- margin-top:-15px;
- font-size:12px;
- }
- /* Bottom info */
- .botinfo {
- width: -moz-calc(100% - 30px);
- width: -webkit-calc(100% - 30px);
- width: -o-calc(100% - 30px);
- width: calc(100% - 30px);
- height:auto;
- min-height: 50px;
- margin: 0px;
- padding: 15px;
- padding-top: 10px;
- padding-bottom: 10px;
- font-size: 12px;
- line-height: 25px;
- color: {color:Text};
- background:{color:Post info background};
- overflow:hidden;
- }
- .botinfo a {
- margin-right: 25px;
- color:{color:Post info};
- }
- .tags {
- font-size: 13px;
- {block:IndexPage}
- {block:ifNotShowTags}
- display: none;
- {/block:ifNotShowTags}
- {/block:IndexPage}
- }
- .tags a {
- margin-right: 5px;
- }
- .notec {
- float: left;
- }
- /* Butttons */
- .buttons {
- float:right;
- margin-top:0px;
- margin-right:-5px;
- width:77px;
- height:26px;
- line-height:26px;
- z-index:100;
- list-style:none;
- {block:ifDisqusShortname}
- width: 103px;
- {/block:ifDisqusShortname}
- {block:PermalinkPage}
- width:52px;
- {/block:PermalinkPage}
- }
- .buttons li {
- display:inline-block;
- margin:0;
- margin-left:2px;
- margin-right:0;
- width:20px;
- height:26px;
- padding:0px;
- text-align:center;
- }
- .perma i {
- font-size:13px;
- color:{color:Buttons};
- }
- .cmnt i {
- font-size:15px;
- color:{color:Buttons};
- }
- .reblog i {
- font-size:17px;
- color:{color:Buttons};
- }
- .like .like_button {
- position:absolute;
- width:100%;
- height:100%;
- }
- .like .like_button iframe {
- position:absolute;
- top:0;
- bottom:0;
- left:0;
- right:0;
- width:100%;
- height:100%;
- z-index:10;
- opacity:0.0000001;
- }
- .like i {
- font-size:15px;
- color:{color:Buttons};
- }
- .like .liked + i {
- font-size:14px;
- color:#D95E40;
- }
- /* Permalink pagination */
- .permapag {
- margin-top: 15px;
- margin-left: 0;
- }
- .permapag a {
- font-size:15px;
- margin:10px;
- margin-top: 20px;
- padding:5px;
- color:{color:Link};
- }
- /* Post notes */
- .open-pnotes {
- margin:10px;
- width:150px;
- color: {color:Text};
- text-align:left;
- cursor: pointer;
- padding: 5px 10px;
- border-bottom: 1.5px solid {color:Borders};
- font-size: 15px;
- }
- .open-pnotes:hover {
- color: {color:Hover};
- }
- #notes {
- margin: 10px;
- width: 500px;
- font-size: 13px;
- color: {color:Text};
- display:none;
- }
- ol.notes {
- padding: 0;
- margin: 5px 0;
- list-style-type: none;
- }
- ol.notes li.note {
- padding: 5px;
- }
- ol.notes li.note img.avatar {
- float:left;
- vertical-align: -5px;
- width: 15px;
- height: 15px;
- margin-left:10px;
- margin-right:10px;
- }
- li.more_notes_link_container {
- text-transform: uppercase;
- font-size: 13px;
- }
- /* Disqus box */
- #disqusbox {
- padding:15px;
- }
- /* ------------------- PAGINATION AND INFINITE SCROLL -------------------- */
- #pagcon {
- margin-top:10px;
- margin-left:auto;
- margin-right:auto;
- width:calc({select:Post width}px + 40px)!important;
- height:40px;
- text-align: center;
- z-index:100;
- }
- /* Pagination */
- #pagination {
- width:100%;
- height:40px;
- {block:ifInfiniteScroll}
- display: none;
- {/block:ifInfiniteScroll}
- }
- .previous, .next, .load-more, .jump_page, .current_page {
- display:inline-block;
- margin:5px;
- color:{color:Hover};
- vertical-align:middle;
- height:25px;
- line-height:25px;
- font-size:calc({select:Body font size} + 5px);
- text-align:center;
- }
- #pagination a {
- color:{color:Pagination};
- vertical-align:middle;
- height:25px;
- line-height:25px;
- }
- #pagination i {
- display:inline;
- color:{color:Pagination};
- }
- #pagination a:hover, #pagination a:hover i {
- color:{color:Hover};
- }
- /* INFINITE SCROLL */
- #infscr-loading {
- display:none!important;
- }
- #iscon{
- width: 100%;
- height: 35px;
- z-index: 10000;
- }
- {block:ifLoadMore}
- .load-more{
- width:400px;
- height:35px;
- font-size:{select:Body font size};
- }
- {/block:ifLoadMore}
- /* --------------------------- Custom CSS -------------------------- */
- {CustomCSS}
- </style>
- <meta charset="utf-8">
- <title>{Title}{block:TagPage} - {Tag} {/block:TagPage} {block:SearchPage} - {lang:Search results for SearchQuery}{/block:SearchPage}{block:PostSummary}- {PostSummary} {/block:PostSummary}</title>
- {block:Description}
- <meta name="description" content="{MetaDescription}" />
- {/block:Description}
- </head>
- <!------------------------------ HTML ------------------------------->
- <body>
- <div id="menu">
- <div id="menu-links">
- <div class="open-sidebar"></div>
- <div class="open-links"></div>
- <div class="open-updates"></div>
- </div>
- <!-- End menu-links -->
- </div>
- <!-- End menu -->
- {block:ifShowMainLinks}
- <div id="main-links">
- <a class="home" href="/"> Index </a>
- {block:ifAskEnabled}
- <a class="ask" href="/ask"> Ask </a>
- {/block:ifAskEnabled}
- {block:ifSubmissionsEnabled}
- <a class="submit" href="/submit"> Submit </a>
- {/block:ifSubmissionsEnabled}
- {block:ifShowArchiveLink}
- <a class="archive" href="/archive"> Archive </a>
- {/block:ifShowArchiveLink}
- </div>
- <!-- End main-links -->
- {/block:ifShowMainLinks}
- <div id="sidebar">
- <div id="blog-title">{Title}</div>
- {block:IfShowDescription}
- <div id="description">{Description}</div>
- {/block:IfShowDescription}
- <!--Navigation bar-->
- <div id="navigation">
- {block:IfShowLinkOne}
- <a class="one" href="{text:Link One url}">{text:Link One}</a>
- {/block:IfShowLinkOne}
- {block:IfShowLinkTwo}
- <a class="two" href="{text:Link Two url}">{text:Link Two}</a>
- {/block:IfShowLinkTwo}
- {block:IfShowLinkThree}
- <a class="three" href="{text:Link Three url}">{text:Link Three}</a>
- {/block:IfShowLinkThree}
- {block:IfShowLinkFour}
- <a class="four" href="{text:Link Four url}">{text:Link Four}</a>
- {/block:IfShowLinkFour}
- {block:IfShowLinkFive}
- <a class="five" href="{text:Link Five url}">{text:Link Five}</a>
- {/block:IfShowLinkFive}
- </div>
- <!-- End navigation -->
- {block:IfShowSearchBox}
- <div id="search">
- <form action="/search" method="get">
- <input type="text" name="q" value="Enter your search" style="float:left; margin-top:0px; margin-left:0px; width:calc(100% - 60px); text-align:right; height:30px; padding-left:10px; padding-right:10px; border:1px solid transparent; background:transparent; color:{color:Search box text}; font-size: 12px; letter-spacing:1px;"/></form><span><i class="fa fa-search"></i></span>
- </div>
- <!-- End search -->
- {/block:IfShowSearchBox}
- </div>
- <!-- End sidebar -->
- {block:ifShowUpdatesTab}
- <div id="updates-tab">
- <div class="ut-title"> Updates
- <img src="{image:Updates tab image}">
- </div>
- <!-- End ut-title -->
- <div class="update">
- <h2>{text:Updates tab title one}</h2>
- {text:Updates tab text one}
- <h2>{text:Updates tab title two}</h2>
- {text:Updates tab text two}
- <h2>{text:Updates tab title three}</h2>
- {text:Updates tab text three}
- </div>
- <!-- End update -->
- </div>
- <!-- End updates-tab -->
- {/block:ifShowUpdatesTab}
- <div id="container">
- <!-- Posts -->
- <section id="posts">
- {block:Posts}
- <article class="entry {block:Caption}captioned{/block:Caption}">
- {block:Date}
- <div class="topinfo">
- <div class="topinfourl">
- {block:RebloggedFrom}
- <a href="/"> {text:Blog alias}</a>
- <i class="fa fa-retweet" aria-hidden="true"></i>
- <a href="{ReblogParentURL}" target="_blank"> {ReblogParentName}</a>
- {/block:RebloggedFrom}
- {block:NotReblog}
- <a href="/">{text:Blog alias}</a>
- {/block:NotReblog}
- </div>
- <!-- End topinfourl-->
- <div class="topinfod"><a href="/day/{Year}/{MonthNumberWithZero}/{DayOfMonthWithZero}"> {ShortMonth} {DayOfMonthWithZero} </a></div>
- </div>
- <!-- End topinfo-->
- {/block:Date}
- <!-- Text post -->
- {block:Text}
- <div class="content">
- {block:Title}
- <div class="title">{Title}</div>{/block:Title}
- {block:RebloggedFrom}
- {block:Reblogs}
- <li class="comment {block:Title}{/block:Title}">
- <a {block:haspermalink}href="{permalink}"{/block:haspermalink} class="user" target="_blank">{username}</a>
- <div class="tex">{body}</div>
- </li>
- {/block:Reblogs}
- {/block:RebloggedFrom}
- {block:NotReblog}
- <li class="comment {block:Title}{/block:Title}">
- <div class="tex">{body}</div>
- </li>
- {/block:NotReblog}
- </div>
- <!-- End content -->
- {/block:Text}
- <!-- Photo post -->
- {block:Photo}
- {block:IndexPage}
- {LinkOpenTag}
- <img src="{photoURL-HighRes}" alt="{PhotoAlt}" width="{select:Post width}px"/></a>
- {LinkCloseTag}
- {/block:IndexPage}
- {block:PermalinkPage}
- {LinkOpenTag}
- <img src="{photoURL-HighRes}" alt="{PhotoAlt}" width="{select:Post width}px"/></a>
- {LinkCloseTag}
- {/block:PermalinkPage}
- {/block:Photo}
- <!-- Panorama post -->
- {block:Panorama}
- {LinkOpenTag}
- <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
- {LinkCloseTag}
- {/block:Panorama}
- <!-- Photoset post -->
- {block:Photoset}
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}"></div><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div>{/block:Photos}</div>
- {/block:Photoset}
- <!-- Quote post -->
- {block:Quote}
- <div class="content">
- <div class="quote">
- "{Quote}"
- </div>
- <!-- End quote-->
- <div class="source">
- — {Source}
- </div>
- <!-- End source-->
- </div>
- <!-- End content -->
- {/block:Quote}
- <!-- Link post -->
- {block:Link}
- {block:Thumbnail}
- <div class="linkthumb">
- <img src="{Thumbnail}" alt="{Name}">
- </div>
- <!-- End linkthumb-->
- {/block:Thumbnail}
- <div class="linkp">
- <a href="{URL}"><h3>{Name} <i class="fa fa-angle-right" aria-hidden="true"></i></h3></a>
- {block:Description}
- {Description}
- {/block:Description}
- </div>
- <!-- End linkp-->
- {/block:Link}
- <!-- Chat post -->
- {block:Chat}
- <div class="content">
- {block:Title}<h1>{Title}</h1>{/block:Title}
- {block:Lines}
- <div class="line">
- {block:Label}<b>{Label}</b>{/block:Label} {Line}
- </div>
- <!-- End line-->
- {/block:Lines}
- </div>
- <!-- End content -->
- {/block:Chat}
- <!-- Audio post -->
- {block:Audio}
- <div style="height: 85px">{AudioEmbed-640}</div>
- {/block:Audio}
- <!-- Video post -->
- {block:Video}
- {Video-500}
- {/block:Video}
- <!-- Ask post -->
- {block:Answer}
- <div class="content">
- <div class="asker">
- <img src="{AskerPortraitURL-48}">
- <div class="bubble">
- <div class="triangle"></div>
- {Asker}
- <br> {Question}
- </div>
- <!-- End bubble-->
- </div>
- <!-- End asker -->
- <div class="answer">
- {Answer}
- </div>
- <!-- End answer -->
- </div>
- <!-- End content -->
- {/block:Answer}
- <!-- Caption -->
- {block:Caption}
- {block:Reblogs}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} } class="user" target="_blank">{Username}</a>
- <div class="tex">{Body}</div>
- </li>
- {/block:Reblogs}
- {block:NotReblog}
- <li class="comment">
- <a {block:HasPermalink}href="{Permalink}"{/block:HasPermalink} class="user" target="_blank">{Name}</a>
- <div class="tex">{caption}</div>
- </li>
- {/block:NotReblog}
- {/block:Caption}
- {block:Date}
- <div class="botinfo">
- {block:RebloggedFrom}
- {block:ContentSource}
- Source: <a href="{ReblogRootURL}" target="_blank"> {ReblogRootName}</a><br>
- {/block:ContentSource}
- {/block:RebloggedFrom}
- {block:HasTags}
- <div class="tags">
- {block:Tags}
- <a href="{TagURL}">
- #{Tag}</a>
- {/block:Tags}<br>
- </div>
- {/block:HasTags}
- {block:NoteCount}
- <a href="{Permalink}"> {NoteCountWithLabel}</a>
- {/block:NoteCount}
- <div class="buttons">
- {block:IndexPage}
- <li class="perma"><a href="{Permalink}"><i class="fa fa-paper-plane" aria-hidden="true"></i></a></li>
- {block:ifDisqusShortname}
- <li class="cmnt"><a href="{Permalink}#disqus_thread"><i class="fa fa-comment" aria-hidden="true"></i></a></li>
- {/block:ifDisqusShortname}
- {/block:IndexPage}
- <li class="reblog"><a href="{ReblogURL}"><i class="fa fa-retweet" aria-hidden="true"></i></a></li>
- <li class="like">{LikeButton}<i class="fa fa-heart" aria-hidden="true"></i></a>
- </div>
- <!-- End buttons -->
- </div>
- <!-- End botinfo-->
- <!--Permalink page-->
- {block:PermalinkPage}
- {block:PostNotes}
- <div class="open-pnotes"> Show/hide post notes </div>
- <div id="notes">
- {PostNotes}
- </div>
- <!-- End notes-->
- {/block:PostNotes}
- {block:PermalinkPagination}
- <div class="permapag">
- <center>
- {block:PreviousPost}
- <a href="{PreviousPost}"><i class="fa fa-caret-left" aria-hidden="true"></i> Prev post</a>
- {/block:PreviousPost}
- {block:NextPost}
- <a href="{NextPost}"> Next post <i class="fa fa-caret-right" aria-hidden="true"></i></a>
- {/block:NextPost}
- </center>
- </div><br>
- {/block:PermalinkPagination}
- {block:ifDisqusShortname}
- <div id="disqusbox">
- <div id="disqus_thread"></div>
- <script type="text/javascript">
- /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
- var disqus_shortname = '{text:Disqus Shortname}'; // Required - Enter shortname in Tumblr Theme Options
- var disqus_url = '{Permalink}';
- /* * * DON'T EDIT BELOW THIS LINE * * */
- (function() {
- var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
- dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
- (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
- })();
- </script>
- <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
- <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
- </div>
- <!-- End disqus box-->
- {/block:ifDisqusShortname}
- {/block:PermalinkPage}
- {/block:Date}
- <!-- No via and source in captions -->
- {block:ContentSource}
- <!-- {SourceURL}
- {block:SourceLogo}
- <img src="{BlackLogoURL}"
- width="{LogoWidth}"
- height="{LogoHeight}"
- alt="{SourceTitle}" />
- {/block:SourceLogo}
- {block:NoSourceLogo}
- {SourceLink}
- {/block:NoSourceLogo} -->
- {/block:ContentSource}
- </article>
- {/block:Posts}
- </section>
- {block:Pagination}
- <div id="pagcon">
- <div id="pagination">
- {block:PreviousPage}
- <a class="previous" href="{PreviousPage}"><i class="fa fa-caret-left" aria-hidden="true"></i> </a>
- {/block:PreviousPage}
- {block:JumpPagination length="5"}
- {block:CurrentPage}<span class="current_page">{CurrentPage}</span>{/block:CurrentPage}
- {block:JumpPage}<a class="jump_page" href="{URL}">{PageNumber}</a>{/block:JumpPage}{/block:JumpPagination}
- {block:NextPage}
- <a class="next" href="{NextPage}"> <i class="fa fa-caret-right" aria-hidden="true"></i></a>
- {/block:NextPage}
- </div>
- <!--End pagination-->
- <div id="iscon">
- {block:ifLoadMore}
- <a href="#" class="load-more"> LOAD MORE <i class="fa fa-caret-down" aria-hidden="true"></i></a>
- {/block:ifLoadMore}
- </div>
- </div>
- <!--End pagcon-->
- {/block:Pagination}
- </div>
- <!-- End container -->
- <!-------------------------------- SCRIPTS -------------------------------->
- <!--Google fonts -->
- <link href="https://fonts.googleapis.com/css?family=Old+Standard+TT|Cinzel|Lato|Merienda+One|Great+Vibes" rel="stylesheet">
- <!-- Font awesome -->
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
- <link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
- <script>
- $(document).ready(function(){
- $(".open-pnotes").click(function(){
- $("#notes").toggle(500);
- });
- $(".open-sidebar").click(function(){
- $(".open-sidebar").toggleClass( "close" );
- $("#sidebar").fadeToggle(100);
- });
- $(".open-links").click(function(){
- $(".open-links").toggleClass( "close" );
- $("#main-links").fadeToggle(100);
- });
- $(".open-updates").click(function(){
- $(".open-updates").toggleClass( "close" );
- $("#updates-tab").fadeToggle(100);
- });
- });
- </script>
- <!-- PXU photoset & responsive photosets -->
- <link href="//static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="//static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <link href="//static.tumblr.com/wupwnyt/qWVoc4phj/resizing.css" rel="stylesheet" type="text/css"/>
- {block:IndexPage}
- <script src="https://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
- {block:ifInfiniteScroll}<script src="//static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
- {/block:ifInfiniteScroll}
- {/block:IndexPage}
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- {block:IndexPage}
- var $container = $('section');
- $container.masonry({ itemSelector: 'article' });
- $container.imagesLoaded(function(){
- $container.masonry();
- $container.find('article').animate({ opacity: 1, zIndex: 1 });
- });
- {block:ifInfiniteScroll}
- $container.infinitescroll({
- itemSelector: 'article',
- navSelector: '.pagination',
- nextSelector: '.next',
- loadingImg: '',
- loadingText: '<em></em>',
- bufferPx: 2000
- },
- function( newElements ) {
- var $newElems = $( newElements );
- $newElems.find('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '1px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- },
- function(){
- $container.masonry();
- });
- $newElems.imagesLoaded(function(){
- $container.masonry( 'appended', $newElems );
- $newElems.animate({ opacity: 1, zIndex: 1 });
- });
- });
- {/block:ifInfiniteScroll}
- $container.infinitescroll({
- itemSelector: "article",
- navSelector: "#pagination",
- nextSelector: ".next",
- loadingImg: "",
- loadingText: "<em></em>",
- bufferPx: 10000,
- extraScrollPx: 12000,
- errorCallback: function() {
- $('.load-more').fadeOut();
- }
- }, function(newElements) {
- var $newElems = $(newElements).css({
- opacity: 0
- });
- $newElems.imagesLoaded(function() {
- $newElems.animate({
- opacity: 1
- });
- $container.masonry('appended', $newElems,
- true);
- });
- });
- {block:ifLoadMore}
- $(window).unbind('.infscr');
- $('.load-more').click(function() {
- $container.infinitescroll('retrieve');
- return false
- });
- {/block:ifLoadMore}
- {/block:IndexPage}
- });
- </script>
- <!-- CREDIT (do not remove) -->
- <div id="credit"><a href="http://borntobewildcodes.tumblr.com" title="theme HEAVEN & HELL by @borntobewildcodes"><img src="https://i.imgur.com/YsnOAtA.png"></a></div>
- </body>
- </html>
Add Comment
Please, Sign In to add comment