Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- - theme #5 'sleepwalking' by sur southcodes.tumblr.com
- - modify as you please but please do not touch the credit
- - any errors? need help? have questions? let me know!
- southcodes.tumblr.com/ask
- - like button by @shythemes
- - k+ notes script by Qshythemes http://shythemes.tumblr.com/post/156021137818/hello-i-was-wondering-if-you-knew-how-to-shorten
- - pxu photosets by pixel union https://github.com/PixelUnion/Extended-Tumblr-Photoset
- tutorial by @shythemes http://shythemes.tumblr.com/post/113728114758/tutorial-pixel-union-photosets
- - un-nest tumblr captions plugin 2016 @magnusthemes & @neothm
- -->
- <!DOCTYPE html>
- <html>
- <head>
- <title>{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="viewport" content="width=device-width">
- <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600|Montserrat:500" rel="stylesheet">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
- <script src="//static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <meta name="image:header" content=""/>
- <meta name="image:sidebar" content=""/>
- <meta name="if:400 posts" content="0"/>
- <meta name="if:HeaderImage" content="1"/>
- <meta name="if:PostShadow" content="1">
- <meta name="color:background" content="#fafafa"/>
- <meta name="color:text" content="#333333"/>
- <meta name="color:links" content="#cd5c5c"/>
- <meta name="color:links hover" content="#ff0000"/>
- <meta name="color:post background" content="#ffffff"/>
- <meta name="color:header color" content="#faf0e6"/>
- <meta name="color:borders" content="#faf0e6"/>
- <meta name="color:shadows" content="#cccccc"/>
- <meta name="text:Link 1" content="index" />
- <meta name="text:Link 1 URL" content="/" />
- <meta name="text:Link 2" content="mail" />
- <meta name="text:Link 2 URL" content="/ask" />
- <meta name="text:Link 3" content="" />
- <meta name="text:Link 3 URL" content="" />
- <meta name="text:Link 4" content="" />
- <meta name="text:Link 4 URL" content="" />
- <meta name="text:Link 5" content="" />
- <meta name="text:Link 5 URL" content="" />
- <style type="text/css">
- .tmblr-iframe {margin:.7em;opacity:.4;}
- .tmblr-iframe:hover {margin:.7em;opacity:.6;}
- ::-webkit-scrollbar-thumb:vertical {
- background-color: {color:links};
- border-right:4px solid {color:background};
- border-top:5px solid {color:background};
- border-bottom:5px solid {color:background};}
- ::-webkit-scrollbar {
- background-color: #ccc;
- width:5px;
- height:0;
- border-right:4px solid {color:background};
- border-top:5px solid {color:background};
- border-bottom:5px solid {color:background};}
- pre{
- font-family:consolas;
- white-space: pre-wrap; /* css-3 */
- white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
- white-space: -pre-wrap; /* Opera 4- */
- white-space: -o-pre-wrap; /* Opera 7 */
- word-wrap: break-word; /* Internet Explorer 5.5+ */}
- body, figure{margin: 0;padding: 0}
- body {font: 14px 'Open Sans', sans-serif;color:{color:text};background:{color:background};padding-top:6em;}
- a {text-decoration: none;color:{color:links};word-break:break-word;}
- a:hover {color:{color:links hover};}
- img {display:block;margin:0;height:auto;}
- h2 {margin:.4em 0;}
- p {margin:.8em 0;}
- hr {border:0;border-top:1px solid #aaa;margin:.2em 0;}
- main,.posts,header,#himg {
- {block:IfNot400Posts}
- width:518px;
- {/block:IfNot400Posts}
- {block:If400Posts}
- width:418px;
- {/block:If400Posts}
- box-sizing:border-box;}
- .posttitle {margin:.2em}
- {block:AskPage}
- .posttitle {margin:.3em .8em .8em;line-height:130%;font-size:1.4em;text-align:center;color:{color:links};}
- {/block:AskPage}
- /* header */
- header {
- {block:IfPostShadow}
- box-shadow: 1px 1px 2px {color:shadows};
- {/block:IfPostShadow}
- margin:0 auto;display:block;}
- #header {background: {color:header color};font-size: .95em;padding:1.5em;}
- #himg {display:block;margin:0;}
- #simg {
- width:5.3em;
- height:5.3em;
- border-radius: 100%;
- display: inline-block;
- vertical-align: middle;
- margin-right:1em;}
- #sinside {display: inline-block;vertical-align: middle;max-width:calc(100% - 6.6em);}
- #btitle {
- font-size: 1.18em;
- letter-spacing: .04em;
- font-weight: 500;
- font-family: 'Montserrat',sans-serif;}
- #name {font-size: .9em;}
- #desc {letter-spacing: .02em;font-style: italic;margin-top:.57em;font-size: .96em;}
- /* nav */
- nav {margin-top:1.8em; font-size: 1.01em;letter-spacing: .03em;font-weight: 600;line-height:1.7em;}
- nav li a{margin: 0 .8em;}
- nav ul,nav li {margin:0;padding:0;list-style-type: none;display: inline-block;}
- nav li::first-letter{text-transform: uppercase;}
- /* main */
- main {font-size:.95em;margin:0 auto 2em;}
- .posts {
- border-radius:.1em;
- margin:14em auto 0;background:{color:post background};
- border: .3em solid {color:borders};
- border-bottom: .6em solid {color:borders};
- {block:IfPostShadow}
- box-shadow: 1px 1px 2px {color:shadows};
- {/block:IfPostShadow}}
- .postc {padding: .4em;}
- .photo {display:block;margin:0;width:100%;}
- /* posts */
- /* asks */
- .asker {text-align:right;margin-bottom:.5em;font-weight:600;}
- /* quotes */
- .quote {
- font-size:1.1em;
- margin:.3em;
- }
- .qsrc {
- font-size:.9em;
- font-style:italic;
- text-align:right;
- margin:.7em .3em .3em;
- }
- /* links */
- .linkp {
- background:{color:borders};
- padding:.5em;
- margin:.2em;
- display:block;
- font-size:1.2em;
- font-weight:600;}
- /* chat */
- .line_even,.line_odd {line-height:1.5em;padding:.3em;}
- .label_odd {color:{color:links};font-weight:600;}
- .label_even{font-weight:600;margin-left:.5em;}
- /* captions */
- .caption{padding:0em .8em 0em;}
- .tumblr_blog {font-weight:600;margin:.8em 0 0;display:block;}
- .tumblr_parent {margin:0;padding:0;}
- .caption blockquote {border:none; padding:0;margin:0;}
- .caption blockquote blockquote{border-left:1px solid #ddd;padding-left:.5em;}
- .caption img {max-width:100%;height:auto;}
- .caption li,.caption ol,.caption ul {max-width:90%}
- /* extras */
- date {display:block;
- text-transform:lowercase;
- background:{color:borders};
- padding:.15em .6em .5em;
- text-align:right;
- font-size:.92em;}
- .pnotes {font-size:.92em;float:left;vertical-align:bottom;}
- .rl {text-align:right;padding:.35em;background:{color:borders};}
- .rbg {font-size:.7em;
- text-transform: uppercase;
- letter-spacing:.04em;}
- svg {width:10px;height:auto;opacity:.5;display:block;overflow:visible;}
- .controls {display:inline-block;margin:0em .2em 0 .5em;line-height:3em;}
- .controls .like .liked + svg {opacity:1;}
- .controls .like .liked + svg path {fill:#ec5a5a;}
- .controls .like .like_button {position:relative;}
- .controls .like .like_button iframe {position:absolute;top:0;left:0;bottom:0;right:0;z-index:2;opacity:0;}
- .tags {
- background:{color:borders};
- padding: .6em 1em .4em;
- font-size:.85em;
- line-height:160%;}
- .tags a{margin-right:1.3em;}
- .via {
- background:{color:borders};
- text-align:right;
- padding:.6em;
- line-height:2em;
- font-size:.9em;}
- .notes {
- font-size:1em;
- line-height:2em;
- margin:6em auto;
- box-sizing:border-box;}
- .notes ol{max-height:30em;overflow:auto;padding:.2px;}
- .notes a{font-weight:600;}
- .notes img{display:none;}
- .notes li, .notes ol {
- margin:0;
- padding:0;
- list-style-type:none;}
- .notes blockquote {margin:0;padding:0;}
- .jump_page,.jump_page2 {
- display:block;
- margin:5em 0 4em;}
- .jump_page {float:left;}
- .jump_page2 {float:right;}
- .ttop {
- margin-top:4em;
- font-size:.8em;
- text-align:center;
- clear:both;}
- {CustomCSS}
- </style>
- </head>
- <body id="top">
- <header>
- {block:IfHeaderImage}
- <a href="/"><img id="himg" src="{image:header}"/></a>
- {/block:IfHeaderImage}
- <div id="header">
- <a href="/"><img id="simg" src="{image:sidebar}"/></a>
- <div id="sinside">
- <div id="btitle">{Title}</div>
- <div id="name"><a href="/">@{name}</a></div>
- <div id="desc">{Description}</div>
- </div>
- <nav>
- <ul>
- {block:iflink1}<li><a href="{text:Link 1 URL}">{text:Link 1}</a></li>{/block:iflink1}
- {block:iflink2}<li><a href="{text:Link 2 URL}">{text:Link 2}</a></li>{/block:iflink2}
- {block:iflink3}<li><a href="{text:Link 3 URL}">{text:Link 3}</a></li>{/block:iflink3}
- {block:iflink4}<li><a href="{text:Link 4 URL}">{text:Link 4}</a></li>{/block:iflink4}
- {block:iflink5}<li><a href="{text:Link 5 URL}">{text:Link 5}</a></li>{/block:iflink5}
- </ul>
- </nav>
- </div><!-- header -->
- </header>
- <main>
- {block:Posts}
- <article class="posts" id="{PostID}">
- {block:Date}
- <date>
- {block:NoteCount}<a class="pnotes" href="{Permalink}">{NoteCount}</a>{/block:NoteCount}
- <a href="{Permalink}" title="{ShortMonth} {DayOfMonthWithSuffix}">{ShortDayOfWeek}</a>
- </date>{/block:Date}
- <div class="postc">
- {block:Text}
- {block:Title}<h2 class="posttitle">{Title}</h2>{/block:Title}
- {block:Body}<div class="caption">{Body}</div>{/block:Body}
- {/block:Text}
- {block:Answer}<div style="margin:.8em .8em .1em;padding:.7em;border-radius:.3em;background:{color:borders}">
- <div class="asker">{Asker} typed...</div>
- <div class="question">{Question}</div></div>
- <div class="answer caption">{Answer}</div>
- {/block:Answer}
- {block:Quote}
- <div class="quote">{Quote}</div>
- {block:Source}<div class="qsrc">{Source}</div>{/block:Source}
- {/block:Quote}
- {block:Link}
- <a class="linkp" href="{URL}">{Name}</a>
- {block:Description}<div class="caption">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h2 class="posttitle">{Title}</h2>{/block:Title}
- {block:Lines}{block:Label}
- <div class="line_{alt}"><span class="label_{alt}">{Label}</span>{/block:Label} {Line}</div>
- {/block:Lines}
- {/block:Chat}
- {block:Photo}
- <img class="photo" src="{PhotoURL-500}" alt="{PhotoAlt}"/>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Photo}
- {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:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Photoset}
- {block:Audio}{block:AudioPlayer}<div style="padding:.7em .7em .4em"><div style="position:absolute;max-width:32px;overflow:hidden;margin:14px 0 0 12px;opacity:.7">{AudioPlayerBlack}</div>{/block:AudioPlayer}{block:AlbumArt}<img src="{AlbumArtURL}" style="width:55px; height:55px;vertical-align:middle;display:inline-block;"/>{/block:AlbumArt}<div style="display:inline-block;vertical-align:middle;margin-left:1em;width:80%;">{block:TrackName}{TrackName} {/block:TrackName}{block:Artist}by {Artist}{/block:Artist}{block:Album}<br>{Album}{/block:Album}
- {block:Playcount}<br>{PlayCountWithLabel}{/block:Playcount}</div></div>{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:Audio}
- {block:Video}
- {block:If400Posts}
- {Video-400}
- {/block:If400Posts}
- {block:IfNot400Posts}
- {Video-500}
- {/block:IfNot400Posts}
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Video}
- </div>
- {block:IndexPage}
- {block:Date}
- <div class="rl">
- <span class="rbg"><a href="{ReblogURL}" title="reblog" target="_blank">reblog</a></span>
- <div class="controls"><a class="like">{LikeButton}<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Capa_1" x="0px" y="0px" viewbox="0 0 442.403 442.403" style="enable-background:new 0 0 442.403 442.403;" xml:space="preserve"><g><g><path d="M213.05,422.652c2.833,1.7,5.95,2.833,9.35,2.833c3.117,0,6.517-0.85,9.35-2.833c7.65-5.1,187.283-123.533,207.683-243.95 c10.483-62.333-8.783-100.867-26.633-122.117c-20.967-24.933-52.133-39.667-83.017-39.667c-10.2,0-20.117,1.7-28.9,5.1 c-43.067,16.15-72.25,44.767-88.117,64.317c-15.583-19.267-42.217-47.033-74.517-58.083c-9.917-3.4-20.683-5.1-32.017-5.1 c-28.9,0-56.383,11.9-75.367,32.867c-16.717,18.417-35.7,53.55-29.75,114.75C13.016,291.185,204.833,417.268,213.05,422.652z M56.083,78.685c17.283-18.983,38.817-21.817,50.15-21.817c7.367,0,14.45,1.133,20.967,3.4 c39.383,13.317,70.833,63.467,71.4,63.75c3.117,5.1,8.783,8.217,14.733,7.933c5.95,0,11.333-3.4,14.45-8.5 c0.283-0.567,28.617-48.733,85.283-69.983c4.817-1.7,10.767-2.833,16.717-2.833c20.967,0,42.217,10.483,56.95,27.767 c19.267,22.667,25.783,55.533,18.983,94.633c-7.367,43.067-42.5,94.633-101.717,149.317c-33.433,30.883-66.3,54.683-81.6,65.45 c-16.15-11.05-51-36.55-86.417-68.85C74.216,262.285,39.366,209.868,35.116,167.368C31.433,128.552,38.516,97.952,56.083,78.685z"/></g></g></svg></a></div>
- </div>{/block:Date}
- {/block:IndexPage}
- {block:HasTags}<div class="tags">{block:Tags}
- <a href="{TagURL}">#{Tag} </a>
- {/block:Tags}</div>{/block:HasTags}
- {block:PermalinkPage}
- {block:RebloggedFrom}<div class="via">
- via <a href="{ReblogParentURL}" title="{ReblogParentTitle}">{ReblogParentName}</a><br>
- src <a href="{ReblogRootURL}" title="{ReblogRootTitle}">{ReblogRootName}</a>
- </div>{/block:RebloggedFrom}
- {/block:PermalinkPage}
- {block:ContentSource}<!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"width="{LogoWidth}"height="{LogoHeight}" alt="{SourceTitle}" />{/block:SourceLogo}{block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->{/block:ContentSource}<!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
- </article> <!--posts-->
- {block:PostNotes}
- <div class="notes">{PostNotes}</div>
- {/block:PostNotes}
- {/block:Posts}
- {block:Pagination}<div class="pagi">
- {block:PreviousPage}<a href="{PreviousPage}" class="jump_page">back</a>{/block:PreviousPage}
- {block:NextPage}<a href="{NextPage}" class="jump_page2">next</a>{/block:NextPage}</div>
- {/block:Pagination}
- {block:IndexPage}<div class="ttop"><a href="#top">go to top</a></div>{/block:IndexPage}
- </main>
- <a style="position:fixed;bottom:1.3rem;right:1.3rem;font-family:calibri;font-size:1rem;line-height:14px;height:14px;padding:.3rem;color:#555;text-align:center;letter-spacing:.7px" href="https://southcodes.tumblr.com" target="_blank" title="southcodes">sc</a>
- <!-- scripts -->
- <script type="text/javascript">
- var $container = $('.posts');
- $container.find('.pnotes').each(function(){
- var n = $(this).html().split(' ')[0].replace(/,/g, '');
- if (n > 999) {
- n = Math.floor(n / 100) / 10;
- $(this).text(n + 'K');
- }
- });
- </script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '2px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- <script>
- $(document).ready(function(){
- $('.posts').unnest({
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: true,
- originalPostCaptionUsername: false,
- tumblrAvatars: false,
- usernameColon: false
- });
- });
- </script>
- <script type="text/javascript">
- $('a').click(function(){
- $('html, body').animate({
- scrollTop: $( $(this).attr('href') ).offset().top
- }, 450);
- return false;
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement