Advertisement
williamhiddles

THEME 09 FIXED

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