Advertisement
Guest User

zach1

a guest
Feb 25th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.25 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. theme 001 by @scarletwitch
  8. edit to your hearts desire, but do not remove credit
  9. caption script: @magnusthemes & @neothm
  10. support both dimensions: @oddhour
  11. -->
  12.  
  13. <title>{title}</title>
  14. {block:Description}
  15. <meta name="description" content="{MetaDescription}"/>
  16. {/block:Description}
  17. <link rel="shortcut icon" href="{Favicon}"/>
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}"/>
  19. <link href="https://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  20.  
  21.  
  22. <meta name="text:font family" content="">
  23. <meta name="text:font size" content="11">
  24.  
  25. <meta name="image:Sidebar Image" content=""/>
  26.  
  27. <meta name="color:Background" content="#ffffff"/>
  28. <meta name="color:Text" content="#4f4f4f"/>
  29. <meta name="color:Link" content="#707070"/>
  30. <meta name="color:Blockquote" content="#a2a19f"/>
  31. <meta name="color:Border" content="#f0f0f0"/>
  32. <meta name="color:Link Hover" content="#303030"/>
  33. <meta name="color:Link Hover Bkg" content=""/>
  34. <meta name="color:Accent" content="#ad9e85">
  35.  
  36. <meta name="text:Link 1" content="">
  37. <meta name="text:Link 1 Title" content="">
  38. <meta name="text:Link 2" content="">
  39. <meta name="text:Link 2 Title" content="">
  40.  
  41. <link href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700" rel="stylesheet">
  42.  
  43. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script><script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script><script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  44.  
  45. <script>
  46. (function($){
  47. $(document).ready(function(){
  48. $("a[title]").style_my_tooltips({
  49. tip_follows_cursor:true,
  50. tip_delay_time:20,
  51. tip_fade_speed:300,
  52. attribute:"title"
  53. });
  54. });
  55. })(jQuery);
  56. </script>
  57.  
  58. <style type="text/css">
  59.  
  60. /* tooltip */
  61. #s-m-t-tooltip{
  62. max-width:300px;
  63. margin:10px;
  64. padding:3px 10px;
  65. background:{color:background};
  66. color:{color:text};
  67. z-index:999999;
  68. font-style:none;
  69. box-shadow:1px 1px 3px rgba(0,0,0,.1);
  70. }
  71.  
  72. body {
  73. background: {color:Background};
  74. color: {color:Text};
  75. font-family:'arial', sans serif;
  76. font-family:{text:font family}, 'arial', sans serif;
  77. line-height:15px;
  78. font-size:11px;
  79. font-size:{text:font size}px;
  80. -moz-osx-font-smoothing:grayscale;
  81. -webkit-font-smoothing:antialiased;
  82. font-smoothing:antialiased;
  83.  
  84. }
  85.  
  86. /* links */
  87.  
  88. a {
  89. color: {color:Link};
  90. text-decoration:none;
  91. -moz-transition-duration:0.4s;
  92. -webkit-transition-duration:0.4s;
  93. -o-transition-duration:0.4s;
  94.  
  95. }
  96.  
  97. a:hover {
  98. color:{color:Link Hover};
  99. -moz-transition-duration:0.4s;
  100. -webkit-transition-duration:0.4s;
  101. -o-transition-duration:0.4s;
  102. }
  103.  
  104. /* typography */
  105. ul {
  106. list-style: none;
  107. margin-left: 0;
  108. padding-left: 0;
  109. }
  110.  
  111. li {
  112. padding-left: 1em;
  113. text-indent: -1em;
  114. }
  115.  
  116. li:before {
  117. content: "› ";
  118. display:inline;
  119. padding-right: 5px;
  120. }
  121.  
  122. @font-face { font-family: Prosto; src: url('http://static.tumblr.com/gfhiops/StGoebsd0/prosto_sans_bold.otf'); font-weight:bold;}
  123.  
  124. h1, h2 {
  125. font-size: 14px;
  126. font-weight: bold;
  127. }
  128.  
  129. h3, h4, h5, h6 {
  130. font-size: 12px;
  131. font-style: italic;
  132. }
  133.  
  134. blockquote {
  135. margin:10px 0px 5px 0px;
  136. border-left:solid 2px {color:border};
  137. line-height:1.3;
  138. padding-left:10px;
  139. padding-right:5px
  140. }
  141.  
  142. b a{color:{color:text};}
  143.  
  144. big{
  145. font-size:{text:font size}px;
  146. }
  147. small, sub{
  148. font-size:{text:font size}px;
  149. }
  150.  
  151. /*main*/
  152. #container {
  153. position: relative;
  154. width: 730px;
  155. margin: 30px auto;
  156. }
  157.  
  158. /* sidebar */
  159. aside {
  160. margin:110px 0 0 -140px;
  161. width:180px;
  162. position:fixed;
  163. text-align:center;
  164. float:left;
  165. }
  166. aside img {
  167. width:180px;
  168. margin:0px 0 0px 3px;
  169. }
  170. nav {
  171. border-top:1px solid {color:border};
  172. padding:3px 0 0 0;
  173. margin:10px auto;
  174. text-align:center;
  175. }
  176.  
  177. nav a {
  178. margin-right:5px;
  179. color:{color:accent};
  180. font-weight:bold;
  181. -webkit-transition: .2s;
  182. }
  183. nav a:last-of-type{margin-right:0px;}
  184. nav a:hover {
  185. color:{color:link hover};
  186. }
  187. select {
  188. border:none;
  189. padding:3px 1px;
  190. border-bottom:1px solid {color:border};
  191. -webkit-appearance: none;
  192. border-radius:0px;
  193. cursor:pointer;
  194. }
  195.  
  196. /* post */
  197. #entries {
  198. width:540px;
  199. margin:75px 50px 50px 0px;
  200. float:right;
  201. }
  202.  
  203. .posts {
  204. width:540px;
  205. margin-bottom:100px;
  206. }
  207.  
  208. .posts img {max-width:540px;}
  209.  
  210. /* caption */
  211. .caption {
  212. width:540px;
  213. border:0;
  214. }
  215.  
  216. .cap a.tumblr_blog {
  217. display:block;
  218. vertical-align:middle;
  219. line-height:18px;
  220. margin-bottom:5px;
  221. font-weight:600;
  222. color:{color:accent}!important;
  223.  
  224. }
  225. .cap a.tumblr_blog:hover{
  226. color:{color:link hover}!important;
  227. }
  228.  
  229. .cap .icon{
  230. width:18px;
  231. height:18px;
  232. margin-right:10px;
  233. display:inline-block;
  234. float:left;
  235. border-radius:2px; /*change to 100% for circular image */
  236. }
  237. .cap {
  238. color:black;
  239. margin:0px 0 0 0;
  240. padding:8px 0 0 0;
  241. border:0;
  242. border-top:0px dotted #eeeeee;
  243. }
  244. .cap p{ margin:2px 0 0px 0;}
  245.  
  246. /* asks */
  247.  
  248. #ask {
  249. width:510px;
  250. word-spacing:2px;
  251. line-height:13px;
  252. padding:15px;
  253. background:#f8f8f8;
  254. }
  255.  
  256. .askimg {
  257. width: 48px;
  258. float: left;
  259. display:inline;
  260. border-radius:100%;
  261. margin-left:0px;
  262. }
  263.  
  264. .askimg img{border-radius:100%;}
  265.  
  266. .question {
  267. width:440px;
  268. float: right;
  269. margin-right:5px;
  270. min-height: 43px;
  271. text-align: left;
  272. line-height:13px;
  273. }
  274.  
  275. .asker {
  276. display:block;
  277. text-transform:lowercase;
  278. font-weight:bold;
  279. }
  280.  
  281. .answer .cap {
  282. margin:0;
  283. padding-top:0px;
  284. padding-bottom:4px;
  285. }
  286.  
  287. .answer .cap p{
  288. line-height:12px;
  289. font-weight:normal;
  290. border-left:solid 0px rgba(0,0,0,0.12);
  291. }
  292.  
  293. .answer .icon {display:none;}
  294. .answer a.tumblr_blog {font-weight:normal;margin:0;}
  295. .answer a.tumblr_blog::after{
  296. content:" answered:";
  297. }
  298. .clear {
  299. clear: both;
  300. }
  301.  
  302. /* quote */
  303. #titlequote {font-size:14px;}
  304. #source { font-size:11px;margin:10px 0 0 0;}
  305. #source a.tumblr_blog{display:inline;}
  306.  
  307. /* chat */
  308. .chat {
  309. margin:0;
  310. padding:0;
  311. list-style:none;
  312. }
  313.  
  314. .l {
  315. padding-bottom:15px;
  316. margin-top:15px;
  317. border-bottom:1.5px dotted {color:border};
  318. }
  319.  
  320. .label {
  321. font-weight:bold;
  322. color:{color:title};
  323. display:inline-block;
  324. }
  325.  
  326. .l:first-of-type {margin-top:0;}
  327.  
  328. .l:last-of-type {
  329. padding-bottom:0;
  330. border:0;
  331. }
  332.  
  333. /* permalink */
  334.  
  335. #info {
  336. border-top:0px solid #f1f1f1;
  337. padding:5px 0;
  338. text-align:left;
  339. margin-left:0px;
  340. margin-top:7px;
  341. font-size:11px;
  342. {block:ifnotags}margin-top:15px;{/block:ifnotags}
  343. }
  344.  
  345. #info img{
  346. margin-top:-5px;
  347. width:13px;
  348. border-radius:100%;
  349. margin-left:2px;
  350. }
  351.  
  352. #tags {
  353. padding:3px 0;
  354. margin-left:0px;
  355. text-align:left;
  356. }
  357.  
  358. #tags a {
  359. margin-right:4px;
  360. color:{color:link};
  361. }
  362. #tags a:hover {
  363. color:{color:link hover};
  364. }
  365.  
  366. .pagenotes {
  367. width:540px;
  368. margin-top:-25px;
  369. text-transform:lowercase;
  370. }
  371.  
  372. .pagenotes a {color:{color:text};}
  373.  
  374. ol.notes li.note::before {
  375. content:'› ';
  376. margin-right:5px;
  377. display:inline;
  378. }
  379. ol.notes {
  380. list-style-type:none;
  381. text-align:left;
  382. padding:0px;
  383. margin:0px;
  384. }
  385.  
  386. ol.notes li.note {
  387. display:block;
  388. padding:0;
  389. margin:5px 0;
  390. }
  391.  
  392. ol.notes li.note img.avatar {display:none!important;}
  393.  
  394. #tumblr_controls,.tmblr-iframe.tmblr-iframe--desktop-logged-in-controls {
  395. position:fixed!important;
  396. top:0!important;
  397. right:0!important;
  398. -webkit-filter:invert(100%);
  399. -webkit-backface-visibility:hidden;
  400. padding:10px 10px 10px 10px;
  401. -webkit-transition:opacity .3s ease-out;
  402. transition:opacity .3s ease-out5
  403. }
  404.  
  405. #credit a{
  406. font-size:12px;
  407. color:black;
  408. font-weight:bold;
  409. position:fixed;
  410. bottom:15px;
  411. right:15px;
  412. }
  413. </style>
  414.  
  415. </head>
  416.  
  417. <body>
  418.  
  419. <div id="credit"><a href="http://scarletwitch.tumblr.com/" title="theme by scarlet witch">☀</a></div>
  420. <div id="container">
  421.  
  422. <aside>
  423.  
  424. <a href="/"><img class="sidebar" src="{image:Sidebar Image}"></a>
  425. <br></br>
  426. <div class="description">
  427. {description}</div>
  428.  
  429. <nav>
  430.  
  431. <a href="/">home</a>
  432. <a href="/faq">ask</a>
  433. <a href="{text:Link 1}">{text:Link 1 Title}</a>
  434. <a href="{text:Link 2}">{text:Link 2 Title}</a>
  435. </nav>
  436.  
  437. <div id="navi">
  438. {block:Pagination}
  439. {block:PreviousPage}<a href="{PreviousPage}">« </a>&nbsp;–&nbsp;{/block:PreviousPage}
  440. {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}
  441. {/block:Pagination}
  442. </div>
  443. </aside>
  444.  
  445. <section id="entries">
  446.  
  447. {block:Posts}
  448. <article class="posts" id="{PostID}">
  449.  
  450. {block:Quote}
  451. <div id="titlequote">"{Quote}"</div>
  452. {block:Source}<div id="source">{Source}</div>{/block:Source}
  453.  
  454. {/block:Quote}
  455.  
  456. {block:Text}
  457. {block:Title}
  458. <span style="font-size:11px;color:#666;font-weight:bold;">{Title}</span>{/block:Title}
  459. <div class="caption">
  460. {Body}</div>
  461.  
  462. {/block:Text}
  463.  
  464. {block:Link}
  465. <div id="title"><a href="{URL}">{Name}</a></div>
  466. {block:Description}{Description}{/block:Description}
  467.  
  468. {/block:Link}
  469.  
  470. {block:Chat}
  471. {block:Title}<div id="title">{Title}</div>{/block:Title}
  472. <ol class="chat">
  473. {block:Lines}
  474. <li class="l {Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>
  475. {/block:Lines}
  476. </ol>
  477. {/block:Chat}
  478.  
  479. {block:Photo}
  480. <div class="media"><a href="{Permalink}"><img src="{PhotoURL-HighRes}" alt="{PhotoAlt}"/></a></div>
  481. {/block:Photo}
  482.  
  483. {block:Photoset}<div class="media">{photoset}</div>
  484. {block:ifCaption}<div class="caption">{Caption}</div>{/block:ifCaption}
  485.  
  486. {/block:Photoset}
  487.  
  488.  
  489. {block:Video}<div class="media">{Video-500}</div>
  490. {/block:Video}
  491.  
  492. {block:Audio}{block:AudioPlayer}<div class="hold"><div class="player">{AudioPlayergrey}</div></div>{/block:AudioPlayer}<div class="audio_info">{block:TrackName}{TrackName}{/block:TrackName}{block:Artist} by {Artist}{/block:Artist}</div>
  493.  
  494. {/block:Audio}
  495.  
  496. {block:Answer}
  497. <div id="ask">
  498. <div class="question">
  499. <span class="asker">{Asker}</span>
  500. {Question}</div>
  501. <div class="askimg"><img src="{AskerPortraitURL-40}" /></div>
  502. <div class="clear"></div></div><br>
  503. <div class="answer"><div class="caption">{Answer}</div></div>
  504. {/block:Answer}
  505.  
  506. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  507.  
  508. <div style="border-bottom:solid 1px {color:border};margin-top:15px"></div>
  509.  
  510. {block:indexpage}{block:Date}
  511. <div id="info">
  512. <a href="{Permalink}" target="_blank" title="{month} {dayofmonth}{DayOfMonthSuffix}, {year}" ><b>{timeago}</b></a>{block:NoteCount} with <a href="{permalink}">{NoteCountwithlabel}</a>{/block:NoteCount}
  513.  
  514. {block:RebloggedFrom}<span style="float:right;"><a href="{ReblogParentURL}"title="via: {ReblogParentName}"><img src="{ReblogParentPortraitURL-16}"></a>&nbsp;<a href="{ReblogRootURL}" title="source: {ReblogRootName}"><img src="{ReblogRootPortraitURL-16}"></a></span>{/block:RebloggedFrom}</span>
  515.  
  516. {block:HasTags}<div id="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a> {/block:Tags}</div>{/block:HasTags}</div>
  517. {/block:Date}{/block:indexpage}
  518.  
  519. {block:permalinkpage}{block:Date}
  520. <div id="info">
  521. Posted <a href="{Permalink}" target="_blank" title="{month} {dayofmonth}{DayOfMonthSuffix}, {year}" ><b>{timeago}</b></a>{block:NoteCount} with <a href="{permalink}">{NoteCountwithlabel}</a>{/block:NoteCount}
  522.  
  523. {block:RebloggedFrom}<span style="float:right;"><a href="{ReblogParentURL}"title="via: {ReblogParentName}"><img src="{ReblogParentPortraitURL-16}"></a>&nbsp;<a href="{ReblogRootURL}" title="source: {ReblogRootName}"><img src="{ReblogRootPortraitURL-16}"></a></span>{/block:RebloggedFrom}</span>
  524.  
  525. {block:HasTags}<div id="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a> {/block:Tags}</div>{/block:HasTags}</div>
  526. {/block:Date}{/block:permalinkpage}
  527. </article>
  528.  
  529. {block:PostNotes}
  530. <div class="pagenotes">
  531. <div id="title">{notecountwithlabel}</div>
  532. {PostNotes}</div>
  533. {/block:PostNotes}
  534.  
  535. {/block:Posts}
  536.  
  537.  
  538.  
  539. </section>
  540. </div>
  541. {/block:Posts}
  542. </div>
  543.  
  544.  
  545. {block:ContentSource}
  546. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  547. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  548. {/block:SourceLogo}
  549. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  550. {/block:ContentSource}
  551.  
  552. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  553. </script><script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  554. <script>
  555. $('article').unnest({
  556. yourCaption: ".caption",
  557. wrapName: ".cap",
  558. newCaptionUsername: true,
  559. originalPostCaptionUsername: false,
  560. tumblrAvatars: true,
  561. tumblrAvatarClass: ".icon",
  562. usernameColon: false
  563. });
  564. </script>
  565. <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
  566. <script>
  567. /* questions? ask oddhour.tumblr.com */
  568. 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: 178px; } .photoset .photoset_row { text-align: left; width: 540px; } .photoset { width: 540px; }</style>";
  569. function updatePhotoset() {
  570.  
  571. $(".photoset").each( function (i, e) {
  572. if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
  573. $(this.contentDocument).find("head").append(updatePhotosetCss);
  574. var photoset = $(this.contentDocument).find(".photoset");
  575. var photosetRows = photoset.find(".photoset_row");
  576. photoset.find(".photoset_photo")
  577. .each(function () {
  578. var hiResSrc = $(this).attr("href");
  579. var img = $(this).find('img');
  580. img.attr("src", hiResSrc );
  581. img.attr("style", "");
  582. });
  583. photosetRows.attr("style", "").css("margin-bottom", "-5px");
  584. photoset.attr("style","");
  585.  
  586. $(this).height($(this.contentDocument.body).height());
  587. });
  588. }
  589.  
  590. updatePhotoset();
  591.  
  592. var photosetTimer = setInterval(updatePhotoset, 1500);
  593. $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
  594. </script>
  595.  
  596. </body>
  597. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement