Advertisement
booksinvolved

theme #5 sore wa chigau yo

Jul 12th, 2014
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.25 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. ----- make sure the title isn't too long or it'll run over the sidebar links
  11. ----- keep your description to 8 lines and no more!
  12. ----- sidebar images automatically resize to 100px x 100px
  13. ----- you can toggle the number of sidebar links from your customize page
  14. ----- !!! the "heading background" colour is the background of post titles and ask and audio posts. make sure your text can show up on it
  15. --->
  16.  
  17. <title>{Title}</title>
  18. <link rel="shortcut icon" href="{Favicon}">
  19. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  20. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  21.  
  22.  
  23.  
  24. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
  25. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js" type="text/javascript"></script>
  26. <script type="text/javascript">// <![CDATA[
  27. (function($){
  28.  
  29. $(document).ready(function(){
  30.  
  31. $("a[title]").style_my_tooltips({
  32.  
  33. tip_follows_cursor:true,
  34.  
  35. tip_delay_time:30,
  36.  
  37. tip_fade_speed:300,
  38.  
  39. attribute:"title"
  40.  
  41. });
  42.  
  43. });
  44.  
  45. })(jQuery);
  46. // ]]></script>
  47.  
  48.  
  49.  
  50. <meta name="color:background" content="#fff">
  51. <meta name="color:text" content="#444">
  52. <meta name="color:link" content="#36a1ff">
  53. <meta name="color:title" content="#666">
  54. <meta name="color:description" content="#999">
  55. <meta name="color:post info" content="#999">
  56. <meta name="color:heading background" content="#eee">
  57.  
  58. <meta name="image:sidebar 1" content="">
  59. <meta name="image:sidebar 2" content="">
  60.  
  61.  
  62. <meta name="if:show navlink 1" content="1">
  63. <meta name="if:show navlink 2" content="1">
  64. <meta name="if:show navlink 3" content="1">
  65. <meta name="if:show navlink 4" content="1">
  66.  
  67.  
  68. <meta name="text:link 1" content="link">
  69. <meta name="text:link 1 url" content="url">
  70. <meta name="text:link 2" content="link">
  71. <meta name="text:link 2 url" content="url">
  72. <meta name="text:link 3" content="link">
  73. <meta name="text:link 3 url" content="url">
  74. <meta name="text:link 4" content="link">
  75. <meta name="text:link 4 url" content="url">
  76.  
  77.  
  78.  
  79.  
  80.  
  81. <style type="text/css">
  82. ::-webkit-scrollbar-thumb:vertical {
  83. background-color:#cfcfcf; /*scrollbar color*/
  84. height:100px;
  85. }
  86.  
  87. ::-webkit-scrollbar-thumb:horizontal {
  88. background-color:#cfcfcf; /*scrollbar color*/
  89. height:100px !important;
  90. }
  91.  
  92. ::-webkit-scrollbar {
  93. height:10px;
  94. width:8px;
  95. background-color:#eee; /*scrollbar bg color*/
  96. }
  97.  
  98.  
  99.  
  100. ol.notes {
  101. padding: 5px;
  102. margin: 25px 0px;
  103. list-style-type: circle;
  104. border-bottom: solid 1px #ccc;
  105. text-align:left;
  106. font-size:10px;
  107. }
  108.  
  109. ol.notes li.note {
  110. padding: 5px;
  111. font-weight: normal;
  112. text-align:left;
  113.  
  114.  
  115. }
  116.  
  117. ol.notes li.note img.avatar {
  118. vertical-align: -4px;
  119. margin-right: 10px;
  120. width: 16px;
  121. height: 16px;
  122. }
  123.  
  124. ol.notes li.note span.action {
  125. font-weight: normal;
  126. text-align:left;
  127.  
  128. }
  129.  
  130. ol.notes li.note .answer_content {
  131. font-weight: normal;
  132. text-align:left;
  133.  
  134. }
  135.  
  136. ol.notes li.note blockquote {
  137. border-color: #eee;
  138. padding: 4px 5px;
  139. margin: 10px 0px 0px 15px;
  140. }
  141.  
  142. ol.notes li.note blockquote a {
  143. text-decoration: none;
  144. }
  145.  
  146. blockquote {
  147. padding:5px;
  148. border-left:2px solid #000;
  149.  
  150. }
  151.  
  152. blockquote blockquote {
  153. padding:5px;
  154. border-left:2px solid #000;
  155.  
  156. }
  157.  
  158.  
  159.  
  160.  
  161. /*----------------- TOOLTIP -----------------*/
  162. #s-m-t-tooltip{
  163. font-size:10px;
  164. position:absolute;
  165. margin-top: 15px;
  166. margin-left:15px;
  167. letter-spacing:1px;
  168. z-index:9999;
  169. background:white;
  170. color:#666;
  171. text-transform:uppercase;
  172. padding:2px 3px 2px 3px;
  173. -webkit-transition:all 0.3s;
  174. -moz-transition:all 0.3s;
  175. -ms-transition:all 0.3s;
  176. -o-transition:all 0.3s;
  177. transition:all 0.3s;
  178. border:2px solid #999;
  179. }
  180.  
  181.  
  182. body {
  183. background:{color:background};
  184. margin:0px;
  185. color:{color:text};
  186. font-family:cambria;
  187. font-size:11px;
  188. line-height:115%;
  189. font-style: none;
  190. }
  191.  
  192.  
  193. #credit {
  194. position:fixed;
  195. right:10px;
  196. bottom:10px;
  197. z-index:10;
  198. }
  199.  
  200. #credit a {
  201. color:{color:text};
  202. font-weight:bold;
  203. }
  204.  
  205. #credit a:hover {
  206. text-decoration:none;
  207. color:#000;
  208. }
  209.  
  210.  
  211. a:link, a:visited, a:active {
  212. color:{color:link};
  213. text-decoration: none;
  214. font-weight: normal;
  215. -webkit-transition: .6s;
  216. -moz-transition: .6s;
  217. transition: .6s;
  218. }
  219.  
  220. a:hover {
  221. text-decoration: none;
  222. color:#000;
  223. font-weight: normal;
  224. -webkit-transition: .6s;
  225. -moz-transition: .6s;
  226. transition: .6s;
  227. }
  228.  
  229.  
  230. h1 {
  231. font-family:arial;
  232. font-size:14px;
  233. background:{color:heading background};
  234. width:490px;
  235. padding:5px;
  236. text-align:Center;
  237. }
  238.  
  239. /* TOPBAR */
  240.  
  241. #topbar {
  242. width:600px;
  243. height:150px;
  244. left:50%;
  245. top:0px;
  246. position:absolute;
  247. margin-left:-300px;
  248. }
  249.  
  250. #title {
  251. position:fixed;
  252. text-transform:uppercase;
  253. font-size:20px;
  254. font-family:cambria;
  255. padding-top:20px;
  256. color:{color:title};
  257. z-index:11;
  258. }
  259.  
  260. #navlinks {
  261. position:fixed;
  262. width:600px;
  263. text-align:right;
  264. padding-top:20px;
  265. padding-bottom:20px;
  266. z-index:10;
  267. background:{color:background};
  268. }
  269.  
  270. #navlinks a {
  271. display:inline;
  272. padding:10px;
  273. color:{color:description};
  274. }
  275.  
  276. #navlinks a:hover {
  277. border-bottom:2px solid {color:link};
  278. color:#000;
  279. }
  280.  
  281. #sbimg1 {
  282. position:absolute;
  283. left:50%;
  284. margin-left:-275px;
  285. top:60px;
  286.  
  287.  
  288. }
  289.  
  290. #sbimg1 img {
  291. width:100px;
  292. height:100px;
  293. border-radius:100px;
  294.  
  295. }
  296.  
  297. #sbimg2 {
  298. position:absolute;
  299. left:50%;
  300. margin-left:175px;
  301. top:60px;
  302.  
  303. }
  304.  
  305. #sbimg2 img {
  306. width:100px;
  307. height:100px;
  308. border-radius:100px;
  309. -webkit-border-radius:100px;
  310.  
  311. }
  312.  
  313. #desc {
  314. position:absolute;
  315. left:50%;
  316. width:300px;
  317. margin-left:-150px;
  318. top:75px;
  319. height:75px;
  320. color:{color:description};
  321. font-size:10px;
  322. text-align:Center;
  323. }
  324.  
  325. #entries {
  326. position:absolute;
  327. width:500px;
  328. padding:10px;
  329. left:50%;
  330. margin-left:-260px;
  331. top:200px;
  332. }
  333.  
  334. #post {
  335. width:500px;
  336. text-align:left;
  337. margin-top:20px;
  338. margin-bottom:10px;
  339. }
  340.  
  341.  
  342.  
  343. /*-------- POST INFO ---------*/
  344.  
  345. #info {
  346. text-align:center;
  347. font-size:10px;
  348. margin-bottom:50px;
  349. margin-top:10px;
  350. color:{color:post info};
  351. }
  352.  
  353. #info a {
  354. padding:5px;
  355. color:{color:post info};
  356. }
  357.  
  358. #info a:hover {
  359. color:#000;
  360. }
  361.  
  362.  
  363. .rebloglink {
  364. text-align:right;
  365. margin-top:-11px;
  366. }
  367.  
  368. #tags {
  369. font-style:italic;
  370. text-align:center;
  371. margin-top:10px;
  372. }
  373.  
  374. #tags a {
  375. padding:5px;
  376. }
  377.  
  378.  
  379. /* ask */
  380.  
  381. #ask {
  382. width:490px;
  383. padding:10px 5px 10px 5px;
  384. background:{color:heading background};
  385. }
  386.  
  387. /* audio */
  388. #player {
  389. width:30px;
  390. height:30px;
  391. overflow:hidden;
  392. position:absolute;
  393. margin-top:35px;
  394. margin-bottom:45px;
  395. margin-left:35px;
  396. opacity:0.7;
  397. }
  398.  
  399. #albumart {
  400. width:100px;
  401. height:100px;
  402. }
  403.  
  404. #albumart img {
  405. }
  406.  
  407. #audioinfo {
  408. width:380px;
  409. margin-left:100px;
  410. margin-top:-100px;
  411. height:80px;
  412. text-align:center;
  413. color:{color:title};
  414. padding:10px;
  415. background:{color:heading background};
  416. }
  417.  
  418. /*chat */
  419. #chat ul {
  420. list-style: none;
  421. margin: 0;
  422. padding: 0;
  423. }
  424.  
  425. #chat li {
  426. padding: 2%;
  427. }
  428.  
  429. #chat .odd {
  430. border-bottom:2px solid #ececec;
  431. }
  432. #chat .even {
  433. border-bottom:2px solid #f3f3f3;
  434. }
  435.  
  436. .label {
  437. text-transform:uppercase;
  438. font-weight:bold;
  439. font-size:10px;
  440. }
  441.  
  442. /*-- PAGINATION --*/
  443.  
  444. #pagination {
  445. position:fixed;
  446. width:600px;
  447. left:50%;
  448. padding-top:10px;
  449. margin-left:-300px;
  450. text-align:Center;
  451. height:20px;
  452. background:{color:background};
  453. z-index:100;
  454. bottom:0px;
  455. }
  456.  
  457. #pagination a {
  458. text-align:center;
  459. padding:5px;
  460. color:{color:post info};
  461. }
  462.  
  463. #pagination a:hover {
  464. color:#000;
  465. }
  466.  
  467.  
  468. {CustomCSS}</style>
  469.  
  470.  
  471. </head><body>
  472.  
  473. <div id="topbar">
  474. <div id="title">{title}</div>
  475. <div id="navlinks">
  476. <a href="/">home</a>
  477. <a href="/ask">ask</a>
  478. {block:ifshownavlink1}<a href="{text:link 1 url}">{text:link 1}</a>{/block:ifshownavlink1}
  479. {block:ifshownavlink2}<a href="{text:link 2 url}">{text:link 2}</a>{/block:ifshownavlink2}
  480. {block:ifshownavlink3} <a href="{text:link 3 url}">{text:link 3}</a>{/block:ifshownavlink3}
  481. {block:ifshownavlink4} <a href="{text:link 4 url}">{text:link 4}</a>{/block:ifshownavlink4}
  482. </div>
  483. <div id="desc">
  484. {description}
  485. </div>
  486. <div id="sbimg1">
  487. <img src="{image:sidebar 1}">
  488. </div>
  489. <div id="sbimg2">
  490. <img src="{image:sidebar 2}">
  491. </div>
  492. </div>
  493.  
  494. <div id="entries">
  495. {block:Posts}<div id="post">
  496.  
  497. {block:Text}
  498. {block:Title}<h1>{Title}</h1>{/block:Title}
  499. {Body}
  500. {/block:Text}
  501.  
  502. {block:Answer}
  503. <div id="ask"><span style="text-transform:uppercase; letter-spacing:1px;font-size:10px;">{Asker} asked:</span> {Question}</div>
  504. {Answer}
  505. {/block:Answer}
  506.  
  507. {block:Quote}
  508. {Quote}
  509. {block:Source}{Source}{/block:Source}
  510. {/block:Quote}
  511.  
  512. {block:Link}
  513. <h2><a href="{URL}">{Name}</a></h2>
  514. {block:Description}{Description}{/block:Description}
  515. {/block:Link}
  516.  
  517. {block:Chat}
  518. <div id="chat">
  519. {block:Title}{Title}{/block:Title}
  520. <ul>{block:Lines}
  521. <li class="{Alt}">{block:Label}<span class="label">{Label}</span>{/block:Label} {Line}</li>
  522. {/block:Lines}</ul>
  523. </div>
  524. {/block:Chat}
  525.  
  526. {block:Photo}
  527. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}">{LinkCloseTag}
  528. {block:Caption}{Caption}{/block:Caption}
  529. {/block:Photo}
  530.  
  531. {block:Photoset}
  532. {Photoset-500}
  533. {block:Caption}{Caption}{/block:Caption}
  534. {/block:Photoset}
  535.  
  536. {block:Audio}
  537. <div id="albumart">
  538.  
  539. <div id= "player">{AudioPlayerWhite}</div>
  540.  
  541. {block:AlbumArt}
  542. <img src="{AlbumArtURL}" width="100">
  543. {/block:AlbumArt}
  544. </div>
  545. <div id="audioinfo">{block:TrackName}<strong>Title:</strong> {TrackName}{/block:TrackName}
  546. <br>
  547. {block:Artist}<strong>Artist:</strong> {Artist}{/block:Artist}
  548. <br>
  549. {PlayCount} plays
  550. </div><!--audiotitle-->
  551.  
  552.  
  553. {block:Caption}{Caption}{/block:Caption}
  554. {/block:Audio}
  555.  
  556. {block:Video}
  557. {Video-500}
  558. {block:Caption}{Caption}{/block:Caption}
  559. {/block:Video}
  560.  
  561.  
  562. <div id="info">
  563. &nbsp;
  564.  
  565. {block:Date}<a href="{Permalink}">posted {Timeago} with {NoteCountWithLabel}</a>
  566. {/block:Date} <br>
  567.  
  568. {block:RebloggedFrom}<a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom} {block:ContentSource} <a href="{SourceURL}">source</a> {/block:ContentSource}
  569.  
  570.  
  571.  
  572. {block:HasTags}<div id="tags">{block:Tags} <a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}
  573. </div>
  574.  
  575. {block:PostNotes}{PostNotes}{/block:PostNotes}
  576. {/block:Posts}
  577.  
  578.  
  579. </div>
  580. </div>
  581.  
  582. <div id="pagination">
  583. {block:Pagination}
  584. {block:PreviousPage}
  585. <span class="arrows"><a href="{PreviousPage}">«</a></span>
  586. {/block:PreviousPage}
  587. {block:JumpPagination length="5"}
  588. {block:CurrentPage}
  589. <span class="currentpage">{PageNumber}</span>
  590. {/block:CurrentPage}
  591. {block:JumpPage}
  592. <a class="jump_page" href="{URL}">{PageNumber}</a>
  593. {/block:JumpPage}
  594. {/block:JumpPagination}
  595. {block:NextPage}
  596. <span class="arrows"><a href="{NextPage}">»</a></span>
  597. {/block:NextPage}
  598. {/block:Pagination}</div>
  599.  
  600. <div id="credit">
  601. <a href="http://jasnahdavar.tumblr.com">JD.</a>
  602. </div>
  603.  
  604. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement