Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!--
- Theme: Photoroll
- Design: Makoto Saito
- -->
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="color:Post Text" content="#000000">
- <meta name="color:Post Link" content="#000000">
- <meta name="color:Post Link-hover" content="#000000">
- <meta name="color:Post Background" content="#FDFDFD">
- <meta name="color:Menu Text" content="#000000">
- <meta name="color:Menu Background" content="#EEEEEE">
- <meta name="color:Background" content="#EEEEEE">
- <meta name="color:Permalink Text" content="#000000">
- <meta name="color:Permalink Link" content="#000000">
- <meta name="color:Permalink Link Hover" content="#000000">
- <meta name="color:Permalink Notes Text" content="#999999">
- <meta name="color:Permalink Notes Link" content="#999999">
- <meta name="color:Permalink Notes Link Hover" content="#555555">
- <meta name="color:Custom Page Text" content="#000000">
- <meta name="image:Title Image" content="">
- <meta name="image:Background Image" content="">
- <meta name="if:Link Underline" content="1">
- <meta name="if:All Caps" content="1">
- <meta name="if:Show Description" content="0">
- <meta name="if:Show Tag" content="1">
- <meta name="if:Show High-Res Link" content="1">
- <meta name="text:Link 1 Title" content="">
- <meta name="text:Link 1 URL" content="">
- <meta name="text:Link 2 Title" content="">
- <meta name="text:Link 2 URL" content="">
- <meta name="text:Link 3 Title" content="">
- <meta name="text:Link 3 URL" content="">
- <meta name="text:Link 4 Title" content="">
- <meta name="text:Link 4 URL" content="">
- <meta name="text:Link 5 Title" content="">
- <meta name="text:Link 5 URL" content="">
- {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
- <link rel="shortcut icon" href="{Favicon}">
- <link rel="alternate" type="application/rss+xml" href="{RSS}">
- <!--[if lt IE 9]>
- <script src="http://static.tumblr.com/y5ttuyf/A4Tmmy1vd/html5.js"></script>
- <script src="http://static.tumblr.com/y5ttuyf/HtWmmy1wf/ie9.js"></script>
- <![endif]-->
- <title>{Title}</title>
- <script src="http://static.tumblr.com/y5ttuyf/JJDmmy142/jquery.min.js"></script>
- <script src="http://static.tumblr.com/y5ttuyf/6V2mmkwpp/jquery.masonry.js"></script>
- <script src="http://static.tumblr.com/y5ttuyf/O33mmkyz0/jquery.infinitescroll.js"></script>
- <script src="http://static.tumblr.com/y5ttuyf/Pq4mmnw3q/jquery.imagesloaded.js"></script>
- <script>
- $( window ).load( function() {
- // Opacity
- var opacity = {
- postHover: 0.7,
- menu: 0.8,
- menuHover: 1,
- menuTextHover: 0.5 };
- // Fade Speed
- var speed = {
- postFadeIn: 300,
- select: 100 };
- // Masonry and Infinite Scroll
- $("#index").masonry({
- itemSelector: "section"
- });
- $("#index").infinitescroll({
- navSelector: "article nav",
- nextSelector: "#nextPage",
- itemSelector: "section",
- extraScrollPx: 10000,
- bufferPx: 400
- }, function ( newElements ) {
- var $newElems = $( newElements );
- $newElems.hide().imagesLoaded( function() {
- $("#index").masonry("appended", $newElems, false,
- function() {
- resetAndFadeIn( newElements );
- });
- });
- });
- resetAndFadeIn("article");
- // Reset and Fade In
- function resetAndFadeIn( it ) {
- if ( $( it ).is(":has( .photoset )") ) {
- $( it ).find(".photoset iframe")
- .contents().imagesLoaded( function() {
- $( it ).fadeTo( speed.postFadeIn, 1 );
- });
- } else {
- $( it ).fadeTo( speed.postFadeIn, 1 );
- }
- $("#index").trigger("scroll");
- }
- // Effect - Header
- $("header").hover( function() {
- $( this ).fadeTo( speed.select, opacity.menuHover );
- }, function() {
- $( this ).fadeTo( speed.select, opacity.menu );
- });
- $("header nav a").hover(function() {
- $( this ).fadeTo( speed.select, opcity.menuTextHover );
- }, function() {
- $( this ).fadeTo( speed.select, 1 );
- });
- // Effect - Index Page
- $("#index").on("mouseenter", "section", function() {
- $( this ).fadeTo( speed.select, opacity.postHover )
- .find(".permalink").fadeTo( speed.select, 1 );
- }).on("mouseleave", "section", function() {
- $( this ).fadeTo( speed.select, 1 )
- .find(".permalink").fadeTo( speed.select, 0 );
- });
- // Effect - Permalink Page
- $("#permalink section a img").hover( function() {
- $( this ).fadeTo( speed.select, opacity.postHover )
- }, function(){
- $( this ).fadeTo( speed.select, 1 );
- });
- $("#permalink .photoset iframe")
- .contents().find("a img").hover( function() {
- $( this ).fadeTo( speed.select, opacity.postHover );
- }, function(){
- $( this ).fadeTo( speed.select, 1 );
- });
- // Effect - Audio Set
- $("#index, #permalink").on("mouseenter", ".audioSet", function() {
- $( this ).find(".audioPlayer iframe").contents()
- .find(".audio_player").css("background-color", "rgba(0,0,0,0.4)");
- $( this ).find(".audioPlayer").fadeTo( speed.select, 1 );
- }).on("mouseleave", ".audioSet", function() {
- $( this ).find(".audioPlayer").fadeTo( speed.select, 0 );
- });
- // Install Theme Button
- if ( document.cookie.indexOf("logged_in=1") != -1 ) {
- $("#installTheme").fadeTo( 500, 1 );
- }
- });
- </script>
- <style>
- /*
- Lato font family
- http://www.latofonts.com/
- Licensed under the SIL Open Font License, 1.1
- Copyright 2010-2011 Łukasz Dziedzic
- */
- @font-face {
- font-family: "Lato";
- font-style: normal;
- font-weight: 300;
- src: local("Lato Light"), local("Lato-Light"), url(http://static.tumblr.com/y5ttuyf/Lxvmmy23i/lato300.woff) format("woff");
- }
- @font-face {
- font-family: "Lato";
- font-style: normal;
- font-weight: 400;
- src: local("Lato Regular"), local("Lato-Regular"), url(http://static.tumblr.com/y5ttuyf/wmMmmy291/lato400.woff) format("woff");
- }
- @font-face {
- font-family: "Lato";
- font-style: normal;
- font-weight: 700;
- src: local("Lato Bold"), local("Lato-Bold"), url(http://static.tumblr.com/y5ttuyf/2kammy2a2/lato700.woff) format("woff");
- }
- @font-face {
- font-family: "Lato";
- font-style: italic;
- font-weight: 400;
- src: local("Lato Italic"), local("Lato-Italic"), url(http://static.tumblr.com/y5ttuyf/Q3Ummy2b2/lato400italic.woff) format("woff");
- }
- @font-face {
- font-family: "Lato";
- font-style: italic;
- font-weight: 700;
- src: local("Lato Bold Italic"), local("Lato-BoldItalic"), url(http://static.tumblr.com/y5ttuyf/TBXmmy2bn/lato700italic.woff) format("woff");
- }
- /* CSS Reset */
- html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
- small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- outline: 0;
- font-size: 100%;
- vertical-align: baseline;
- background: transparent;
- }
- article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
- display:block;
- }
- a {
- margin: 0;
- padding: 0;
- font-size: 100%;
- vertical-align: baseline;
- background: transparent;
- }
- /* Whole */
- body {
- background-color: {color:Background};
- {block:IfBackgroundImageImage}
- background-image: url({image:Background Image});
- {/block:IfBackgroundImageImage}
- font-size: 0;
- line-height: 1;
- font-family: Lato,sans-serif;
- font-weight: 400;
- overflow-x: hidden;
- }
- {block:IfAllCaps}
- header h1, header nav ul, section h2 {
- text-transform: uppercase;
- }
- {block:IfAllCaps}
- /* Menu */
- header {
- position: fixed;
- bottom: 20%;
- left: 0;
- padding: 20px;
- z-index: 10;
- background-color: {color:Menu Background};
- color: {color:Menu Text};
- opacity: 0.8;
- }
- {block:IfNotTitleImageImage}
- header h1 {
- font-weight: 300;
- font-size: 24px;
- letter-spacing: 0.1em;
- word-spacing: 0.2em;
- }
- {/block:IfNotTitleImageImage}
- header p.description {
- margin-top: 20px;
- max-width: 300px;
- font-size: 12px;
- word-spacing: 0.1em;
- line-height: 1.6;
- max-width: ;
- }
- header nav ul {
- margin-top: 20px;
- font-weight: 400;
- font-size: 14px;
- }
- header nav ul li {
- margin-right: 15px;
- display: inline;
- }
- header nav ul li:last-of-type {
- margin-right: 0;
- }
- header nav ul li a {
- color: {color:Menu Text};
- text-decoration: none;
- }
- /* Index Page and Permalink Page */
- article {
- opacity: 0;
- }
- section a {
- {block:IfLinkUnderline}
- text-decoration: underline;
- {/block:IfLinkUnderline}
- {block:IfNotLinkUnderline}
- text-decoration: none;
- {/block:IfNotLinkUnderline}
- }
- section:not(.chat) ul {
- list-style-type: disc;
- margin: 0.6em 0 0.6em 1.5em;
- }
- section ol {
- list-style-type: decimal;
- margin: 0.6em 0 0.6em 1.5em;
- }
- section blockquote {
- font-style: italic;
- border-left: solid 1px;
- padding-left: 0.5em;
- margin: 0.6em 0 0.6em 1.5em;
- }
- section h2 {
- font-weight: 300;
- word-spacing: 0.2em;
- }
- section .right {
- margin: 0.5em 0 0 3em;
- }
- .photo img, .audio img, section iframe {
- width: 100%;
- }
- .chat ul {
- list-style: none;
- }
- .chat ul .label {
- margin-right: 1em;
- }
- /* Audio Set */
- .audioSet {
- position: relative;
- font-size: 0;
- line-height: 0;
- z-index: 1;
- }
- .audioSet .albumArt {
- margin: 0;
- }
- .audioSet .audioPlayer {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- opacity: 0;
- z-index: 2;
- }
- .audioSet .audioPlayer div {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- }
- .audioSet .audioPlayer iframe {
- width: 100%;
- height: 100%;
- margin: 0;
- }
- .audioSet + * {
- margin-top: 1.6em;
- }
- /* Index Page */
- #index {
- width: 100%;
- }
- #index section {
- width: 250px;
- float: left;
- margin: 1px 0 0 1px;
- position: relative;
- background-color: {color:Post Background};
- z-index: 0;
- }
- #index section a {
- color: {color:Post Link};
- }
- #index section a:hover {
- color: {color:Post Link Hover}; {color:Post Text};
- }
- #index section blockquote {
- border-left-color: {color:Post Text};
- }
- #index section h2 {
- font-size: 17px;
- }
- #index section h2 + * {
- margin-top: 0.5em;
- }
- #index .text, #index .quote, #index .chat, #index .link, #index .answer {
- font-size: 11px;
- line-height: 1.6;
- word-spacing: 0.1em;
- color: {color:Post Text};
- }
- #index .text, #index .quote, #index .chat, #index .link, #index .answer {
- width: 220px;
- padding: 25px 15px;
- }
- #index .text img {
- width: 220px
- }
- #index .photoset {
- background-color: transparent;
- }
- #index .photoset .cover {
- display: block;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- opacity: 0;
- z-index: 1;
- }
- #index section a.permalink {
- display: block;
- opacity: 0;
- position: absolute;
- bottom: 5px;
- right: 5px;
- text-decoration: none;
- font-size: 18px;
- line-height: 1;
- font-weight: 400;
- z-index: 9;
- }
- #index .video a.permalink, #index .audio a.permalink {
- background-color: {color:Post Background};
- font-size: 16px;
- width: 16px;
- height: 16px;
- text-align: center;
- -moz-border-radius: 8px;
- -webkit-border-radius: 8px;
- border-radius: 8px;
- z-index: 9;
- }
- /* Permalink Page */
- #permalink {
- margin: 50px 0 50px 30%;
- width: 500px;
- font-size: 13px;
- line-height: 1.6;
- font-weight: 400;
- word-spacing: 0.1em;
- color: {color:Permalink Text};
- }
- #permalink section a {
- color: {color:Permalink Link};
- }
- #permalink section a:hover {
- color: {color:Permalink Link Hover};
- }
- #permalink section blockquote {
- border-color: {color:Permalink Text};
- }
- #permalink section h2 {
- font-size: 20px;
- }
- #permalink section h2 + * {
- margin-top: 1em;
- }
- #permalink section img, #permalink section iframe {
- margin: 1em 0;
- }
- #permalink .photo p.highRes {
- margin-top: 1em;
- opacity: 0.5;
- }
- #permalink .photo p.highRes a {
- margin-left: 0.5em;
- }
- #permalink p.tag {
- margin-top: 1em;
- opacity: 0.5;
- }
- #permalink .photo p.highRes + p.tag {
- margin-top: 0;
- }
- #permalink p.tag a {
- margin: 0 0.5em;
- }
- #permalink p.tag a:last-of-type {
- margin-right: 0;
- }
- #permalink p.date {
- margin: 1em 0 50px;
- text-align: right;
- }
- #permalink p.noteCount {
- color: {color:Permalink Notes Text};
- margin-bottom: 1em;
- }
- /* Notes */
- #permalink aside ol {
- color: {color:Permalink Notes Text};
- list-style: none;
- }
- #permalink aside a {
- text-decoration: none;
- color: {color:Permalink Notes Link};
- }
- #permalink aside a:hover {
- color: {color:Permalink Notes Link Hover};
- }
- #permalink aside blockquote {
- margin: 0.6em 0 0.6em 1.5em;
- }
- #permalink aside img {
- display: none;
- }
- /* Pagination */
- article nav {
- display: none;
- }
- /* Infinite Scroll */
- #infscr-loading {
- opacity: 0;
- }
- /* Install Theme Button */
- #installTheme {
- opacity: 0;
- display: block;
- position: fixed;
- top: 26px;
- right: 3px;
- border: 0px;
- padding: 0 5px 0 20px;
- height: 20px;
- z-index: 20;
- overflow: hidden;
- font: 600 12px/18px "Helvetica Neue","HelveticaNeue",Helvetica,Arial,sans-serif;
- text-decoration: none;
- color: #fff;
- border: 1px solid rgba(0,0,0,0.18);
- background: rgba(0,0,0,0.38);
- text-shadow: 1px 1px 0 rgba(0,0,0,0.08);
- -webkit-font-smoothing: antialiased;
- -webkit-border-radius: 2px;
- -moz-border-radius: 2px;
- border-radius: 2px;
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- -ms-box-sizing: border-box;
- -o-box-sizing: border-box;
- box-sizing: border-box;
- -webkit-transition-property: padding;
- -moz-transition-property: padding;
- -ms-transition-property: padding;
- -o-transition-property: padding;
- transition-property: padding;
- -webkit-transition-duration: .1s;
- -moz-transition-duration: .1s;
- -ms-transition-duration: .1s;
- -o-transition-duration: .1s;
- transition-duration: .1s;
- -webkit-transition-timing-function: ease;
- -moz-transition-timing-function: ease;
- -ms-transition-timing-function: ease;
- -o-transition-timing-function: ease;
- transition-timing-function: ease;
- }
- #installTheme:before {
- display: block;
- content: "";
- position: absolute;
- top: 0;
- left: 0;
- bottom: 0;
- width: 20px;
- -webkit-border-radius: inherit;
- -moz-border-radius: inherit;
- border-radius: inherit;
- background:url("http://static.tumblr.com/y5ttuyf/VQTmmzd7q/install_theme.png") 0 0 no-repeat;
- }
- #installTheme:after {
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- content: '';
- -webkit-border-radius: inherit;
- -moz-border-radius: inherit;
- border-radius: inherit
- }
- #installTheme:hover:after, #installTheme:focus:after {
- background: rgba(255,255,255,0.09)
- }
- #installTheme:active:after {
- background: rgba(255,255,255,0.18)
- }
- /* CustomCSS */
- {CustomCSS}
- </style>
- </head>
- <body>
- <header>
- <h1>
- {block:IfTitleImageImage}
- <img src="{image:Title Image}">
- {/block:IfTitleImageImage}
- {block:IfNotTitleImageImage}
- {title}
- {/block:IfNotTitleImageImage}
- </h1>
- <nav>
- <ul>
- <li><a href="/">Home</a></li>
- <li><a href="/archive/">Archive</a></li>
- {block:AskEnabled}
- <li><a href="/ask" >{AskLabel}</a></li>
- {/block:AskEnabled}
- {block:HasPages}{block:Pages}
- <li><a href="{URL}">{Label}</a></li>
- {/block:Pages}{/block:HasPages}
- {block:IfLink1Title}
- <li><a href="{text:Link 1 URL}" target="_blank">{text:Link 1 Title}</a></li>
- {/block:IfLink1Title}
- {block:IfLink2Title}
- <li><a href="{text:Link 2 URL}" target="_blank">{text:Link 2 Title}</a></li>
- {/block:IfLink2Title}
- {block:IfLink3Title}
- <li><a href="{text:Link 3 URL}" target="_blank">{text:Link 3 Title}</a></li>
- {/block:IfLink3Title}
- {block:IfLink4Title}
- <li><a href="{text:Link 4 URL}" target="_blank">{text:Link 4 Title}</a></li>
- {/block:IfLink4Title}
- {block:IfLink5Title}
- <li><a href="{text:Link 5 URL}" target="_blank">{text:Link 5 Title}</a></li>
- {/block:IfLink5Title}
- </ul>
- </nav>
- {block:IfShowDescription}
- {block:Description}
- <p class="description">{Description}</p>
- {/block:Description}
- {/block:IfShowDescription}
- </header>
- <article id="{block:IndexPage}index{/block:IndexPage}{block:PermalinkPage}permalink{/block:PermalinkPage}">
- {block:Posts}
- {block:Text}
- <section class="text">
- <h2>{Title}</h2>
- {Body}
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {/block:Text}
- {block:Photo}
- <section class="photo">
- {block:IndexPage}
- <a href="{Permalink}" target="_blank">
- <img src="{PhotoURL-250}" alt="{PhotoAlt}">
- </a>
- {/block:IndexPage}
- {block:PermalinkPage}
- {LinkOpenTag}
- <img src="{PhotoURL-500}" alt="{PhotoAlt}">
- {LinkCloseTag}
- {block:Caption}{caption}{/block:Caption}
- {block:IfShowHighResLink}
- {block:HighRes}<p class="highRes">High-Res:<a href="{PhotoURL-HighRes}">{PhotoWidth-HighRes} × {PhotoHeight-HighRes}</a></p>{/block:HighRes}
- {/block:IfShowHighResLink}
- {/block:PermalinkPage}
- {/block:Photo}
- {block:Photoset}
- <section class="photoset">
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="cover"></a>
- {Photoset-250}
- {/block:IndexPage}
- {block:PermalinkPage}
- {Photoset-500}
- {block:Caption}{caption}{/block:Caption}
- {/block:PermalinkPage}
- {/block:Photoset}
- {block:Quote}
- <section class="quote">
- <p>“{Quote}”</p>
- {block:Source}<p class="right">{Source}</p>{/block:Source}
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {/block:Quote}
- {block:Link}
- <section class="link">
- <h2><a href="{URL}">{Name}</a></h2>
- {block:Description}{Description}{/block:Description}
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {/block:Link}
- {block:Chat}
- <section class="chat">
- {block:Title}<h2>{Title}</h2>{/block:Title}
- <ul>
- {block:Lines}<li>
- {block:Label}
- <span class="label">{Label}</span>
- {/block:Label}
- {Line}
- </li>{/block:Lines}
- </ul>
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {/block:Chat}
- {block:Audio}
- <section class="audio">
- <div class="audioSet">
- {block:AlbumArt}
- <img src="{AlbumArtURL}" alt="{block:Artist}{Artist}{/block:Artist}{block:TrackName} - {TrackName}{/block:TrackName}" class="albumArt">
- {/block:AlbumArt}
- {block:AudioPlayer}
- <div class="audioPlayer">
- {AudioPlayerBlack}
- </div>
- {/block:AudioPlayer}
- </div>
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {block:PermalinkPage}
- <p>{block:Artist}{Artist}{/block:Artist}{block:TrackName} - {TrackName}{/block:TrackName}</p>
- {block:Caption}{Caption}{/block:Caption}
- {/block:PermalinkPage}
- {/block:Audio}
- {block:Video}
- <section class="video">
- {block:IndexPage}
- {Video-250}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {block:PermalinkPage}
- {Video-500}
- {block:Caption}{Caption}{/block:Caption}
- {/block:PermalinkPage}
- {/block:Video}
- {block:Answer}
- <section class="answer">
- <p>{Asker}: {Question}</p>
- <p class="right">{Answer}</p>
- {block:IndexPage}
- <a href="{Permalink}" target="_blank" class="permalink">+</a>
- {/block:IndexPage}
- {/block:Answer}
- {block:PermalinkPage}
- {block:IfShowTag}
- {block:HasTags}
- <p class="tag">Tagged:{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</p>
- {/block:HasTags}
- {/block:IfShowTag}
- {block:Date}<p class="date">{Month} {DayOfMonth}, {Year}</p>{/block:Date}
- {block:NoteCount}
- <p class="noteCount">{NoteCountWithLabel}</p>
- {/block:NoteCount}
- {/block:PermalinkPage}
- </section>
- {/block:Posts}
- {block:IndexPage}
- {block:Pagination}
- <nav>
- <ul>
- {block:PreviousPage}
- <li><a href="{PreviousPage}">«</a></li>
- {/block:PreviousPage}
- {block:NextPage}
- <li><a id="nextPage" href="{NextPage}">»</a></li>
- {/block:NextPage}
- </ul>
- </nav>
- {/block:Pagination}
- {/block:IndexPage}
- {block:PermalinkPage}
- {block:PostNotes}
- <aside>
- {PostNotes}
- </aside>
- {/block:PostNotes}
- {/block:PermalinkPage}
- {block:Pages}{/block:Pages}
- </article>
- <a href="http://www.tumblr.com/theme/37278" id="installTheme" target="_blank">Install Theme</a>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement