Advertisement
booksinvolved

theme #12 double, double toil and trouble

Oct 7th, 2014
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.18 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4.  
  5. <head>
  6.  
  7. <!--- theme by jasnahdavar
  8. ----- DO NOT steal/redistribute/remove credit
  9. ----- ASK ME if you want to use this as a base code i promise i'm nice
  10. ----- updates tab content can be filled in from the customize page without editing the html
  11. ----- use the buttons to toggle the number of navlinks
  12. ----- please don't change the sidebar/updates images if you aren't comfortable with html
  13. ----- COLOURS:
  14. ------------- post background 1 = ask background
  15. ------------- post background 2 = chat post background
  16. ----- that's it ask me if you have any questions
  17. ----- happy halloween :)
  18. --->
  19.  
  20. <title>{Title}</title>
  21. <link rel="shortcut icon" href="{Favicon}">
  22. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  23. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  24.  
  25.  
  26.  
  27. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
  28. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js" type="text/javascript"></script>
  29. <script type="text/javascript">// <![CDATA[
  30. (function($){
  31.  
  32. $(document).ready(function(){
  33.  
  34. $("a[title]").style_my_tooltips({
  35.  
  36. tip_follows_cursor:true,
  37.  
  38. tip_delay_time:30,
  39.  
  40. tip_fade_speed:300,
  41.  
  42. attribute:"title"
  43.  
  44. });
  45.  
  46. });
  47.  
  48. })(jQuery);
  49. // ]]></script>
  50.  
  51.  
  52. <meta name="color:background" content="#000">
  53. <meta name="color:text" content="#fff">
  54. <meta name="color:title" content="#fff">
  55. <meta name="color:link" content="#ff9966">
  56. <meta name="color:link hover" content="#ffcc99">
  57. <meta name="color:navlink" content="#fff">
  58. <meta name="color:navlink hover" content="#d62c1a">
  59. <meta name="color:post background 1" content="#eee">
  60. <meta name="color:post background 2" content="#cfcfcf">
  61. <meta name="color:ask text" content="#000">
  62. <meta name="color:chat text" content="#003300">
  63. <meta name="color:audio text" content="#ffc299">
  64.  
  65. <meta name="if:show navlink 1" content="1">
  66. <meta name="if:show navlink 2" content="1">
  67. <meta name="if:show navlink 3" content="1">
  68. <meta name="if:show navlink 4" content="1">
  69.  
  70.  
  71.  
  72. <meta name="text:updates tab title" content="updates">
  73. <meta name="text:updates tab text" content="write your updates tab text here">
  74. <meta name="text:link 1" content="link">
  75. <meta name="text:link 1 url" content="url">
  76. <meta name="text:link 2" content="link">
  77. <meta name="text:link 2 url" content="url">
  78. <meta name="text:link 3" content="link">
  79. <meta name="text:link 3 url" content="url">
  80. <meta name="text:link 4" content="link">
  81. <meta name="text:link 4 url" content="url">
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89. <style type="text/css">
  90. ::-webkit-scrollbar-thumb:vertical { height:12px; border:2px solid {color:background}; background-color:{color:text}; }
  91. ::-webkit-scrollbar-thumb:horizontal { background-color:{color:background}; }
  92. ::-webkit-scrollbar { width:11px; height:7px; border:5px solid {color:background}; background-color:{color:text}; }
  93.  
  94.  
  95.  
  96.  
  97. ol.notes {
  98. padding: 5px;
  99. margin: 25px 0px;
  100. list-style-type: circle;
  101. border-bottom: solid 1px #ccc;
  102. text-align:left;
  103. font-size:10px;
  104. }
  105.  
  106. ol.notes li.note {
  107. padding: 5px;
  108. font-weight: normal;
  109. text-align:left;
  110.  
  111.  
  112. }
  113.  
  114. ol.notes li.note img.avatar {
  115. vertical-align: -4px;
  116. margin-right: 10px;
  117. width: 16px;
  118. height: 16px;
  119. }
  120.  
  121. ol.notes li.note span.action {
  122. font-weight: normal;
  123. text-align:left;
  124.  
  125. }
  126.  
  127. ol.notes li.note .answer_content {
  128. font-weight: normal;
  129. text-align:left;
  130.  
  131. }
  132.  
  133. ol.notes li.note blockquote {
  134. border-color: #eee;
  135. padding: 4px 5px;
  136. margin: 10px 0px 0px 15px;
  137. }
  138.  
  139. ol.notes li.note blockquote a {
  140. text-decoration: none;
  141. }
  142.  
  143. blockquote {
  144. padding:5px;
  145. border-left:2px solid {color:text};
  146.  
  147. }
  148.  
  149. blockquote blockquote {
  150. padding:5px;
  151. border-left:2px solid {color:text};
  152.  
  153. }
  154.  
  155.  
  156. /*----------------- TOOLTIP -----------------*/
  157. #s-m-t-tooltip{
  158. font-size:10px;
  159. position:absolute;
  160. margin-top: 15px;
  161. margin-left:15px;
  162. letter-spacing:1px;
  163. z-index:9999;
  164. text-transform:uppercase;
  165. text-align:Center;
  166. background:#fff;
  167. color:#000;
  168. padding:2px 3px 2px 3px;
  169. -webkit-transition:all 0.3s;
  170. -moz-transition:all 0.3s;
  171. -ms-transition:all 0.3s;
  172. -o-transition:all 0.3s;
  173. transition:all 0.3s;
  174. }
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182. body {
  183. background:{color:background};
  184. margin:0px;
  185. color:{color:text};
  186. font-family:cambria;
  187. font-size:10px;
  188. line-height:115%;
  189. font-style: none;
  190. overflow-x:hidden;
  191. }
  192.  
  193.  
  194. img {
  195. max-width:100%;
  196. }
  197. #credit {
  198. position:fixed;
  199. right:10px;
  200. bottom:10px;
  201. z-index:10;
  202. }
  203.  
  204. #credit a {
  205. font-weight:bold;
  206. text-align:center;
  207. padding:5px;
  208. background:#000;
  209. display:block;
  210. font-size:11px;
  211. font-family:cambria;
  212. color:#ff6600;
  213. }
  214.  
  215. #credit a:hover {
  216. color:#000;
  217. background:#ff6600;
  218. }
  219.  
  220.  
  221.  
  222. a:link, a:visited, a:active {
  223. text-decoration: none;
  224. color:{color:link};
  225. font-weight: normal;
  226. -webkit-transition: .6s;
  227. -moz-transition: .6s;
  228. transition: .6s;
  229. }
  230.  
  231. a:hover {
  232. text-decoration: none;
  233. color:{color:link hover};
  234. font-weight: normal;
  235. -webkit-transition: .6s;
  236. -moz-transition: .6s;
  237. transition: .6s;
  238. }
  239.  
  240. /* UPDATES */
  241.  
  242. #updates {
  243. position:fixed;
  244. top:10px;
  245. left:10px;
  246. width:200px;
  247. height:200px;
  248. }
  249.  
  250.  
  251. .utab {
  252. width:200px;
  253. height:0px;
  254. overflow:hidden;
  255. position:fixed;
  256. left:80px;
  257. top:80px;
  258. opacity:0;
  259. transition:0.4s;
  260. }
  261.  
  262.  
  263. .utitle {
  264. font-family:"arial";
  265. border-bottom:1px solid {color:text};
  266. text-transform:lowercase;
  267. font-weight:bold;
  268. text-shadow:1px 0px 0px #fff000;
  269. font-size:12px;
  270. margin-bottom:5px;
  271.  
  272. }
  273. #updates:hover .utab {
  274. height:auto;
  275. opacity:1;
  276. }
  277.  
  278. /* sidebar */
  279.  
  280. #sbar {
  281. position:fixed;
  282. background:{color:background};
  283. width:100%;
  284. bottom:0px;
  285. height:175px;
  286. z-index:2;
  287. }
  288.  
  289. .sbimg {
  290. text-align:Center;
  291. transition:0.4s;
  292. -webkit-transition:0.4s;
  293. -moz-transition:0.4s;
  294. }
  295.  
  296. @font-face{font-family:Jenna Sue;src:url(http://static.tumblr.com/9wzbixa/nq2mj2mox/jennasue.ttf);}
  297.  
  298. .title {
  299. font-family:"Jenna Sue";
  300. text-align:Center;
  301. text-transform:uppercase;
  302. margin-top:10px;
  303. font-size:25px;
  304. word-spacing:5px;
  305. transition:0.4s;
  306. -webkit-transition:0.4s;
  307. -moz-transition:0.4s;
  308. color:{color:title};
  309. }
  310.  
  311. .desc {
  312. width:200px;
  313. text-align:Center;
  314. position:fixed;
  315. left:50%;
  316. bottom:0px;
  317. margin-left:-100px;
  318. opacity:0;
  319. transition:0.4s;
  320. -webkit-transition:0.4s;
  321. -moz-transition:0.4s;
  322. height:50px;
  323. overflow:auto;
  324. }
  325.  
  326. #sbar:hover .sbimg {
  327. margin-top:-75px;
  328. }
  329.  
  330. #sbar:hover .desc {
  331. opacity:1;
  332. margin-bottom:75px;
  333. }
  334.  
  335. #entries {
  336. position:absolute;
  337. left:50%;
  338. width:520px;
  339. padding:20px;
  340. margin-left:-270px;
  341. top:100px;
  342. padding-bottom:225px;
  343. }
  344.  
  345. .navl {
  346. margin-top:110px;
  347. text-align:Center;
  348. opacity:0;
  349. }
  350.  
  351.  
  352. #sbar:hover .navl {
  353. opacity:1;
  354. margin-top:85px;
  355. }
  356.  
  357. .navl a {
  358. display:inline-block;
  359. width:15px;
  360. height:15px;
  361. border-radius:15px;
  362. -webkit-border-radius:15px;
  363. -moz-border-radius:15px;
  364. background:{color:navlink};
  365. margin:0px 5px;
  366.  
  367. }
  368.  
  369. .navl a:hover {
  370. background:{color:navlink hover};
  371. }
  372.  
  373. /* pagination */
  374.  
  375. #pagination {
  376. text-align:center;
  377. margin-top:50px;
  378.  
  379. }
  380.  
  381. #pagination a {
  382. color:{color:text};
  383. font-size:16px;
  384. }
  385.  
  386. #pagination a:hover {
  387. color:{color:link};
  388. }
  389.  
  390. /* posts */
  391.  
  392. #post {
  393. width:500px;
  394. padding:20px;
  395. margin-top:20px;
  396. margin-left:-10px;
  397. }
  398.  
  399.  
  400. /* ask */
  401.  
  402. .askimg img {
  403. width:75px;
  404. height:75px;
  405. border-radius:75px;
  406. -webkit-border-radius:75px;
  407. -moz-border-radius:75px;
  408. }
  409.  
  410. .question {
  411. padding:10px;
  412. width:350px;
  413. margin-left:120px;
  414. margin-top:-75px;
  415. min-height:55px;
  416. background:{color:post background 1};
  417. color:{color:ask text};
  418. }
  419.  
  420. .answer {
  421. margin-left:120px;
  422. }
  423.  
  424. /* chat */
  425.  
  426. .chat {
  427. color:{color:ask text};
  428. }
  429.  
  430. .chat ul {
  431. list-style: none;
  432. margin: 0;
  433. padding: 0;
  434. }
  435.  
  436. .chat li {
  437. padding: 2%;
  438. margin: 5px;
  439. }
  440.  
  441. .chat .odd {
  442. background:{color:post background 1};
  443. }
  444. .chat .even {
  445. background:{color:post background 2};
  446. }
  447.  
  448. .label {
  449. text-transform:uppercase;
  450. font-weight:bold;
  451. font-size:10px;
  452. color:{color:chat text};
  453. }
  454.  
  455. /* audio */
  456.  
  457. .player {
  458. width:30px;
  459. height:30px;
  460. overflow:hidden;
  461. position:absolute;
  462. margin-top:35px;
  463. margin-bottom:45px;
  464. margin-left:35px;
  465. opacity:0.7;
  466. border-radius:30px;
  467. -webkit-border-radius:30px;
  468. -moz-border-radius:30px;
  469. }
  470.  
  471. .albumart {
  472. width:100px;
  473. height:100px;
  474. margin-top:-100px;
  475. margin-left:400px;
  476. }
  477.  
  478. .albumart img {
  479. width:100px;
  480. height:100px;
  481. border-radius:100px;
  482. -webkit-border-radius:100px;
  483. -moz-border-radius:100px;
  484. }
  485.  
  486. .audioinfo {
  487. height:100px;
  488. text-align:right;
  489. width:375px;
  490. font-size:9px;
  491. color:{color:audio text};
  492. text-transform:uppercase;
  493. }
  494.  
  495. .audioinf {
  496. padding:2px;
  497. margin-bottom:5px;
  498.  
  499. }
  500.  
  501. /* text post */
  502.  
  503. h1 {
  504. font-family:arial;
  505. font-size:16px;
  506. font-weight:bold;
  507. padding-bottom:2px;
  508. border-bottom:1px solid {color:text};
  509. margin-bottom:5px;
  510. color:{color:title};
  511. }
  512.  
  513. h1 a {
  514. font-weight:bold;
  515. }
  516.  
  517. .tpost {
  518. width:490px;
  519. margin-left:10px;
  520. }
  521.  
  522.  
  523. /* quote */
  524.  
  525. h2 {
  526. font-family:arial;
  527. font-style:italic;
  528. font-size:16px;
  529. text-align:right;
  530. color:{color:title};
  531. }
  532.  
  533. .qsource {
  534. text-align:right;
  535. }
  536.  
  537.  
  538. /* post info */
  539.  
  540. #info {
  541. text-align:right;
  542. margin-bottom:30px;
  543. border-top:1px solid {color:link hover};
  544. padding-top:5px;
  545. }
  546.  
  547. #info a {
  548. color:{color:link hover};
  549. margin-left:10px;
  550. }
  551.  
  552. #info a:hover {
  553. color:{color:link};
  554. }
  555.  
  556. .tags {
  557. margin-top:5px;
  558. font-style:italic;
  559. }
  560.  
  561.  
  562. {CustomCSS}</style>
  563.  
  564.  
  565. </head><body>
  566.  
  567. <div id="sbar">
  568. <div class="sbimg">
  569. <a href="/"><img src="http://media.tumblr.com/9f237f99c3e59b77c1856881254e06ff/tumblr_inline_mu7vzltp5M1r37k2u.gif"></a></div>
  570. <div class="title">{Title}</div>
  571. <div class="desc">
  572. {Description}
  573. </div>
  574.  
  575. <div class="navl">
  576.  
  577. {block:ifshownavlink1}<a href="{text:link 1 url}" title="{text:link 1}"></a>{/block:ifshownavlink1}
  578. {block:ifshownavlink2}<a href="{text:link 2 url}" title="{text:link 2}"></a>{/block:ifshownavlink2}
  579. {block:ifshownavlink3} <a href="{text:link 3 url}" title="{text:link 3}"></a>{/block:ifshownavlink3}
  580. {block:ifshownavlink4} <a href="{text:link 4 url}" title="{text:link 4}"></a>{/block:ifshownavlink4}
  581.  
  582.  
  583. </div>
  584. </div>
  585.  
  586. <div id="updates">
  587. <div class="uimg">
  588. <img src="http://media.tumblr.com/acb3b70f778da63dcf35b42e6914d1c1/tumblr_inline_mu7v6dMJN11r37k2u.gif">
  589. <div class="utab">
  590. <div class="utitle">{text:updates tab title}</div>
  591. {text:updates tab text}
  592. </div>
  593. </div>
  594. </div>
  595.  
  596.  
  597. <div id="entries">
  598. {block:Posts}
  599. <div id="post">
  600.  
  601. {block:Video}
  602. {Video-500}
  603. {block:Caption}{Caption}{/block:Caption}
  604. {/block:Video}
  605.  
  606.  
  607. {block:Photo}
  608. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}">{LinkCloseTag}
  609. {block:Caption}{Caption}{/block:Caption}
  610. {/block:Photo}
  611.  
  612. {block:Photoset}
  613. {Photoset-500}
  614. {block:Caption}{Caption}{/block:Caption}
  615. {/block:Photoset}
  616.  
  617. {block:Quote}
  618.  
  619. <h2>
  620. {Quote}
  621. </h2>
  622.  
  623. {block:Source}
  624. <div class="qsource">
  625. - {Source}
  626. </div>
  627. {/block:Source}
  628.  
  629. {/block:Quote}
  630.  
  631.  
  632.  
  633. {block:Text}
  634.  
  635. {block:Title}
  636. <h1>{Title}</h1>
  637. {/block:Title}
  638.  
  639. <div class="tpost">
  640. {Body}
  641. </div>
  642. {/block:Text}
  643.  
  644. {block:Link}<h1><a href="{URL}" {Target}>{Name}</a></h1>{block:Description}{Description}{/block:Description}{/block:Link}
  645.  
  646.  
  647.  
  648. {block:Answer}
  649.  
  650. <div class="askimg">
  651. <a href="{AskerURL}" title="{AskerName}">
  652. <img src="{AskerPortraitURL-128}">
  653. </a>
  654. </div>
  655.  
  656. <div class="question">
  657. {Question}
  658. </div>
  659. <div class="answer">
  660. {Answer}
  661. </div>
  662.  
  663. {/block:Answer}
  664.  
  665. {block:Chat}
  666. <div class="chat">
  667. {block:Title}{Title}{/block:Title}
  668. <ul>{block:Lines}
  669. <li class="{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>
  670. {/block:Lines}</ul>
  671. </div>
  672. {/block:Chat}
  673.  
  674. {block:Audio}
  675.  
  676. <div class="audioinfo">{block:TrackName}
  677. <div class="audioinf"><strong>Title:</strong> {TrackName}</div>{/block:TrackName}
  678. {block:Artist}<div class="audioinf"><strong>Artist:</strong> {Artist}</div>{/block:Artist}
  679. <div class="audioinf">{PlayCount} plays</div>
  680. </div><!--audiotitle-->
  681.  
  682. <div class="albumart">
  683.  
  684. <div class= "player">{AudioPlayerWhite}</div>
  685.  
  686. {block:AlbumArt}
  687. <img src="{AlbumArtURL}" width="100">
  688. {/block:AlbumArt}
  689. </div>
  690.  
  691.  
  692.  
  693. {block:Caption}{Caption}{/block:Caption}
  694. {/block:Audio}
  695.  
  696.  
  697.  
  698.  
  699. </div>
  700.  
  701. <div id="info">
  702.  
  703. <a href="{Permalink}">{TimeAgo} with {NoteCountWithLabel}</a>
  704. {block:HasTags}
  705.  
  706. <div class="tags">
  707. {block:Tags}
  708. <a href="{TagURL}">{Tag}</a>
  709. {/block:Tags}
  710. </div>
  711. {/block:HasTags}
  712.  
  713. </div>
  714.  
  715. {block:PostNotes}{PostNotes}{/block:PostNotes}
  716. {/block:Posts}
  717.  
  718. {block:Pagination}
  719. <div id="pagination">
  720. {block:Previouspage}
  721. <a href="{Previouspage}">prev</a>
  722. {/block:Previouspage}
  723. {block:Nextpage}
  724. <a href="{nextpage}">next</a>
  725. {/block:nextpage}
  726. </div>
  727. {/block:pagination}
  728. </div>
  729. <div id="credit">
  730. <a href="http://jasnahdavar.tumblr.com">JD.</a>
  731. </div>
  732. </body>
  733. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement