Advertisement
williamhiddles

THEME 11

Dec 15th, 2017
899
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.76 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. <meta name="color:subtitle bg" content="#333333"/>
  25.  
  26. <meta name="image:sidebar image" content=""/>
  27. <meta name="image:background image" content=""/>
  28.  
  29. <meta name="text:subtitle" content="subtitle">
  30. <meta name="text:link 1 title" content="link">
  31. <meta name="text:link 1 url" content=" ">
  32. <meta name="text:link 2 title" content="link">
  33. <meta name="text:link 2 url" content=" ">
  34. <meta name="text:link 3 title" content="link">
  35. <meta name="text:link 3 url" content=" ">
  36.  
  37. <meta name="if:show link 1" content="1" />
  38. <meta name="if:show link 2" content="1" />
  39. <meta name="if:show link 3" content="1" />
  40. <meta name="if:show sidebar image" content="1" />
  41. <meta name="if:show side title" content="1" />
  42. <meta name="if:show subtitle" content="1" />
  43.  
  44. <!----------------SCRIPTS---------------->
  45.  
  46. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  47. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
  48. <link href="http://static.tumblr.com/5omyijl/bzrn2yg7i/style-my-tooltips.css" rel="stylesheet" type="text/css" />
  49. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  50. <script src="http://static.tumblr.com/5omyijl/RZtn2yg9v/jquery.style-my-tooltips.js"></script>
  51. <script>
  52. (function($){
  53. $(document).ready(function(){
  54. $("[title]").style_my_tooltips({
  55. tip_follows_cursor:true,
  56. tip_delay_time:200,
  57. tip_fade_speed:300
  58. });
  59. });
  60. })(jQuery);
  61. </script>
  62.  
  63. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
  64. <script>
  65. /* questions? ask oddhour.tumblr.com */
  66. 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>";
  67. function updatePhotoset() {
  68.  
  69. $(".photoset:not(.540-resized)").each( function (i, e) {
  70. if($(this.contentDocument).find("#updatePhotosetStyle").size() <= 0)
  71. $(this.contentDocument).find("head").append(updatePhotosetCss);
  72. var photoset = $(this.contentDocument).find(".photoset");
  73. var photosetRows = photoset.find(".photoset_row");
  74. photoset.find(".photoset_photo")
  75. .each(function () {
  76. var hiResSrc = $(this).attr("href");
  77. var img = $(this).find('img');
  78. img.attr("src", hiResSrc );
  79. img.attr("style", "");
  80. });
  81. photosetRows.attr("style", "");
  82. photoset.attr("style","");
  83. photoset.addClass("540-resized");
  84. $(this).height($(this.contentDocument.body).height());
  85. });
  86. }
  87.  
  88. updatePhotoset();
  89.  
  90. var photosetTimer = setInterval(updatePhotoset, 1500);
  91. $(window).on('load', function () { setTimeout(function() {clearInterval(photosetTimer)}, 2000); })
  92. </script>
  93. <!-------------------------------------------------------------------->
  94.  
  95.  
  96. <!------------------------UNNEST SCRIPT--------------------->
  97. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  98. </script><script src="http://static.tumblr.com/wgg6svp/I8Yobwo15/unnest.min.js"></script>
  99. <script>
  100. $(function(){ $('.posts').unnest({
  101. yourCaption: ".caption",
  102. wrapName: ".cap",
  103. newCaptionUsername: true,
  104. originalPostCaptionUsername: false,
  105. tumblrAvatars: true,
  106. tumblrAvatarClass: ".icon",
  107. usernameColon: false
  108. }); }); </script>
  109. <!------------------------TOOLTIPS SCRIPT--------------------->
  110.  
  111. <style type="text/css">
  112.  
  113.  
  114. /*----------tooltips---------*/
  115.  
  116. #s-m-t-tooltip {
  117. max-width:300px;
  118. margin:15px;
  119. padding:5px;
  120. border:1px solid #eeeeee;
  121. border-radius:0px;
  122. background:#ffffff;
  123. color:{color:text};
  124. z-index:999999;
  125. font-size:9px;
  126. font-style:bold;
  127. font-weight:lighter;
  128. letter-spacing:2px;
  129. font-family:'arial', montserrat;
  130. text-transform:uppercase;
  131. box-shadow:1px 1px 3px rgba(0,0,0,.0);
  132. }
  133.  
  134. /*----------SCROLLBAR---------*/
  135.  
  136. ::-webkit-scrollbar {
  137. background-color: {color:scrollbar bg};
  138. height:8px;
  139. width:5px;
  140. }
  141.  
  142. ::-webkit-scrollbar-thumb:vertical {
  143. background-color:{color:scrollbar};
  144. height:50px;
  145. }
  146.  
  147. ::-webkit-scrollbar-thumb:horizontal {
  148. background-color:{color:scrollbar bg};
  149. height:8px;
  150. }
  151.  
  152. /*----------unnest---------*/
  153.  
  154. .tumblr_blog {
  155. display:block;
  156. vertical-align:middle; /* this is to center the url to the height of the icon */
  157. line-height:20px; /* change this to the height of the icon */
  158. margin-bottom:5px;
  159. font-family:'montserrat';
  160. font-size:11px;
  161. text-transform:uppercase;
  162. font-weight:bold!important;
  163. color:{color:links};
  164. }
  165.  
  166. .tumblr_blog a:hover {
  167. text-decoration:underline;
  168. color:{color:links hover};
  169. }
  170.  
  171. .icon {
  172. width:20px; /* size of the icon */
  173. height:20px; /* size of the icon */
  174. margin-right:10px; /* space between icon and url */
  175. display:inline-block;
  176. float:left;
  177. border-radius:2px; /* change to 100% for circular icon */
  178. }
  179.  
  180. .cap {
  181. margin-left:0px;
  182. width:500px;
  183. }
  184.  
  185. .cap blockquote {
  186. width:500px;
  187. margin-left:0px;
  188. }
  189.  
  190. /*----------BASICS---------*/
  191.  
  192. body {
  193. background:{color:background} url({image:background image}) repeat right top fixed;
  194. color:{color:text};
  195. font-family:'arial';
  196. line-height:15px;
  197. font-size:11px;
  198. margin:0;
  199. text-align:left;
  200. }
  201.  
  202. blockquote {
  203. padding-left:10px;
  204. border-left:1px solid;
  205. border-color:#eeeeee;
  206. margin:10px;
  207. }
  208.  
  209. a {
  210. color:{color:links};
  211. text-decoration:none;
  212. }
  213.  
  214. a:hover {
  215. text-decoration:none;
  216. color: {color:links hover};
  217. -webkit-transition:all 0.5s;
  218. -moz-transition:all 0.5s;
  219. -ms-transition:all 0.5s;
  220. -o-transition:all 0.5s;
  221. transition:all 0.5s;
  222. }
  223.  
  224. img {
  225. opacity:1;
  226. text-decoration:none;
  227. }
  228.  
  229. small {
  230. font-size:10px;
  231. font-weight:none;
  232. }
  233.  
  234. h1 {
  235. font-size:15px;
  236. font-weight:bold;
  237. }
  238.  
  239.  
  240. /*----------SIDEBAR---------*/
  241.  
  242. .sidebar {
  243. position:fixed;
  244. top:120px;
  245. width:245px;
  246. margin-left:215px;
  247. }
  248.  
  249. .sidebarimage {
  250. width:245px;
  251. }
  252.  
  253. .title {
  254. font-size:18px;
  255. text-align:center;
  256. text-transform:uppercase;
  257. font-family:'montserrat';
  258. font-weight:bold;
  259. letter-spacing:2px;
  260. color:{color:links};
  261. margin-top:10px;
  262. width:250px;
  263. }
  264.  
  265. .subtitle {
  266. font-size:9px;
  267. text-align:center;
  268. text-transform:uppercase;
  269. font-family:'lato';
  270. font-weight:normal;
  271. color:{color:background};
  272. margin-top:7px;
  273. background-color:{color:subtitle bg};
  274. width:250px;
  275. }
  276.  
  277. .description {
  278. width:240px;
  279. text-align:center;
  280. font-family:'arial';
  281. margin-top:10px;
  282. }
  283.  
  284. .links {
  285. margin-top:10px;
  286. text-align:center;
  287. text-transform:uppercase;
  288. font-family:'montserrat';
  289. color:{color:links};
  290. }
  291.  
  292. .links a {
  293. display:inline-block;
  294. padding:8px;
  295. color:{color:accent};
  296. letter-spacing:1px;
  297. border-bottom:0px solid #eee;
  298. }
  299.  
  300. /*----------PAGINATION---------*/
  301.  
  302. .pagination {
  303. padding:10px;
  304. margin-top:10px;
  305. text-align:center;
  306. letter-spacing:1px;
  307. }
  308.  
  309. /*----------POSTS---------*/
  310.  
  311. .entries {
  312. margin-left:580px;
  313. margin-top:50px;
  314. width:540px;
  315. }
  316.  
  317. .posts {
  318. width:540px;
  319. margin-bottom:70px;
  320. }
  321.  
  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:'arial'; 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:'arial';
  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:13px;
  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.  
  554. <body>
  555.  
  556. <div class="credit">
  557. <a title="theme by joesmazzellos" href="http://joesmazzellos.tumblr.com/" target="_blank"><i class="fa fa-star" aria-hidden="true"></i></a></div>
  558.  
  559. <div class="sidebar">
  560. {block:IfShowSidebarImage}
  561. <div class="sidebarimage">
  562. <img src="{image:sidebar image}">
  563. </a></div>
  564. {/block:IfShowSidebarImage}
  565.  
  566. {block:IfShowSubTitle}
  567. <div class="subtitle">{text:SubTitle}</div>
  568. {/block:IfShowSubTitle}
  569. {block:IfShowSideTitle}
  570. <div class="title"><a href="/">{Title}</div>
  571. {/block:IfShowSideTitle}
  572.  
  573.  
  574. <div class="links">
  575. <a href="/"title="home"><i class="fa fa-user" aria-hidden="true"></i></a>
  576. <a href="/ask"title="askbox"><i class="fa fa-comment" aria-hidden="true"></i></a>
  577. {block:IfShowLink1}
  578. <a href="{text:link 1 url}" title="{text:link 1 title}"><i class="fa fa-bars" aria-hidden="true"></i></a>
  579. {/block:IfShowLink1}
  580. {block:IfShowLink2}
  581. <a href="{text:link 2 url}" title="{text:link 2 title}"><i class="fa fa-folder-open" aria-hidden="true"></i></a>
  582. {/block:IfShowLink2}
  583. {block:IfShowLink3}
  584. <a href="{text:link 3 url}" title="{text:link 3 title}"><i class="fa fa-code" aria-hidden="true"></i></a>
  585. {/block:IfShowLink3}
  586. </div>
  587.  
  588. <div class="description">{Description}</div>
  589.  
  590.  
  591. <div class="pagination">
  592. {block:Pagination}
  593. {block:PreviousPage}
  594. <a href="{PreviousPage}"><i class="fa fa-arrow-left" aria-hidden="true"></i></a>{/block:PreviousPage}&nbsp; &nbsp;&nbsp;
  595.  
  596. {block:NextPage}
  597. <a href="{NextPage}"><i class="fa fa-arrow-right" aria-hidden="true"></i></a>
  598. {/block:NextPage}
  599. {/block:Pagination}
  600. </div>
  601. </div>
  602.  
  603. <div class="entries">
  604. {block:Posts}
  605. <div class="posts">
  606.  
  607. {block:Text}
  608. <h1>{block:Title}{Title}{/block:Title}</h1>
  609. <div class="caption">
  610. {Body}
  611. </div>
  612. {/block:Text}
  613.  
  614.  
  615. {block:Photo}
  616. {LinkOpenTag}<img src="{PhotoURL-HighRes}">{LinkCloseTag}
  617. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  618. {/block:Photo}
  619.  
  620.  
  621. {block:Photoset}
  622. <div class="media">{photoset}</div>
  623. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  624. {/block:Photoset}
  625.  
  626.  
  627. {block:Quote}
  628. <div class="quote">"{Quote}"</div>
  629. {block:Source}<div class="quotesource"> — {Source}</div>
  630. {/block:Source}{/block:Quote}
  631.  
  632.  
  633. {block:Link}
  634. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  635. {block:Description}{Description}{/block:Description}
  636. {/block:Link}
  637.  
  638.  
  639. {block:Chat}
  640. {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>
  641. {/block:Chat}
  642.  
  643.  
  644. {block:Audio}
  645. {block:AudioPlayer}
  646. <div class="audiowrapper">
  647. <div class="playerbuttonbg">
  648. <div class="playerbutton">
  649. <div class="playerbuttonhug">
  650. {AudioPlayerGrey}
  651. </div></div></div>
  652.  
  653. <div class="trackdetails">
  654. {block:TrackName}<b>TRACK:</b> {TrackName}{/block:TrackName}<br>
  655.  
  656. {block:Artist}<b>ARTIST:</b> {Artist}{/block:Artist}<br>
  657.  
  658. <b>PLAYS:</b> {FormattedPlayCount}</div></div>
  659. {/block:AudioPlayer}
  660.  
  661. {block:Caption}
  662. <div class="caption">{Caption}</div>
  663. {/block:Caption}
  664. {/block:Audio}
  665.  
  666.  
  667. {block:Video}
  668. {Video-500}
  669. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  670. {/block:Video}
  671.  
  672.  
  673. {block:Answer}
  674. <img align="left" src="{AskerPortraitURL-30}"style="border-radius:80px;"> <div id="question" style="width:450px;font-style:bold;"> {Asker} said: {Question}</div> <br>
  675. <div class="caption">
  676. {Answer}
  677. </div>
  678. {/block:Answer}
  679.  
  680.  
  681. <div class="info">
  682. {block:Date}<a href="{Permalink}" title="{TimeAgo}"><font style="color:{color:bold}">{Month} {DayOfMonth}</font></a>
  683.  
  684. &nbsp;&nbsp;
  685. <a href="{Permalink}">{NoteCount} <font style="color:{color:accent}">♥</font></a>
  686. &nbsp;&nbsp;
  687.  
  688. <a href="{ReblogURL}" target="_blank" class="details"><i class="fa fa-refresh" aria-hidden="true"></i></a>
  689.  
  690. <font style="float:right">
  691. {block:RebloggedFrom}
  692. <a href="{ReblogParentURL}" title="{ReblogParentName}"><b>via</b> </a>
  693. {block:ContentSource}
  694. <a href="{ReblogRootURL}" "{ReblogRootName}" title="{ReblogRootName}">/ <b>source</b></a>
  695. {/block:ContentSource}
  696. {/block:RebloggedFrom}
  697.  
  698. </font style>
  699.  
  700.  
  701. </div>
  702.  
  703.  
  704. {block:HasTags}
  705. <div class="tags">
  706. {block:Tags}
  707. <a href="{TagURL}">{Tag}</a>
  708. {/block:Tags}
  709. </div>
  710. {/block:HasTags}
  711.  
  712. </div> {/block:Date}
  713.  
  714.  
  715. {block:PostNotes}
  716. {PostNotes}
  717. {/block:PostNotes}
  718.  
  719. {/block:Posts}
  720.  
  721. {block:ContentSource}
  722. <!---{SourceURL}{block:SourceLogo}<img src=”{BlackLogoURL}”
  723. width=”{LogoWidth}” height=”{LogoHeight}” alt=”{SourceTitle}” />
  724. {/block:SourceLogo}
  725. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} --->
  726. {/block:ContentSource}{block:ReblogParent}{/block:ReblogParent}
  727.  
  728. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement