Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!------------
- theme #3: westworld by rogers-stevens
- thanks for using my theme!!! please don't get rid of the credit, claim as your own, or steal any of my code.
- any questions can be directed to https://rogers-stevens.tumblr.com/faqask
- enjoy!
- ------------->
- <html>
- <head>
- <title>{Title}</title>
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="altertnate" type="application/rss+xml" href="{RSS}">
- <meta name="description" content="{MetaDescription}" />
- <meta http-equiv="x-dns-prefetch-control" content="off"/>
- <script type="text/javascript" src="http://static.tumblr.com/3ikgvxs/0TGl4zgpu/jquery.min.js">
- </script>
- <script type="text/javascript">
- //drop menu script by acuite
- $(document).ready(function(){
- $(".postnotes").hide();
- $(".postnotestitle").click(function(){
- $(this).next(".postnotes").slideToggle('fast');
- });
- }); </script>
- <script src ="//static.tumblr.com/fwgzvyf/Oj1o08f6h/shythemes.vr.js"></script>
- <script>
- // video resizing script by shythemes
- $(document).ready(function(){
- resizeVideos();
- });
- function resizeVideos() {
- $('.video:not(.resized) iframe:not(.tumblr_video_iframe)').each(function(){
- var vw = $(this).width();
- var vh = $(this).height();
- var scale = $(this).parents('.video').width() / vw;
- $(this).attr({
- width: Math.floor($(this).attr('width') * scale),
- height: Math.floor($(this).attr('height') * scale)
- });
- $(this).parents('.video').addClass('resized');
- });
- $('.video:not(.resized) .tumblr_video_iframe').each(function(){
- var vw = $(this).width();
- var vh = $(this).height();
- var scale = $(this).parents('.video').width() / vw;
- $(this).css({
- 'transform': 'scale(' + scale + ')',
- 'margin': vh * (scale - 1) / 2 + 'px ' + vw * (scale - 1) / 2 + 'px'
- });
- $(this).parents('.tumblr_video_container').css({
- width: Math.floor(vw * ( scale + 1 ) / 2),
- height: Math.floor(vh * ( scale + 1 ) / 2)
- });
- $(this).parents('.video').addClass('resized');
- });
- }
- </script>
- <script src="http://static.tumblr.com/rzl30kg/eAxm7a751/jquery.style-my-tooltips.js"></script>
- <script>
- (function($){
- $(document).ready(function(){
- $("[title]").style_my_tooltips({
- tip_follows_cursor:true,
- tip_delay_time:200,
- tip_fade_speed:300
- }
- );
- });
- })(jQuery);
- </script>
- <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
- <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script src="https://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
- <script>
- $(document).ready(function(){
- $('.photo-slideshow').pxuPhotoset({
- lightbox: true,
- rounded: false,
- gutter: '5px',
- borderRadius: '0px',
- photoset: '.photo-slideshow',
- photoWrap: '.photo-data',
- photo: '.pxu-photo'
- });
- });
- </script>
- <script src="http://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
- <script> $(function(){ $('.content').unnest({
- yourCaption: ".caption",
- wrapName: ".tumblr_parent",
- newCaptionUsername: false,
- originalPostCaptionUsername: false,
- tumblrAvatars: true,
- tumblrAvatarClass: ".tumblr_avatar",
- usernameColon: false
- }); }); </script>
- <link href="https://fonts.googleapis.com/css?family=Libre+Franklin:200,200i,300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css">
- <meta name="color:Text" content="#666"/>
- <meta name="color:Link" content="#000"/>
- <meta name="color:LinkHover" content="#888"/>
- <meta name="color:Accent" content="#bb0000"/>
- <meta name="color:Scrollbar" content="#ccc"/>
- <meta name="text:PostWidth" content="500"/>
- <meta name="text:SidebarWidth" content="175"/>
- <meta name="text:Link1URL" content="/"/>
- <meta name="text:Link1Title" content="link1"/>
- <meta name="text:Link2URL" content="/"/>
- <meta name="text:Link2Title" content="link2"/>
- <meta name="text:Link3URL" content="/"/>
- <meta name="text:Link3Title" content="link3"/>
- <meta name="image:Sidebar" content=""/>
- <meta name="if:ShowSidebarImage" content="1"/>
- <meta name="if:ShowTitle" content="1"/>
- <meta name="if:ShowLikeButton" content=""/>
- <style type="text/css">
- /*tooltips*/
- #s-m-t-tooltip {
- margin:10px;
- padding:5px;
- border-radius:0px;
- background:#fff;
- color:{color:Link};
- z-index:1000;
- font-size:10px;
- font-style:none;
- font-weight:normal;
- letter-spacing:0px;
- font-family:'Libre Franklin', arial, sans-serif;
- text-transform:lowercase;
- box-shadow: none;
- }
- /*scrollbar*/
- ::-webkit-scrollbar {
- width:19px;
- background: #fff;
- }
- ::-webkit-scrollbar-thumb:vertical {
- background:{color:Scrollbar};
- border:9px solid #fff;
- }
- /*general*/
- body {
- font-family: 'Libre Franklin', arial, sans-serif;
- font-smoothing:always;
- -webkit-font-smoothing:antialiased;
- -moz-osx-font-smoothing: grayscale;
- font-size: 11px;
- color:{color:Text};
- background-color:#fff;
- }
- a {
- color:{color:Link};
- text-decoration:none;
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- a:hover {
- text-decoration:none;
- color: {color:LinkHover};
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- img {
- opacity:1;
- text-decoration:none;
- }
- h1,h2,h3,h4,h5,h6 {
- font-size:12px;
- font-weight:400;
- text-transform:uppercase;
- }
- small,pre,blockquote,big,sub,sup{
- font-size:11px;
- }
- b{
- font-weight:500;
- }
- blockquote{
- border-left: #e5e5e5 1px solid;
- padding-left: 10px;
- margin:0px;
- }
- blockquote img{
- max-width:100%!important;
- }
- .container {
- width:800px;
- position:absolute;
- margin:auto;
- animation: fadein 2s;
- -moz-animation: fadein 2s;
- -webkit-animation: fadein 2s;
- -o-animation: fadein 2s;
- }
- @keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
- @-moz-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
- @-webkit-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
- @-ms-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
- @-o-keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
- .content {
- width:{text:PostWidth}px;
- margin-left:450px;
- margin-top:100px;
- margin-bottom:50px;
- animation: fadein 2s;
- -moz-animation: fadein 2s;
- -webkit-animation: fadein 2s;
- -o-animation: fadein 2s;
- }
- .posts {
- width:{text:PostWidth}px;
- {block:IndexPage}
- margin-bottom:100px;
- {/block:IndexPage}
- animation: fadein 2s;
- -moz-animation: fadein 2s;
- -webkit-animation: fadein 2s;
- -o-animation: fadein 2s;
- }
- .posts img, .posts li, .posts blockquote {
- max-width: 540px;
- }
- .posts li{
- list-style-type: disc;
- margin-top:5px;
- }
- .posts blockquote {
- border-left: solid 0px!important;
- padding-left: 0px;
- margin:0px;
- }
- /*lightbox*/
- .vignette {
- opacity:0;
- }
- .lightbox-image {
- box-shadow:none !important;
- border-radius:0 !important;
- max-width:none;
- border:2px solid #fff !important;
- -moz-box-sizing:border-box;
- box-sizing:border-box;
- }
- .tmblr-lightbox {
- background-color:rgba(245,245,245,.8) !important;
- }
- .lightbox-caption {
- visibility:hidden;
- }
- /*sidebar*/
- .sidebar {
- width:{text:SidebarWidth}px;
- top:110px;
- margin-left:150px;
- position:fixed;
- }
- .sidebarimage {
- max-width:{text:SidebarWidth}px;
- margin-bottom:15px;
- }
- .sidebarimage img {
- width:{text:SidebarWidth}px;
- }
- .title {
- width:{text:SidebarWidth}px;
- text-align:center;
- padding-bottom:10px;
- text-transform:uppercase;
- font-size:14px;
- }
- .title a{
- border-bottom:{color:Accent} 1px solid;
- }
- .description {
- width:{text:SidebarWidth}px;
- text-align:left;
- margin-top:5px;
- }
- .description a{
- border-bottom:0px!important;
- }
- .links {
- text-align:left;
- margin-top:10px;
- }
- .links ul, ol{
- margin:0px;
- padding:0px;
- }
- .links li{
- list-style-type:none;
- margin-bottom:5px;
- }
- .links a{
- border-bottom:{color:Accent} 1px solid;
- transition:0.5s ease;
- -o-transition:0.5s ease;
- -moz-transition:0.5s ease;
- -webkit-transition:0.5s ease;
- }
- .links a:hover{
- margin-left:10px;
- transition:0.5s ease;
- -o-transition:0.5s ease;
- -moz-transition:0.5s ease;
- -webkit-transition:0.5s ease;
- }
- /*ask posts*/
- .ask {
- text-transform:lowercase;
- }
- .asker {
- text-transform: uppercase;
- font-weight:lighter;
- padding-bottom:0px;
- background:#eee;
- padding-top:20px;
- padding-left:10px;
- padding-right:55px;
- text-align:right;
- color:{color:Link};
- }
- .asker a{
- text-align:right;
- padding-right:0px;
- padding-left:0px;
- }
- .question {
- background:#eee;
- padding-bottom:20px;
- padding-left:10px;
- padding-right:55px;
- text-align:right;
- }
- .askerportrait {
- width:40px;
- float:right;
- margin-top:14px;
- margin-right:10px;
- }
- .askerportrait img {
- width:40px;
- border-radius:100px;
- }
- .answer {
- margin-top:-15px;
- margin-bottom:-5px;
- text-transform:none;
- }
- /*pagination*/
- .pag{
- text-align:center;
- padding-bottom:50px;
- }
- .pag a{
- border-bottom:{color:Accent} 1px solid;
- }
- /*captions*/
- .caption{
- padding-top:20px;
- }
- a.tumblr_blog{
- border-bottom: {color:Accent} 1px solid;
- }
- .tumblr_avatar{
- width:25px;
- height:25px;
- padding-top:0px!important;
- margin-right:10px;
- vertical-align:middle;
- }
- /*quote posts*/
- .source{
- text-transform:uppercase;
- font-style:italic;
- font-weight:lighter;
- }
- /*chat posts*/
- .lineodd {
- background:#eee;
- padding:10px;
- list-style:none;
- }
- .lineeven {
- padding:10px;
- list-style:none;
- }
- .label {
- font-weight:lighter;
- text-transform:uppercase;
- }
- .chat li{
- list-style:none;
- }
- /*audio posts*/
- .albumart{
- max-width:50px;
- z-index:1;
- margin-bottom:5px;
- }
- .playbox{
- background-color: #000;
- position: absolute;
- z-index: 1000;
- margin-top:12px;
- margin-left:12px;
- -webkit-border-radius: 100px;
- -moz-border-radius: 100px;
- border-radius: 100px;
- opacity: 0.75;
- }
- .playbutton{
- width: 25px;
- height: 25px;
- overflow: hidden;
- position: relative;
- z-index: 1000
- margin-top: 0px;
- margin-bottom: 2px;
- margin-left: 0px;
- margin-right: 2px;
- -webkit-border-radius: 100px;
- -moz-border-radius: 100px;
- border-radius: 100px;
- }
- .tracknames{
- margin-left:75px;
- margin-top:-55px;
- padding-bottom:5px;
- }
- /*post info*/
- .postinfo{
- padding-top:10px;
- margin-top:25px;
- text-transform:none;
- color:{color:Link};
- border-top:#eee 1px solid;
- text-transform:lowercase;
- }
- .tags {
- font-size:10px;
- margin-top:5px;
- }
- .tags a {
- margin-right:10px;
- color:{color:Text};
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- .tags a:hover {
- margin-right:10px;
- color:{color:LinkHover};
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- {block:ifShowLikeButton}
- .mylike {
- cursor:pointer;
- position:relative;
- width:10px;
- height:10px;
- display:inline-block;
- float:right;
- vertical-align:top;
- }
- .like_button {
- cursor:pointer!important;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- z-index: 10;
- }
- .like_button iframe {
- width: 100% !important;
- height: 100% !important;
- }
- .mylikebutton {
- cursor:pointer!important;
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- width: 100%;
- height: 100%;
- opacity: 1;
- z-index: 1;
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- .like_button:hover + .mylikebutton {
- cursor:pointer!important;
- color: #666;
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- .like_button.liked + .mylikebutton {
- color:#bb0000;
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- {/block:ifShowLikeButton}
- /*permalink page*/
- .postnotes{
- font-size:10px;
- text-transform:lowercase;
- padding-top:10px;
- height:250px;
- overflow-y:scroll;
- text-align:center;
- }
- .postnotes img{
- display:none;
- }
- .postnotes li{
- list-style-type:none;
- margin-bottom:1px;
- }
- .postnotes ul, .postnotes ol {
- padding:0px;
- margin:0px;
- }
- .postnotes blockquote {
- font-size:10px;
- margin-top:2px;
- margin-bottom:2px;
- }
- .postnotes a{
- border-bottom:0px!important;
- }
- .postnotestitle {
- padding-top:10px;
- text-align:center;
- font-size:10px;
- }
- .postnotestitle:hover {
- cursor:pointer;
- color:{color:LinkHover};
- -webkit-transition:all 0.5s;
- -moz-transition:all 0.5s;
- -ms-transition:all 0.5s;
- -o-transition:all 0.5s;
- transition:all 0.5s;
- }
- /*credit: please do not remove!!!*/
- .credit{
- position:fixed;
- bottom:20px;
- right:20px;
- }
- .credit a{
- border-bottom:0px!important;
- }
- </style>
- </head>
- <body>
- <div class="container">
- <div class="credit">
- <a href="https://rogers-stevens.tumblr.com" title="theme"><i class="fa fa-code" aria-hidden="true"></i></a>
- </div>
- <div class="sidebar">
- {block:ifShowSidebarImage}<div class="sidebarimage"><a href="/"><img src="{image:Sidebar}"</a></div>{/block:ifShowSidebarImage}
- {block:ifShowTitle}<div class="title"><a href="/">{Title}</a></div>{/block:ifShowTitle}
- <div class="description">{Description}</div>
- <div class="links">
- <li>— <a href="/">home</a></li>
- <li>— <a href="/ask">message</a></li>
- <li>— <a href="{text:Link1URL}">{text:Link1Title}</a></li>
- <li>— <a href="{text:Link2URL}">{text:Link2Title}</a></li>
- <li>— <a href="{text:Link3URL}">{text:Link3Title}</a></li>
- </div>
- </div>
- <div class="content">
- {block:Posts}
- <div class="posts" id="{PostID}">
- {block:Text}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- <div class="caption">{Body}</div>
- {/block:Text}
- {block:Answer}
- <div class="ask">
- <span class="askerportrait"><img src="{AskerPortraitURL-96}"></span>
- <div class="asker">{Asker}:</div> <div class="question">{Question}</div><br>
- <div class="answer"><div class="caption">{Answer}</div></div>
- </div>
- {/block:Answer}
- {block:Quote}
- “{Quote}”
- {block:Source}<div class="source">— {Source}</div>{/block:Source}
- {/block:Quote}
- {block:Link}
- <a href="{URL}"><h2>{Name} ›</h2></a>
- {block:Description}<div class="caption">{Description}</div>{/block:Description}
- {/block:Link}
- {block:Chat}
- {block:Title}<h1>{Title}</h1>{/block:Title}
- <div class="chat">{block:Lines}<li class="line{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label}
- {Line}</li>{/block:Lines}</div>
- {/block:Chat}
- {block:Photo}
- <img src="{PhotoURL-HighRes}" />{block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
- {/block:Photo}
- {block:Photoset}
- {Photoset}{block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
- {/block:Photoset}
- {block:Audio}
- {block:AudioPlayer}
- <div class="playbox"><div class="playbutton">{AudioPlayerBlack}</div></div>
- {block:AlbumArt}
- <div class="albumart"><img src="{AlbumArtURL}"></div>
- {/block:AlbumArt}
- <div class="tracknames">
- {block:Artist}<b>ARTIST:</b> {Artist}{/block:Artist}<br>
- {block:TrackName}<b>TRACK:</b> {TrackName}{/block:TrackName}<br>
- <b>PLAY COUNT:</b> {FormattedPlayCount}</div>
- {/block:AudioPlayer}
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Audio}
- {block:Video}
- <div class="video">
- {Video-500}
- </div>
- {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
- {/block:Video}
- <div class="postinfo">
- {block:Date}
- <a href="{Permalink}">{NoteCount} notes</a>
- on
- <a href="{Permalink}" title="{Month} {DayofMonth}">{DayofWeek}</a>
-
- {block:RebloggedFrom}
- <a href="{ReblogURL}" class="reblog" title="reblog"><i class="fa fa-retweet" aria-hidden="true"></i></a>
- <a href="{ReblogParentURL}" title="{ReblogParentName}" class="reblog">via</a>
- {block:ContentSource}
- /
- <a href="{ReblogRootURL}" "{ReblogRootName}" title="{ReblogRootName}"class="reblog">src</a>
- {/block:ContentSource}
- {/block:RebloggedFrom}
- {block:ifShowLikeButton}
- <div class="mylike">
- {LikeButton}
- <span class="mylikebutton">
- <i class="fa fa-heart-o fa-fw" aria-hidden="true"></i>
- </span>
- </div>
- {/block:ifShowLikeButton}
- {/block:Date}
- </div>
- {block:HasTags}
- <div class="tags">
- <i class="fa fa-tags" aria-hidden="true" style="color:{color:LinkHover}"></i>
- {block:Tags}
- <a href="{TagURL}">{Tag}</a>
- {/block:Tags}
- </div>
- {/block:HasTags}
- </div>
- {block:PermalinkPage}
- {block:PostNotes}
- <div class="postnotestitle">SHOW NOTES</div>
- <div class="postnotes">{PostNotes}</div>
- {/block:PostNotes}
- {/block:PermalinkPage}
- {/block:Posts}
- <div class="pag">
- {block:Pagination}
- {block:PreviousPage}
- <a href="{PreviousPage}">back</a> / {/block:PreviousPage}
- {block:NextPage}
- <a href="{NextPage}">next</a>
- {/block:NextPage}
- {/block:Pagination}
- </div>
- {block:ContentSource}
- <!---{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
- width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
- {/block:SourceLogo}
- {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} --->
- {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
- </div>
- </div>
- </div>
- <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
- <script>
- /* questions? ask oddhour.tumblr.com */
- var updatePhotosetCss = "<style id='updatePhotosetStyle'>.photoset .photoset_row { margin-top: 5px; } .photoset .photoset_row .photoset_photo { margin-left: 4px;} .photoset .photoset_row.photoset_row_1 img { max-width: 540px; } .photoset .photoset_row.photoset_row_2 img { max-width: 268px; } .photoset .photoset_row.photoset_row_3 img { max-width: 177px; } .photoset .photoset_row { text-align: left; width: 540px; } .photoset { width: 540px; }</style>";
- function updatePhotoset() {
- $(".photoset").each( function (i, e) {
- if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
- $(this.contentDocument).find("head").append(updatePhotosetCss);
- var photoset = $(this.contentDocument).find(".photoset");
- var photosetRows = photoset.find(".photoset_row");
- photoset.find(".photoset_photo")
- .each(function () {
- var hiResSrc = $(this).attr("href");
- var img = $(this).find('img');
- img.attr("src", hiResSrc );
- img.attr("style", "");
- });
- photosetRows.attr("style", "").css("margin-bottom", "-5px");
- photoset.attr("style","");
- $(this).height($(this.contentDocument.body).height());
- });
- }
- updatePhotoset();
- var photosetTimer = setInterval(updatePhotoset, 1500);
- $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement