williamhiddles

THEME 12

Apr 17th, 2018
1,520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.70 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!-----------base code by clumhood
  5. ADAPTED BY @ joesmazzellos
  6. ------------>
  7.  
  8. <title>{Title}</title>
  9. <link rel="shortcut icon" href="{Favicon}">
  10. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  11. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  12.  
  13.  
  14. <!--------DEFAULT VARIABLES-------->
  15.  
  16. <meta name="color:background" content="#ffffff"/>
  17. <meta name="color:text" content="#333333"/>
  18. <meta name="color:links" content="#5b5b5b"/>
  19. <meta name="color:links hover" content="#c9c9c9"/>
  20. <meta name="color:scrollbar bg" content="#ffffff"/>
  21. <meta name="color:scrollbar" content="#eeeeee">
  22. <meta name="color:accent" content="#000000"/>
  23. <meta name="color:bold" content="#333333"/>
  24.  
  25.  
  26. <meta name="image:sidebar image" content=""/>
  27. <meta name="image:background image" content=""/>
  28.  
  29. <meta name="text:link 1 title" content="link 1">
  30. <meta name="text:link 1 url" content=" ">
  31. <meta name="text:link 2 title" content="link 2">
  32. <meta name="text:link 2 url" content=" ">
  33. <meta name="text:link 3 title" content="link 3">
  34. <meta name="text:link 3 url" content=" ">
  35.  
  36. <meta name="if:show link 1" content="1" />
  37. <meta name="if:show link 2" content="1" />
  38. <meta name="if:show link 3" content="1" />
  39. <meta name="if:show sidebar image" content="1" />
  40. <meta name="if:show side title" content="1" />
  41.  
  42.  
  43. <!----------------SCRIPTS---------------->
  44.  
  45. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  46. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
  47. <link href="http://static.tumblr.com/5omyijl/bzrn2yg7i/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  48. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  49. <script src="http://static.tumblr.com/5omyijl/RZtn2yg9v/jquery.style-my-tooltips.js"></script>
  50. <script>
  51. (function($){
  52. $(document).ready(function(){
  53. $("[title]").style_my_tooltips({
  54. tip_follows_cursor:true,
  55. tip_delay_time:200,
  56. tip_fade_speed:300
  57. });
  58. });
  59. })(jQuery);
  60. </script>
  61.  
  62. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
  63. <script>
  64. /* questions? ask oddhour.tumblr.com */
  65. var updatePhotosetCss = "<style id='updatePhotosetStyle'> .photoset .photoset_row img { display: block; } .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 .photoset_photo { margin-left: 4px; } .photoset .photoset_row { text-align: center; width: 540px; } .photoset { width: 540px; }</style>";
  66. function updatePhotoset() {
  67.  
  68. $(".photoset:not(.540-resized)").each( function (i, e) {
  69. if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
  70. $(this.contentDocument).find("head").append(updatePhotosetCss);
  71. var photoset = $(this.contentDocument).find(".photoset");
  72. var photosetRows = photoset.find(".photoset_row");
  73. photoset.find(".photoset_photo")
  74. .each(function () {
  75. var hiResSrc = $(this).attr("href");
  76. var img = $(this).find('img');
  77. img.attr("src", hiResSrc );
  78. img.attr("style", "");
  79. });
  80. photosetRows.attr("style", "");
  81. photoset.attr("style","");
  82. photoset.addClass("540-resized");
  83. $(this).height($(this.contentDocument.body).height());
  84. });
  85. }
  86.  
  87. updatePhotoset();
  88.  
  89. var photosetTimer = setInterval(updatePhotoset, 1500);
  90. $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
  91. </script>
  92. <!-------------------------------------------------------------------->
  93.  
  94.  
  95. <!------------------------UNNEST SCRIPT--------------------->
  96. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  97. </script><script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  98. <script>
  99. $(function(){ $('.posts').unnest({
  100. yourCaption: ".caption",
  101. wrapName: ".cap",
  102. newCaptionUsername: true,
  103. originalPostCaptionUsername: false,
  104. tumblrAvatars: true,
  105. tumblrAvatarClass: ".icon",
  106. usernameColon: false
  107. }); }); </script>
  108. <!------------------------TOOLTIPS SCRIPT--------------------->
  109.  
  110. <link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet">
  111.  
  112. <style type="text/css">
  113.  
  114.  
  115. /*----------tooltips---------*/
  116.  
  117. #s-m-t-tooltip {
  118. max-width:300px;
  119. margin:15px;
  120. padding:5px;
  121. border:1px solid #eeeeee;
  122. border-radius:0px;
  123. background:#ffffff;
  124. color:{color:text};
  125. z-index:999999;
  126. font-size:9px;
  127. font-style:bold;
  128. font-weight:lighter;
  129. letter-spacing:2px;
  130. font-family:'arial', montserrat;
  131. text-transform:uppercase;
  132. box-shadow:1px 1px 3px rgba(0,0,0,.0);
  133. }
  134.  
  135. /*----------SCROLLBAR---------*/
  136.  
  137. ::-webkit-scrollbar {
  138. background-color: {color:scrollbar bg};
  139. height:8px;
  140. width:5px;
  141. }
  142.  
  143. ::-webkit-scrollbar-thumb:vertical {
  144. background-color:{color:scrollbar};
  145. height:50px;
  146. }
  147.  
  148. ::-webkit-scrollbar-thumb:horizontal {
  149. background-color:{color:scrollbar bg};
  150. height:8px;
  151. }
  152.  
  153. /*----------unnest---------*/
  154.  
  155. .tumblr_blog {
  156. display:block;
  157. vertical-align:middle; /* this is to center the url to the height of the icon */
  158. line-height:20px; /* change this to the height of the icon */
  159. margin-bottom:5px;
  160. font-family:'montserrat';
  161. font-size:11px;
  162. text-transform:uppercase;
  163. font-weight:bold!important;
  164. color:{color:links};
  165. }
  166.  
  167. .tumblr_blog a:hover {
  168. text-decoration:underline;
  169. color:{color:links hover};
  170. }
  171.  
  172. .icon {
  173. width:20px; /* size of the icon */
  174. height:20px; /* size of the icon */
  175. margin-right:10px; /* space between icon and url */
  176. display:inline-block;
  177. float:left;
  178. border-radius:2px; /* change to 100% for circular icon */
  179. }
  180.  
  181. .cap {
  182. margin-left:0px;
  183. width:500px;
  184. }
  185.  
  186. .cap blockquote {
  187. width:500px;
  188. margin-left:0px;
  189. }
  190.  
  191. /*----------BASICS---------*/
  192.  
  193. body {
  194. background:{color:background} url({image:background image}) repeat right top fixed;
  195. color:{color:text};
  196. font-family:'lato';
  197. line-height:15px;
  198. font-size:11px;
  199. margin:0;
  200. text-align:left;
  201. }
  202.  
  203. blockquote {
  204. padding-left:10px;
  205. border-left:1px solid;
  206. border-color:#eeeeee;
  207. margin:10px;
  208. }
  209.  
  210. a {
  211. color:{color:links};
  212. text-decoration:none;
  213. }
  214.  
  215. a:hover {
  216. text-decoration:none;
  217. color: {color:links hover};
  218. -webkit-transition:all 0.5s;
  219. -moz-transition:all 0.5s;
  220. -ms-transition:all 0.5s;
  221. -o-transition:all 0.5s;
  222. transition:all 0.5s;
  223. }
  224.  
  225. img {
  226. opacity:1;
  227. text-decoration:none;
  228. }
  229.  
  230. small {
  231. font-size:9px;
  232. font-weight:none;
  233. }
  234.  
  235. h1 {
  236. font-size:15px;
  237. font-weight:bold;
  238. }
  239.  
  240.  
  241. /*----------SIDEBAR---------*/
  242.  
  243. .sidebar {
  244. position:fixed;
  245. top:200px;
  246. width:245px;
  247. margin-left:215px;
  248. }
  249.  
  250. .sidebarimage {
  251. width:245px;
  252. }
  253.  
  254. .title {
  255. font-size:15px;
  256. text-align:center;
  257. text-transform:uppercase;
  258. font-family:'montserrat';
  259. font-weight:bold;
  260. color:{color:links};
  261. margin-top:10px;
  262. width:250px;
  263. }
  264.  
  265. .description {
  266. width:240px;
  267. text-align:center;
  268. font-family:'lato';
  269. margin-top:10px;
  270. }
  271.  
  272. .links {
  273. width:245px;
  274. height:5px;
  275. padding:9px;
  276. font-size:12px;
  277. font-family:'montserrat';
  278. font-weight:bold;
  279. text-align:center;
  280. margin-top:115px;
  281. margin-left:190px;
  282. text-align:left;
  283. text-transform:uppercase;
  284. word-spacing:-2px;
  285. position:fixed;
  286. padding-bottom:7px;
  287. color:{color:links};
  288. }
  289.  
  290. .links a {
  291. display:inline-block;
  292. padding:8px;
  293. color:{color:links};
  294. letter-spacing:0px;
  295. border-bottom:0px solid #eee;
  296. }
  297.  
  298. /*----------PAGINATION---------*/
  299.  
  300. .pagination {
  301. padding:10px;
  302. margin-top:10px;
  303. text-align:center;
  304. letter-spacing:1px;
  305. }
  306.  
  307. /*----------POSTS---------*/
  308.  
  309. .entries {
  310. margin-left:580px;
  311. margin-top:50px;
  312. width:540px;
  313. }
  314.  
  315. .posts {
  316. width:540px;
  317. margin-bottom:70px;
  318. }
  319.  
  320. .oddhour-high-res { width: 540px; text-align: center; }
  321. .oddhour-high-res img { max-width: 100%; }
  322.  
  323. /*----------quotes---------*/
  324.  
  325. .quote {
  326. text-transform:uppercase;
  327. font-size:14px;
  328. font-weight:bold;
  329. text-align:center;
  330. }
  331.  
  332. .quotesource {
  333. text-align:center;
  334. margin-top:10px;
  335. }
  336.  
  337. /*----------CHAT---------*/
  338.  
  339. .chat {
  340. line-height:150%;
  341. list-style:none;
  342. }
  343.  
  344. .line.odd {
  345. padding:10px;
  346. background:#f8f8f8;
  347. }
  348.  
  349. .line.even {
  350. padding:10px;
  351. }
  352.  
  353. .label {
  354. text-transform:uppercase;
  355. font-size:10px;
  356. letter-spacing:1px;
  357. font-weight:bold;
  358. }
  359.  
  360. /*----------AUDIO---------*/
  361.  
  362. .cover {
  363. position:relative;
  364. z-index:1;
  365. max-width:100px;
  366. padding:10px;
  367. float:left;
  368. }
  369.  
  370. .playerbutton {
  371. position:relative;
  372. width:30px;
  373. height:35px;
  374. overflow:hidden;
  375. }
  376.  
  377. .playerbuttonhug {
  378. position: absolute;
  379. top:-7px;
  380. left:2px;
  381. }
  382.  
  383. .tumblr_audio_player {
  384. height:50px;
  385. width:500px;
  386. }
  387.  
  388. .playerbuttonbg {
  389. position:absolute;
  390. width:35px;
  391. height:35px;
  392. background-color:#e4e4e4;
  393. padding:10px;
  394. }
  395.  
  396. .trackdetails {
  397. width:auto;
  398. display:inline-block;
  399. margin-left:70px;
  400. font-size:10px;
  401. letter-spacing:1px;
  402. text-transform:lowercase;
  403. padding:5px;
  404. line-height:15px;
  405. }
  406.  
  407. .audiowrapper {
  408. position:relative;
  409. display:inline-block;
  410. }
  411.  
  412. .spotify_audio_player {
  413.  
  414. height: 80px !important;
  415.  
  416. }
  417.  
  418. /*----------questions---------*/
  419.  
  420. .question {
  421. background:transparent;
  422. padding:10px;
  423. }
  424.  
  425. .asker {width:540px; margin-bottom:5px; padding-left:7px; text-align:left; font-family:'lato'; color:{color:accent}; text-overflow:ellipsis}
  426.  
  427.  
  428. .answer {
  429. padding:10px;
  430. margin-top:-15px;
  431. }
  432.  
  433.  
  434. /*----------INFO---------*/
  435.  
  436. .info {
  437. padding:10px;
  438. font-family:'lato';
  439. font-size:10px;
  440. font-weight:bold;
  441. color:{color:accent};
  442. text-transform:uppercase;
  443. border-top:1px solid #eee;
  444. margin-top:25px;
  445. }
  446.  
  447.  
  448. .tags {
  449. margin-left:10px;
  450. margin-top:-5px;
  451. font-size:11px;
  452. font-family:'arial';
  453. letter-spacing:0px;
  454. font-style:italic;
  455. text-transform:lowercase;
  456. }
  457.  
  458. .tags a {
  459. margin-right:10px;
  460. letter-spacing:0px;
  461. }
  462.  
  463. /*----------POST NOTES---------*/
  464.  
  465. ol.notes {
  466. padding:0px;
  467. margin:25px 0px 0px -10px;
  468. list-style-type:none;
  469. }
  470.  
  471. ol.notes li.note {
  472. padding:10px;
  473. }
  474.  
  475. ol.notes li.note img.avatar {
  476. vertical-align:-4px;
  477. margin-right:10px;
  478. width:16px;
  479. height:16px;
  480. }
  481.  
  482. ol.notes li.note span.action {
  483. font-weight:none;
  484. }
  485.  
  486. ol.notes li.note .answer_content {
  487. font-weight:normal;
  488. }
  489.  
  490. ol.notes li.note blockquote {
  491. padding:4px 10px;
  492. margin:10px 0px 0px 25px;
  493. }
  494.  
  495. ol.notes li.note blockquote a {
  496. text-decoration:none;
  497. }
  498.  
  499.  
  500. /*----------credit---------*/
  501.  
  502. .credit {
  503. font-size:20px;
  504. position:fixed;
  505. font-weight:bold;
  506. bottom:7px;
  507. right:15px;
  508. z-index:10;
  509. text-align:right;
  510. letter-spacing:1px;
  511. padding:2px;
  512. }
  513.  
  514. .credit a {
  515. color:{color:links};
  516. text-decoration:none;
  517. }
  518.  
  519. .credit a:hover {
  520. color:{color:links hover};
  521. text-decoration:none;
  522. }
  523.  
  524. /*----------tumblr controls---------*/
  525. iframe.tmblr-iframe {
  526. z-index:99999999999999!important;
  527. top:0!important;
  528. right:0!important;
  529. opacity:0.4;
  530. /* delete invert(1) from here */
  531. filter:invert(1) contrast(150%);
  532. -webkit-filter:invert(1) contrast(150%);
  533. -o-filter:invert(1) contrast(150%);
  534. -moz-filter:invert(1) contrast(150%);
  535. -ms-filter:invert(1) contrast(150%);
  536. /* to here if your blog has a dark background */
  537. transform:scale(0.65);
  538. transform-origin:100% 0;
  539. -webkit-transform:scale(0.65);
  540. -webkit-transform-origin:100% 0;
  541. -o-transform:scale(0.65);
  542. -o-transform-origin:100% 0;
  543. -moz-transform:scale(0.65);
  544. -moz-transform-origin:100% 0;
  545. -ms-transform:scale(0.65);
  546. -ms-transform-origin:100% 0;}
  547.  
  548. iframe.tmblr-iframe:hover {
  549. opacity:0.6!important;}
  550.  
  551. </style>
  552. </head>
  553. <body>
  554.  
  555. <div class="credit">
  556. <a title="theme by joesmazzellos" href="http://joesmazzellos.tumblr.com/">✪<a></div>
  557.  
  558.  
  559. <div class="links">
  560. <a href="/"title="home"><i class="fa fa-power-off" aria-hidden="true"></i></a>
  561. <a href="/ask"title="askbox"><i class="fa fa-comment-o" aria-hidden="true"></i></a>
  562. {block:IfShowLink1}
  563. <a href="{text:link 1 url}" title="{text:link 1 title}"><i class="fa fa-heart-o" aria-hidden="true"></i></a>
  564. {/block:IfShowLink1}
  565. {block:IfShowLink2}
  566. <a href="{text:link 2 url}" title="{text:link 2 title}"><i class="fa fa-folder-open-o" aria-hidden="true"></i></a>
  567. {/block:IfShowLink2}
  568. {block:IfShowLink3}
  569. <a href="{text:link 3 url}" title="{text:link 3 title}"><i class="fa fa-code" aria-hidden="true"></i></a>
  570. {/block:IfShowLink3}
  571. </div>
  572.  
  573.  
  574. <div class="sidebar">
  575. {block:IfShowSidebarImage}
  576. <div class="sidebarimage">
  577. <img src="{image:sidebar image}"></div>
  578. {/block:IfShowSidebarImage}
  579. {block:IfShowSideTitle}
  580. <div class="title">{Title}</div>
  581. {/block:IfShowSideTitle}
  582.  
  583.  
  584. <div class="description">{Description}</div>
  585.  
  586. <div class="pagination">
  587. {block:Pagination}
  588. {block:PreviousPage}
  589. <a href="{PreviousPage}"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>{/block:PreviousPage}&nbsp; &nbsp;&nbsp;
  590.  
  591. {block:NextPage}
  592. <a href="{NextPage}"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>
  593. {/block:NextPage}
  594. {/block:Pagination}
  595. </div>
  596. </div>
  597.  
  598. <div class="entries">
  599. {block:Posts}
  600. <div class="posts">
  601.  
  602. {block:Text}
  603. <h1>{block:Title}{Title}{/block:Title}</h1>
  604. <div class="caption">
  605. {Body}
  606. </div>
  607. {/block:Text}
  608.  
  609.  
  610. {block:Photo}
  611. {LinkOpenTag}<div class="oddhour-high-res">
  612. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}">
  613. </div>{LinkCloseTag}
  614. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  615. {/block:Photo}
  616.  
  617.  
  618. {block:Photoset}
  619. <div class="media">{photoset}</div>
  620. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  621. {/block:Photoset}
  622.  
  623.  
  624. {block:Quote}
  625. <div class="quote">"{Quote}"</div>
  626. {block:Source}<div class="quotesource"> — {Source}</div>
  627. {/block:Source}{/block:Quote}
  628.  
  629.  
  630. {block:Link}
  631. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  632. {block:Description}{Description}{/block:Description}
  633. {/block:Link}
  634.  
  635.  
  636. {block:Chat}
  637. {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>
  638. {/block:Chat}
  639.  
  640.  
  641. {block:Audio}
  642. {block:AudioPlayer}
  643. <div class="audiowrapper">
  644. <div class="playerbuttonbg">
  645. <div class="playerbutton">
  646. <div class="playerbuttonhug">
  647. {AudioPlayerGrey}
  648. </div></div></div>
  649.  
  650. <div class="trackdetails">
  651. {block:TrackName}<b>TRACK:</b> {TrackName}{/block:TrackName}<br>
  652.  
  653. {block:Artist}<b>ARTIST:</b> {Artist}{/block:Artist}<br>
  654.  
  655. <b>PLAYS:</b> {FormattedPlayCount}</div></div>
  656. {/block:AudioPlayer}
  657.  
  658. {block:Caption}
  659. <div class="caption">{Caption}</div>
  660. {/block:Caption}
  661. {/block:Audio}
  662.  
  663.  
  664. {block:Video}
  665. {Video-500}
  666. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  667. {/block:Video}
  668.  
  669.  
  670. {block:Answer}
  671. <img align="left" src="{AskerPortraitURL-30}"style="border-radius:80px;"> <div id="question" style="width:450px;font-style:bold;"> {Asker} said: {Question}</div> <br>
  672. <div class="caption">
  673. {Answer}
  674. </div>
  675. {/block:Answer}
  676.  
  677.  
  678. <div class="info">
  679. {block:Date}<a href="{Permalink}" title="{TimeAgo}"><font style="color:{color:bold}">{Month} {DayOfMonth}</font></a>
  680.  
  681. &nbsp;&nbsp;
  682. <a href="{Permalink}">{NoteCount} <font style="color:{color:accent}">♡</font></a>
  683. &nbsp;&nbsp;
  684.  
  685. <a href="{ReblogURL}" target="_blank" class="details"><i class="fa fa-refresh" aria-hidden="true"></i></a>
  686.  
  687. <font style="float:right">
  688. {block:RebloggedFrom}
  689. <a href="{ReblogParentURL}" title="{ReblogParentName}"><b>via</b> </a>
  690. {block:ContentSource}
  691. <a href="{ReblogRootURL}" "{ReblogRootName}" title="{ReblogRootName}">/ <b>source</b></a>
  692. {/block:ContentSource}
  693. {/block:RebloggedFrom}
  694.  
  695. </font style>
  696.  
  697.  
  698. </div>
  699.  
  700.  
  701. {block:HasTags}
  702. <div class="tags">
  703. {block:Tags}
  704. <a href="{TagURL}">{Tag}</a>
  705. {/block:Tags}
  706. </div>
  707. {/block:HasTags}
  708.  
  709. </div> {/block:Date}
  710.  
  711.  
  712. {block:PostNotes}
  713. {PostNotes}
  714. {/block:PostNotes}
  715.  
  716. {/block:Posts}
  717.  
  718. {block:ContentSource}
  719. <!---{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  720. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  721. {/block:SourceLogo}
  722. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} --->
  723. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  724.  
  725. </body>
Advertisement
Add Comment
Please, Sign In to add comment