Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!--
- Paleta by @Laighlin
- 1. leave the credit intact
- 2. don't redistribute or lift large chunks of code
- 3. send me a message if you need any help, with an example
- of your problem if possible
- 4. check my faq if you have questions about adding custom
- links!
- -->
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
- <meta name="image:Favicon" content=""/>
- <meta name="image:Sidebar" content=""/>
- <meta name="if:Custom favicon" content="0"/>
- <meta name="if:Shadows" content="1"/>
- <meta name="color:Swatch links" content="#fff"/>
- <meta name="color:Swatch 1" content="#b81438"/>
- <meta name="color:Swatch 2" content="#252525"/>
- <meta name="color:Swatch 3" content="#313131"/>
- <meta name="color:Swatch 4" content="#4f4f4f"/>
- <meta name="color:Swatch 5" content="#737373"/>
- <meta name="color:Swatch 6" content="#a7a7a7"/>
- <meta name="color:Background" content="#ddd"/>
- <meta name="color:Sidebar background" content="#ddd"/>
- <meta name="color:Post background" content="#fff"/>
- <meta name="color:Odd text background" content="#dadada"/>
- <meta name="color:Even text background" content="#eaeaea"/>
- <meta name="color:Text highlight" content="#fff"/>
- <meta name="color:Text highlight bg" content="#a52751"/>
- <meta name="color:Shadows" content="#555"/>
- <meta name="color:Text" content="#444"/>
- <meta name="color:Bold" content="#330f16"/>
- <meta name="color:Italic" content="#b3244e"/>
- <meta name="color:Link" content="#815360"/>
- <meta name="color:Tags" content="#aa3c4d"/>
- <meta name="color:Tags hover" content="#942140"/>
- <meta name="select:Sidebar BG size" title="cover" content="no-repeat;background-size:cover"/>
- <meta name="select:Sidebar BG size" title="tiled" content="repeat"/>
- <!-- text fields -->
- <meta name="text:Subtitle" content=""/>
- <meta name="text:Post width" content="450px"/>
- <meta name="text:Accent font" content="Raleway"/>
- <meta name="text:Body font" content="Karla"/>
- <meta name="text:Body font size" content="13px"/>
- <meta name="text:Desc font size" content="13px"/>
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <head><title>{Title}{block:PostSummary} — {PostSummary}{/block:PostSummary}{block:SearchPage} — {lang:Search results for SearchQuery}{/block:SearchPage}</title>
- {block:ifCustomFavicon}
- <link rel="shortcut icon" href="{image:favicon}"/>
- {/block:ifCustomFavicon}
- {block:ifNotCustomFavicon}
- <link rel="shortcut icon" href="{Favicon}"/>
- {/block:ifNotCustomFavicon}
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- {block:Description}<meta name="description" content="{MetaDescription}"/>{/block:Description}
- <link href="https://fonts.googleapis.com/css?family={text:Body font}:400,400i,700,700i|{text:Accent font}:400,400i,700,700i|Share:400i" rel="stylesheet">
- <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
- <script src="https://static.tumblr.com/pqsvrdz/rKBmvnjxz/jquery.fitvids.js"></script>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://static.tumblr.com/yxfeliq/hHwojmt8m/bctphotoset.min.js"></script>
- <link href="#s-m-t-tooltip" rel="stylesheet" type="text/css"/>
- <script type="text/javascript" src="https://static.tumblr.com/7qjmkr5/IUmmdsy41/jquery.style-my-tooltips.js"></script>
- <style type="text/css">
- body, html {
- margin:0;
- padding:0;
- }
- ::selection {
- background:rgba({RGBcolor:text highlight bg},.7);
- color:{color:text highlight};
- }
- ::moz-selection {
- background:rgba({RGBcolor:text highlight bg},.7);
- color:{color:text highlight};
- }
- * { transition:.2s all ease; }
- #s-m-t-tooltip {
- margin:0 16px;
- z-index:999999999;
- padding:5px 7px;
- background:{color:swatch 4};
- pointer-events:none;
- white-space:pre;
- font:italic .9em '{text:accent font}';
- box-shadow:3px 3px 5px rgba({RGBcolor:shadows},.4);
- transition:none;
- }
- a {
- color:{color:link};
- text-decoration:none;
- }
- .post ol {
- list-style-type:decimal-leading-zero;
- padding-left:40px;
- }
- .post ul {
- list-style-type:none;
- padding-left:35px;
- }
- .post ul li { position:relative; }
- .post ul li:before {
- content:'\2014';
- color:rgba({RGBcolor:swatch 1},.7);
- position:absolute;
- left:-25px;
- top:1px;
- font-size:.9em;
- }
- small { font-size:calc({text:body font size} - 1px); }
- h1, h2 {
- margin:0;
- font-weight:inherit;
- }
- b, strong { color:{color:bold}; }
- i, em { color:{color:italic}; }
- p:first-child { margin-top:0; }
- p:last-child { margin-bottom:0; }
- blockquote, blockquote blockquote {
- margin:1em 0 1em 6px;
- padding-left:10px;
- border-left:2px solid rgba({RGBcolor:swatch 4},.6);
- }
- blockquote:last-child { margin-bottom:2px; }
- .tmblr-iframe {
- }
- body {
- color:{color:text};
- font-family:'{text:body font}',sans-serif;
- font-size:{text:body font size};
- word-wrap:break-word;
- overflow-y:scroll;
- overflow-x:hidden;
- line-height:1.5em;
- background:{color:background};
- }
- ::-webkit-scrollbar {
- width:8px;
- height:8px;
- }
- ::-webkit-scrollbar-thumb {
- background:{color:swatch 1};
- }
- /* Track */
- ::-webkit-scrollbar-track {
- background:{color:swatch 4};
- }
- ::-webkit-scrollbar-corner {
- display:none;
- }
- {block:ifShadows}
- #palette, .post, #sidebar {
- box-shadow:0 3px 17px rgba({RGBcolor:shadows},.5);
- }
- {/block:ifShadows}
- #palette {
- position:fixed;
- top:0;
- bottom:0;
- left:0;
- display:flex;
- flex-flow:column nowrap;
- justify-content:center;
- }
- .swatch:before {
- content:'';
- position:absolute;
- background:rgba(0,0,0,.15);
- top:15px;
- left:15px;
- right:15px;
- bottom:15px;
- z-index:-1;
- }
- .swatch {
- z-index:1;
- display:flex;
- flex-flow:column nowrap;
- justify-content:center;
- font:bold 16px '{text:accent font}';
- flex-grow:3;
- padding:25px;
- width:120px;
- box-sizing:border-box;
- text-transform:uppercase;
- }
- .swatch:after {
- z-index:1;
- font:15px 'Share';
- color:rgba(255,255,255,.6);
- display:block;
- text-align:right;
- position:relative;
- }
- a.swatch:hover, a.links:hover, a .title:hover {
- color:rgba({RGBcolor:swatch links},.5);
- }
- .swatch#one { background:{color:swatch 1}; }
- .swatch#one:after { content:'{color:swatch 1}'; }
- .swatch#two { background:{color:swatch 2}; }
- .swatch#two:after { content:'{color:swatch 2}'; }
- .swatch#three { background:{color:swatch 3}; }
- .swatch#three:after { content:'{color:swatch 3}'; }
- .swatch#four { background:{color:swatch 4}; }
- .swatch#four:after { content:'{color:swatch 4}'; }
- .swatch#five { background:{color:swatch 5}; }
- .swatch#five:after { content:'{color:swatch 5}'; }
- .swatch#six, .pag.lnr, .aud-lbl { background:{color:swatch 6}; }
- .swatch#six:after { content:'{color:swatch 6}'; }
- .swatch#six.inactive {
- color:rgba({RGBcolor:swatch links},.5);
- pointer-events:none;
- }
- #sidebar {
- background:{color:sidebar background} url({image:sidebar}) {select:sidebar bg size};
- position:fixed;
- top:0;
- bottom:0;
- right:0;
- width:300px;
- display:flex;
- flex-flow:column nowrap;
- align-items:center;
- justify-content:center;
- }
- #title, #subtitle, #desc {
- padding:10px;
- }
- #title:empty, #subtitle:empty, #desc:empty, .caption:empty {
- display:none;
- }
- #title, #subtitle, .swatch, .aud-lbl, .links, .pag, #s-m-t-tooltip, .title, .info > a {
- color:{color:swatch links};
- position:relative;
- }
- #title, #subtitle {
- width:220px;
- }
- #title {
- font:bolder 1.4em '{text:accent font}', sans-serif;
- text-transform:uppercase;
- text-align:right;
- background:{color:swatch 1};
- margin:0 20px 0 40px;
- z-index:2;
- order:-1; /* ensures it appears before the subtitle */
- }
- #subtitle {
- background:{color:swatch 2};
- font:italic 1.1em '{text:accent font}', sans-serif;
- margin:-12px 40px 0 20px;
- padding-top:20px;
- z-index:1;
- }
- #subtitle:empty + #title {
- margin:0 20px !important;
- width:240px !important;
- }
- #desc {
- width:240px;
- margin:20px 20px 0;
- text-align:center;
- }
- #link-wrap {
- margin:15px 15px 0;
- display:flex;
- flex-flow:row wrap;
- }
- .links {
- margin:5px;
- text-align:center;
- background:{color:swatch 3};
- flex-grow:3;
- padding:7px;
- min-width:100px;
- max-width:260px;
- text-transform:uppercase;
- font:1em '{text:accent font}', sans-serif;
- }
- #pagination {
- margin-top:15px;
- width:270px;
- display:flex;
- }
- .pag {
- font-size:17px;
- margin:0 5px;
- padding:7px;
- line-height:1em;
- text-align:center;
- }
- /*Post wrapper*/
- #content-wrap {
- position:absolute;
- left:120px;
- right:300px;
- }
- #content {
- position:relative;
- margin-top:70px;
- left:calc(50% - {text:post width}/2);
- min-height:100%;
- }
- .post-body, #desc {
- background:{color:post background};
- }
- .post {
- margin:70px 0;
- width:{text:post width};
- }
- .post:first-child { margin-top:0; }
- .caption {
- padding:10px;
- }
- .caption img {
- max-width:100%;
- }
- .caption a, .ans a, #desc a, .que a {
- border-bottom:1px solid rgba({RGBcolor:text},.5);
- }
- .caption a:hover, .ans a:hover, #desc a:hover, .que a:hover {
- border-color:transparent;
- }
- .caption .tumblr_blog {
- font-weight:bold;
- }
- .chat.even, .chat.odd { padding:3px 5px; }
- .chat.even { background:{color:even text background}; }
- .chat.odd {
- padding-left:20px;
- background:{color:odd text background};
- }
- .more {
- display:inline-block;
- padding:5px 7px;
- border:none !important;
- color:{color:text};
- text-transform:uppercase;
- }
- .quote {
- font:italic 1.3em '{text:accent font}', sans-serif;
- text-align:center;
- display:block;
- }
- .quote, .excerpt {
- padding:10px;
- background:rgba({RGBcolor:swatch 3},.7);
- color:{color:swatch links};
- }
- .post hr, #desc hr {
- margin:1em 15%;
- border:none;
- border-top:1px solid rgba({RGBcolor:swatch 1},.5);
- }
- .media-wrap {
- width:{text:post width};
- overflow:hidden;
- margin:0;
- }
- .media-wrap:not(.audi) {
- line-height:0;
- }
- figure.media-wrap img {
- width:{text:post width};
- }
- .title {
- font:bold 1.4em {text:accent font}, sans-serif;
- text-align:right;
- padding:10px;
- background:{color:swatch 1};
- }
- a .title { background:{color:swatch 2}; }
- /*Audio posts*/
- .aud {
- height:30px;
- width:23px;
- overflow:hidden;
- position:relative;
- margin-top:16px;
- margin-left:14px;
- }
- .audholder {
- position:absolute;
- z-index:30;
- background:#f3f3f3;
- margin-top:31px;
- margin-left:31px;
- width:60px;
- height:60px;
- opacity:.5;
- filter:invert(100%);
- }
- .song {
- height:121px;
- margin-left:135px;
- display:flex;
- flex-flow:column nowrap;
- justify-content:center;
- }
- .song > div {
- margin:4px 0;
- }
- .aud-lbl {
- font-variant:small-caps;
- padding:2px 4px;
- margin-right:5px;
- font-family:'{text:accent font}', sans-serif;
- }
- .cover {
- margin-right:5px;
- width:121px;
- height:121px;
- float:left;
- background-size:cover;
- z-index:1;
- }
- /*Ask posts*/
- .que, .ans {
- position:relative;
- padding:10px;
- }
- .que {
- background:{color:odd text background};
- }
- .asker-avi {
- width:30px;
- border-radius:50%;
- float:left;
- margin:0 10px 10px 0;
- }
- .askr {
- margin:5px 0;
- text-transform:uppercase;
- font:bold 1em '{text:accent font}', sans-serif;
- }
- .askr a { color:{color:italic}; }
- .ans {
- text-align:right;
- background:{color:even text background};
- }
- .excerpt {
- display:block;
- }
- /*Tags*/
- .tag-wrap {
- padding:7px;
- }
- .tags {
- color:{color:tags};
- margin-right:5px;
- }
- .tags:hover { color:{color:tags hover}; }
- /*Post footers*/
- .info {
- width:{text:post width};
- text-transform:uppercase;
- position:relative;
- display:flex;
- font:.8em '{text:accent font}', sans-serif;
- }
- .info > a {
- padding:7px;
- margin:0;
- }
- #date { background:{color:swatch 1}; }
- #via { background:{color:swatch 2}; }
- #ori, #src { background:{color:swatch 3}; }
- #perma, .stretch { background:{color:swatch 4}; }
- *.stretch { flex-grow:10; }
- .lnr-redo, .pag.stretch { background:{color:swatch 5}; }
- .lnr-heart { background:{color:swatch 6}; }
- .info .lnr {
- padding:6px;
- font-size:15px;
- }
- .like-wrap {
- position:relative;
- padding:0 !important;
- }
- .like_button {
- position:absolute;
- opacity:0;
- z-index:5;
- top:4px;
- left:5px;
- width:18px;
- height:18px;
- }
- .like_button iframe {
- width:100% !important;
- height:100% !important;
- }
- .like-btn { z-index:1; }
- .like_button.liked { opacity:1; }
- .tumblr_video_iframe {
- width:{text:post width} !important;
- }
- /*Note box*/
- #note {
- padding:0; margin-top:20px;
- background:{color:post background};
- box-shadow:none;
- }
- #note blockquote { margin-left:9px; }
- #note ol.notes {
- list-style-type:none;
- padding:0;
- margin:0;
- }
- li.note {
- padding:7px;
- }
- li.note:nth-child(odd) {
- background:{color:odd text background};
- }
- li.note:nth-child(even) {
- background:{color:even text background};
- }
- #note ol.notes li:last-child { border-bottom:none; }
- #note ol.notes img.avatar {
- margin-right:7px;
- margin-top:calc(1em - 13px);
- width:20px;
- height:20px;
- float:left;
- border-radius:50%;
- }
- /*Fade in content aka something I should use more often lol flexbox takes a while to kick in*/
- @-webkit-keyframes fade { from { opacity:0; } to { opacity:1; } }
- @-moz-keyframes fade { from { opacity:0; } to { opacity:1; } }
- @keyframes fade { from { opacity:0; } to { opacity:1; } }
- #sidebar, #palette, #content {
- opacity:0;
- -webkit-animation:1.2s ease-in 1.1s 1 forwards fade;
- -moz-animation:1.2s ease-in 1.1s 1 forwards fade;
- animation:1.2s ease-in 1.1s 1 forwards fade;
- }
- {CustomCSS}
- </style>
- </head>
- <body class="background">
- <nav id="palette">
- <a class="swatch" href="/" id="one">Home</a>
- <a class="swatch" href="/ask" id="two">Ask</a>
- <a class="swatch" href="/submit" id="three">Submit</a>
- <a class="swatch" href="/archive" id="four">Archive</a>
- <a class="swatch" href="http://linthm.tumblr.com/thm" title="Paleta © Laighlin" id="five">Theme</a>
- <a class="swatch inactive" href="#" id="six">To top</a>
- </nav>
- <div id="content-wrap">
- <main id="content">
- {block:SearchPage}
- <div class="post">
- <article class="post-body">
- <h2 class="title">
- {block:SearchResults}
- {lang:SearchResultCount results for SearchQuery 2}
- {/block:SearchResults}
- {block:NoSearchResults}
- {lang:No search results for SearchQuery 2}
- <div class="caption">
- This blog might have search indexing disabled.
- </div>
- {/block:NoSearchResults}
- </h2>
- </article>
- </div>
- {/block:SearchPage}
- {block:TagPage}
- <div class="post">
- <article class="post-body">
- <h2 class="title">{lang:Posts tagged Tag 2}</h2>
- </article>
- </div>
- {/block:TagPage}
- {block:Posts inlineMediaWidth="380" inlineNestedMediaWidth="380"}
- <div class="post">
- <article class="post-body type-{PostType}">
- {block:Text}
- {block:Title}<h2 class="title">{Title}</h2>{/block:Title}
- <div class="caption">{Body}</div>
- {/block:Text}
- {block:Link}
- <a href="{URL}"><h2 class="title"><span class="lnr lnr-link"> </span> {Name}</h2></a>
- {block:Excerpt}<div class="excerpt">{Excerpt}</div>{/block:Excerpt}
- <div class="caption">
- {block:Description}
- {Description}
- {/block:Description}
- </div>
- {/block:Link}
- {block:Quote}
- <q class="quote">{Quote}</q>
- {block:Source}<div class="caption" style="text-align:right">— {Source}</div>{/block:Source}
- {/block:Quote}
- {block:Chat}
- {block:Title}<h2 class="title">{Title}</h2>{/block:Title}
- {block:Lines}
- <div class="chat {Alt}">{block:Label}<b>{Label} </b>{/block:Label}{Line}</div>
- {/block:Lines}
- {/block:Chat}
- {block:Photo}
- <figure class="media-wrap">{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}</figure>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- <div class="media-wrap">
- <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">
- {block:Photos}
- <div class="photo-data">
- <div class="pxu-photo"><img src="{PhotoURL-HighRes}" width="{PhotoWidth-HighRes}" height="{PhotoHeight-HighRes}" 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>
- </div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Photoset}
- {block:Video}
- <div class="media-wrap vid">{Video-500}</div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Video}
- {block:Audio}
- <div class="media-wrap audi">
- {block:AlbumArt} <img src="{AlbumArtURL}" class="cover"> {/block:AlbumArt}
- <div class="audholder">
- <div class="aud">
- {AudioPlayer}
- </div>
- </div>
- <div class="song">
- {block:Artist}<div>
- <span class="aud-lbl">Artist</span> {Artist}
- </div>{/block:Artist}
- {block:TrackName}<div>
- <span class="aud-lbl">Title</span> <i>{TrackName}</i>
- </div>{/block:TrackName}
- {block:Album}<div>
- <span class="aud-lbl">Album</span> {Album}
- </div>{/block:Album}
- <div><span class="aud-lbl">{PlayCountWithLabel}</span></div>
- </div>
- </div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Audio}
- {block:Answer}
- <div class="que">
- <img class="asker-avi" src="{AskerPortraitURL-40}">
- <div class="askr">{Asker} —</div>
- {Question}
- </div>
- <div class="caption">{Answer}</div>
- {/block:Answer}
- {block:More}
- <div class="caption" style="text-align:center"><a class="more" href="{Permalink}">{lang:Read more}</a></div>
- {/block:More}
- {block:HasTags}
- <div class="tag-wrap">
- <span class="sf sf-tag-o" aria-label="Tags:"></span>
- {block:Tags} #<a href="{TagURL}" class="tags">{Tag}</a>{/block:Tags}
- </div>
- {/block:HasTags}
- </article>
- {block:Date}
- <footer class="info">
- <a id="date" href="{Permalink}" title="{TimeAgo}">{DayOfMonth}.{MonthNumber}.{Year}</a>
- {block:RebloggedFrom}
- <a id="via" href="{ReblogParentURL}" title="{ReblogParentName}">via</a>
- <a id="ori" href="{ReblogRootURL}" title="{ReblogRootName}" {block:ContentSource}style="display:none"{/block:ContentSource}>ori</a>
- {/block:RebloggedFrom}
- {block:ContentSource}<a id="src" href="{SourceURL}">src</a>{/block:ContentSource}
- {block:NoteCount}<a id="perma" href="{Permalink}" title="{lang:Permalink}">{NoteCountWithLabel}</a> {/block:NoteCount}
- <a class="stretch"></a>
- <a href="{ReblogURL}" class="lnr lnr-redo"></a>
- <a class="like-wrap">{LikeButton}<a class="like-btn lnr lnr-heart"></a></a>
- </footer>
- {/block:Date}
- {block:PostNotes}
- <footer class="post" id="note">
- {PostNotes-64}
- </footer>
- {/block:PostNotes}
- </div>
- {/block:Posts}
- </main>
- </div>
- <aside id="sidebar">
- <h2 id="subtitle">{text:subtitle}</h2>
- <!-- the subtitle needs to come before the title in the DOM, otherwise it can't affect the styling of #title without unnecessary javascript -->
- <h1 id="title">{Title}</h1>
- <div id="desc">{Description}</div>
- {block:HasPages}
- <nav id="link-wrap">
- {block:Pages}
- <a class="links" href="{URL}">{Label}</a>
- {/block:Pages}
- </nav>
- {/block:HasPages}
- {block:Pagination}
- <nav id="pagination">
- {block:PreviousPage}<a class="pag lnr lnr-arrow-left" title="{lang:Previous}" href="{PreviousPage}"></a>{/block:PreviousPage}
- <span class="pag stretch">{CurrentPage} / {TotalPages}</span>
- {block:NextPage}<a class="pag lnr lnr-arrow-right" title="{lang:Next}" href="{NextPage}"></a>{/block:NextPage}
- </nav>
- {/block:Pagination}
- </aside>
- </body>
- <script type="text/javascript">
- $('article').fitVids();
- $(document).ready(function() {
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '5px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- }); // photoset resizing script
- $('[title]').style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:100,
- tip_fade_speed:300
- }); // tooltip script
- $(window).scroll(function() {
- if($(this).scrollTop() > 400) {
- $("#six").removeClass("inactive");
- }
- else {
- $("#six").addClass("inactive");
- }
- }); //renders the scroll to top button initially unclickable
- $("#six").click(function() {
- $("html, body").animate({ scrollTop: 0 }, 400);
- return false;
- });
- });
- </script>
- </html>
Add Comment
Please, Sign In to add comment