Advertisement
crimical

code 5 [ghost towns]

Sep 22nd, 2015
4,293
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.03 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4. <!----------------------------------------------------------------------------
  5.  
  6. T H E M E 5 BY CRIMICAL; GHOST TOWNS
  7.  
  8. you may
  9. - customize the code as much as you want
  10.  
  11. as long as you do not
  12. - claim the base as your own
  13. - take parts of the code for other themes
  14. - delete the credit
  15.  
  16. thank you!
  17.  
  18. ----------------------------------------------------------------------------->
  19.  
  20. <title>
  21. {Title} {block:PostSummary}&mdash; {PostSummary}{/block:PostSummary}
  22. </title>
  23.  
  24. {block:Description}
  25. <meta name="description" content="{MetaDescription}" />
  26. {/block:Description}
  27.  
  28. <link rel="shortcut icon" href="{Favicon}">
  29. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  30.  
  31. <!-- fonts -->
  32. <script src="//use.edgefonts.net/yeseva-one;vidaloka;averia-serif-libre:n4,i4,n7.js"></script>
  33. <link href='https://fonts.googleapis.com/css?family=Inconsolata:400,700|Droid+Sans|Playfair+Display:400,400italic|Cardo|Karla:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
  34.  
  35. <!-- tooltip -->
  36.  
  37. <script src="http://static.tumblr.com/xgofl0y/O7Fm1ufj3/jquery.style-my-tooltips.js" type="text/javascript"></script>
  38.  
  39. <script>
  40. $().ready(function() {
  41. $("[title]").style_my_tooltips({
  42. tip_follows_cursor: "on", //on/off
  43. tip_delay_time: 300 //milliseconds
  44. });
  45. });
  46. </script>
  47.  
  48. <!-- photoset -->
  49.  
  50. <link href="http://static.tumblr.com/qudkd6d/OcDnl99gb/style.css" rel="stylesheet" type="text/css"/>
  51. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  52. <script src="http://static.tumblr.com/qudkd6d/Az6nkemqr/pxuphotoset.min.js"></script>
  53.  
  54. <!-- custom -->
  55.  
  56. <meta name="color:links" content="#48a48f"/>
  57.  
  58. <meta name="if:400px" content=""/>
  59. <meta name="if:sideicon" content=""/>
  60. <meta name="if:circleicon" content=""/>
  61.  
  62. <meta name="text:link1" content=""/>
  63. <meta name="text:link1url" content="/"/>
  64. <meta name="text:link2" content=""/>
  65. <meta name="text:link2url" content="/"/>
  66. <meta name="text:link3" content=""/>
  67. <meta name="text:link3url" content="/"/>
  68. <meta name="text:link4" content=""/>
  69. <meta name="text:link4url" content="/"/>
  70.  
  71. <style type="text/css">
  72.  
  73. /* * basic * */
  74.  
  75. body{
  76. margin:0px;
  77. padding:0px;
  78. background-color:white;
  79. color:#222;
  80. font-family:arial;
  81. font-size:8px;
  82. letter-spacing:1px;
  83. line-height:16px;
  84. text-align:justify;
  85. }
  86.  
  87. a{
  88. text-decoration:none;
  89. color:{color:links};
  90. }
  91.  
  92. a:hover{ color:#333; }
  93.  
  94. u{
  95. border-bottom:1px solid;
  96. text-decoration:none;
  97. }
  98.  
  99. blockquote{
  100. margin-left:20px;
  101. border-left:3px solid #f7f7f7;
  102. padding-left:17px;
  103. }
  104.  
  105. img{
  106. display:block;
  107. max-width:100%;
  108. }
  109.  
  110. ul{ list-style-type:none; }
  111. ul li{ margin-bottom:3px; position:relative; }
  112. ul li:before{ content:'\2014'; position:absolute; left:-20px; }
  113.  
  114. small{ font-size:9px !important; }
  115.  
  116. hr{
  117. width:100px;
  118. height:3px;
  119. background:#f0f0f0;
  120. margin:13px auto 10px;
  121. border:0;
  122. }
  123.  
  124. *, *:hover{
  125. -webkit-transition:0.8s ease-in-out;
  126. -moz-transition:0.8s ease-in-out;
  127. -o-transition:0.8s ease-in-out;
  128. }
  129.  
  130. .credit{
  131. position:fixed;
  132. bottom:20px;
  133. right:20px;
  134. }
  135.  
  136. .credit a{
  137. border:1px solid #f4f4f4;
  138. padding:5px;
  139. height:10px;
  140. width:10px;
  141. text-transform:uppercase;
  142. font-size:8px;
  143. font-family:arial;
  144. color:gray;
  145. }
  146.  
  147. /* * features * */
  148.  
  149. #tumblr_controls{
  150. position:fixed !important;
  151. opacity:0.5;
  152. -webkit-filter:invert(1);
  153. -webkit-filter:blur(3);
  154. }
  155.  
  156. #tumblr_controls:hover{ opacity:1; }
  157.  
  158. #s-m-t-tooltip{
  159. position:absolute;
  160. font-size:8px;
  161. letter-spacing:1px;
  162. font-family:'arial';
  163. z-index:5000;
  164. background-color:white;
  165. color:#333;
  166. padding:5px 8px 4px 9px;
  167. border:1px solid #f0f0f0;
  168. }
  169.  
  170. ::-webkit-scrollbar {
  171. height:auto;
  172. width:15px;
  173. background-color:#333;
  174. border:8px solid #fff;
  175. }
  176.  
  177. ::-webkit-scrollbar-thumb{
  178. background-color:#333;
  179. border:7px solid #fff;
  180. height:auto;
  181. }
  182.  
  183. ::selection{ background:#333; color:#fff; }
  184.  
  185. ::-moz-selection{ background:#333; color:#fff; }
  186.  
  187. {CustomCSS}
  188.  
  189. /* * sidebar * */
  190.  
  191. #side{
  192. position:fixed;
  193. width:160px;
  194. bottom:200px;
  195. left:150px;
  196. font-family:arial;
  197. font-size:8px;
  198. letter-spacing:1px;
  199. }
  200.  
  201. #side img{
  202. width:43px;
  203. float:left;
  204. margin:0 7px 5px 0;
  205. {block:ifcircleicon}-webkit-border-radius:100px;{/block:ifcircleicon}
  206. }
  207.  
  208. #side h1{
  209. text-align:right;
  210. margin:3px 0 15px;
  211. font-size:13px;
  212. line-height:15px;
  213. text-transform:uppercase;
  214. font-family:'inconsolata';
  215. }
  216.  
  217. #side .links{
  218. margin-top:8px;
  219. margin-left:-5px;
  220. font-family:'inconsolata';
  221. font-size:8px;
  222. }
  223.  
  224. #side .links a{
  225. display:block;
  226. color:#222;
  227. text-transform:uppercase;
  228. margin-bottom:2px;
  229. }
  230.  
  231. #side .links span{
  232. background:white;
  233. padding-left:5px;
  234. padding-right:30px;
  235. -webkit-transition:0.7s ease-in-out;
  236. }
  237.  
  238. #side .links .l{
  239. border-top:3px solid {color:links};
  240. width:30px;
  241. margin-left:5px;
  242. position:absolute;
  243. margin-top:6px;
  244. z-index:-1;
  245. }
  246.  
  247. #side .links a:hover span{
  248. margin-left:30px;
  249. }
  250.  
  251. #side .pagination{
  252. margin-top:8px;
  253. letter-spacing:0px;
  254. font-family:'inconsolata';
  255. font-size:8px;
  256. }
  257.  
  258. #side .pagination a{ color:#333; }
  259.  
  260. /* posts */
  261.  
  262. #main{
  263. {block:ifnot400px}width:490px;{/block:ifnot400px}
  264. {block:if400px}width:400px;{/block:if400px}
  265. margin:100px 0 100px 500px;
  266. }
  267.  
  268. .post{
  269. font-family:'karla', arial;
  270. font-size:10px;
  271. letter-spacing:0px;
  272. {block:ifnot400px}width:490px;{/block:ifnot400px}
  273. {block:if400px}width:400px;{/block:if400px}
  274. margin-bottom:150px;
  275. }
  276.  
  277. h1{
  278. text-align:right;
  279. margin:0 0 15px;
  280. font-size:13px;
  281. text-transform:uppercase;
  282. font-family:'inconsolata';
  283. }
  284.  
  285. .post h1.quote{
  286. margin:0 auto 0;
  287. width:65%;
  288. line-height:160%;
  289. font-size:13px;
  290. text-align:justify;
  291. transform:rotate(0.3deg);
  292. }
  293.  
  294. .post .qsource{
  295. margin-top:10px;
  296. text-align:center;
  297. }
  298.  
  299. .chat ol{
  300. line-height:120%;
  301. list-style:none;
  302. padding:0px;
  303. margin:0px;
  304. }
  305.  
  306. .chat li.line{
  307. border-top:1px solid #f3f3f3;
  308. padding:3% 0 3%;
  309. }
  310.  
  311. .chat li.line:nth-of-type(1){ border-top:0; }
  312.  
  313. .player{
  314. overflow:hidden;
  315. width:22px;
  316. }
  317.  
  318. .play{
  319. padding:37px 43px 32px 37px;
  320. margin:20px;
  321. background-color:white;
  322. opacity:0.4;
  323. position:absolute;
  324. z-index:1000;
  325. -webkit-border-radius:100px;
  326. -webkit-transition:0.7s ease-in-out;
  327. }
  328.  
  329. .play:hover{ -webkit-border-radius:2px; }
  330.  
  331. .cover{
  332. float:left;
  333. height:140px;
  334. width:140px;
  335. border-right:15px solid transparent;
  336. }
  337.  
  338. .cover img{
  339. max-width:140px;
  340. position:absolute;
  341. }
  342.  
  343. .lalala{
  344. height:90px;
  345. padding-top:45px;
  346. }
  347.  
  348. .lalala h1.title{
  349. margin:0 0 0 10px;
  350. font-size:13px;
  351. text-align:left;
  352. font-family:'inconsolata';
  353. font-size:13px;
  354. font-weight:bold;
  355. text-transform:uppercase;
  356. }
  357.  
  358. .lalala h1.title span{
  359. border-bottom:3px solid;
  360. padding:0 1px 5px;
  361. }
  362.  
  363. .lalala .artist{
  364. border-top:1px solid;
  365. font-size:8px;
  366. letter-spacing:1px;
  367. margin-top:4px;
  368. padding-top:6px;
  369. text-transform:uppercase;
  370. font-family:'inconsolata';
  371. margin-left:156px;
  372. line-height:10px;
  373. }
  374.  
  375. img.ask{
  376. margin:-2px 7px 0 0;
  377. padding-top:5px;
  378. height:40px;
  379. float:left;
  380. }
  381.  
  382. /* info */
  383.  
  384. .info{
  385. margin-top:15px;
  386. }
  387.  
  388. .info a{ color:#333; }
  389.  
  390. .info span.dat{
  391. font-family:'inconsolata';
  392. font-size:8px;
  393. text-transform:uppercase;
  394. border-top:3px solid #f0f0f0;
  395. padding:5px 0 0 0;
  396. }
  397.  
  398. .info span.src{
  399. float:right;
  400. font-family:'inconsolata';
  401. font-size:8px;
  402. text-transform:uppercase;
  403. height:11px;
  404. border-top:3px solid #f0f0f0;
  405. padding:1px 0 0 0;
  406. margin:-3px 0 0 0;
  407. }
  408.  
  409. .tags{
  410. word-wrap:break-word;
  411. font-family:arial;
  412. font-size:8px;
  413. letter-spacing:1px;
  414. }
  415.  
  416. span.tag2{ display:none; }
  417.  
  418. a.tag + span.tag2{
  419. display:inline;
  420. margin:0 5px 0 4px;
  421. }
  422.  
  423. /* permalink */
  424.  
  425. .postnotes{ margin:50px 0 0 -40px; }
  426.  
  427. .postnotes ol.notes{
  428. list-style-type:none;
  429. {block:ifnot400px}width:490px;{/block:ifnot400px}
  430. {block:if400px}width:400px;{/block:if400px}
  431. margin-left:-40px
  432. font-size:8px;
  433. text-align:center;
  434. }
  435.  
  436. .postnotes li.note{
  437. padding:2%;
  438. border-bottom:1px solid #f7f7f7;
  439. }
  440.  
  441. .postnotes li.note img.avatar{ display:none; }
  442.  
  443. .postnotes li.note .answer_content{ border-bottom:1px solid {color:links}; }
  444.  
  445. </style>
  446. </head>
  447.  
  448. <body>
  449.  
  450. {block:ContentSource}
  451. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  452. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  453. {/block:SourceLogo}
  454. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  455. {/block:ContentSource}
  456.  
  457. <div class="credit">
  458. <a href="http://crimicalthemes.tumblr.com/">cr</a>
  459. </div>
  460.  
  461. <!-- sidebar -->
  462. <div id="side">
  463.  
  464. <a href="/" style="color:#333"> <h1>{title}</h1> </a>
  465. {block:ifsideicon}<img style="" src="{PortraitURL-48}" />{/block:ifsideicon}
  466. {description}
  467.  
  468. <div class="links">
  469. {block:iflink1}<a href="{text:link1url}"><div class="l"> </div><span>{text:link1}</span></a>{/block:iflink1}
  470. {block:iflink2}<a href="{text:link2url}"><div class="l"> </div><span>{text:link2}</span></a>{/block:iflink2}
  471. {block:iflink3}<a href="{text:link3url}"><div class="l"> </div><span>{text:link3}</span></a>{/block:iflink3}
  472. {block:iflink4}<a href="{text:link4url}"><div class="l"> </div><span>{text:link4}</span></a>{/block:iflink4}
  473. </div>
  474.  
  475. {block:pagination} <div class="pagination">
  476. {block:PreviousPage}<a style="margin-right:5px" href="{PreviousPage}">&#9666;</a>{/block:PreviousPage} {CurrentPage} / {TotalPages} {block:NextPage}<a style="margin-left:5px" href="{NextPage}">&#9656;</a>{/block:NextPage}
  477. </div> {/block:pagination}
  478.  
  479. </div> <!-- sidebar end -->
  480.  
  481. <!-- posts -->
  482. <div id="main">
  483.  
  484. {block:tagpage}
  485. <h1 style="margin-bottom:100px">#{tag}</h1>
  486. {/block:tagpage}
  487.  
  488. {block:daypage}
  489. <h1 style="margin-bottom:100px">{Month} {DayOfMonth}{DayOfMonthSuffix}, {Year}</h1>
  490. {/block:daypage}
  491.  
  492. {block:posts}
  493.  
  494. <div class="post">
  495.  
  496. {block:quote}
  497. <h1 class="quote">❝ {quote}</h1>
  498. {block:source}<div class="qsource">{source}</div>{/block:source}
  499. {/block:quote}
  500.  
  501. {block:photo}
  502. {block:indexpage} <a href="{permalink}"><img src="{PhotoURL-500}" width="{block:ifnot400px}490px{/block:ifnot400px}{block:if400px}400px{/block:if400px}" /></a> {/block:indexpage}
  503. {block:permalinkpage} <a href="{PhotoURL-HighRes}"><img src="{PhotoURL-500}" width="{block:ifnot400px}490px{/block:ifnot400px}{block:if400px}400px{/block:if400px}" /></a> {/block:permalinkpage}
  504. {caption}
  505. {/block:photo}
  506.  
  507. {block:Photoset}
  508. <div class="photo-slideshow" id="photoset_{PostID}" data-layout="{PhotosetLayout}">{block:Photos}<div class="photo-data"><div class="pxu-photo"><img alt="{PhotoAlt}" src="{PhotoURL-500}" width="{PhotoWidth-500}" height="{PhotoHeight-500}" data-highres="{PhotoURL-HighRes}" data-width="{PhotoWidth-HighRes}" data-height="{PhotoHeight-HighRes}" class="{block:Exif}exif-yes {/block:Exif}{block:Caption}caption-yes{/block:Caption}" {block:Exif}data-camera="{block:Camera}{Camera}{/block:Camera}" data-iso="{block:ISO}{ISO}{/block:ISO}" data-aperture="{block:Aperture}{Aperture}{/block:Aperture}" data-exposure="{block:Exposure}{Exposure}{/block:Exposure}" data-focal="{block:FocalLength}{FocalLength}{/block:FocalLength}"{/block:Exif} {block:Caption}data-caption="{Caption}"{/block:Caption}></div><div class="icons"><a class="tumblr-box" rel="post-{PostID}" href="{PhotoURL-HighRes}"></a></div></div>{/block:Photos}</div>
  509. {Caption}
  510. {/block:Photoset}
  511.  
  512. {block:text}
  513. {block:title}<h1>{title}</h1>{/block:title}
  514. {body}
  515. {/block:text}
  516.  
  517. {block:video}
  518. <div class="video">{video-500}</div>
  519. {caption}
  520. {/block:video}
  521.  
  522. {block:link}
  523. <h1><a href="{URL}">{name}</a></h1>
  524. {block:description}{description}{/block:description}
  525. {/block:link}
  526.  
  527. {block:chat}
  528. {block:title}<h1>{title}</h1>{/block:title}
  529. <div class="chat"><ol>{block:lines}
  530. <li class="line">{block:label}<b style="margin-right:8px; font-family:'inconsolata'; text-transform:uppercase;">{label}</b>{/block:label}{line}</li>
  531. {/block:lines}</ol></div>
  532. {/block:chat}
  533.  
  534. {block:Answer}
  535. <div style="min-height:45px; padding-bottom:10px; border-bottom:1px solid #f7f7f7; margin-bottom:10px; line-height:15px">
  536. <img class="ask" src="{AskerPortraitURL-40}" />
  537. <b style="margin-top:3px; font-family:'inconsolata'; text-transform:uppercase;">{Asker}</b><br>
  538. {Question}</div>
  539. {Replies}
  540. {/block:Answer}
  541.  
  542. {block:audio}
  543. <div class="play"><div class="player">{audioplayerwhite}</div></div>
  544. <div class="cover"> <img src="http://static.tumblr.com/yijh2c3/zt3n7blzj/unbenannt-5.jpg"> {block:AlbumArt} <img src="{AlbumArtURL}"> {/block:AlbumArt} </div>
  545. <div class="lalala"> <h1 class="title">{block:trackname} <span>{trackname}</span> {/block:trackname}</h1> <div class="artist">{block:artist} {artist} <br>{/block:artist}
  546. {playcountwithlabel} </div>
  547. </div>
  548. {caption}
  549. {/block:audio}
  550.  
  551. <!-- info -->
  552. {block:Date} <div class="info">
  553.  
  554. <span class="dat">
  555. <a href="{permalink}" title="{Month} {DayofMonth}{DayofMonthSuffix}, {Year}&nbsp; &#9656; &nbsp;{12Hour}:{Minutes}{AmPm}">{TimeAgo}{block:NoteCount}&nbsp; &#9656; &nbsp;{NoteCountWithLabel}{/block:NoteCount}</a>
  556. </span>
  557.  
  558. {block:RebloggedFrom} <span class="src">
  559. <a href="{ReblogParentURL}" title="{ReblogParentName}">v</a>&nbsp; &#9656; &nbsp;<a href="{ReblogRootURL}" title="{ReblogRootName}">s</a>
  560. </span> {block:RebloggedFrom}
  561.  
  562. {block:HasTags} <div class="tags">
  563. {block:Tags}<span class="tag2" style="margin-left:6px"> &#9656; </span> <a class="tag" href="{TagURL}">{Tag}</a>{/block:Tags}
  564. </div> {/block:HasTags}
  565.  
  566. </div> {/block:Date} <!-- info end -->
  567.  
  568. {block:permalinkpage}
  569. {block:PostNotes}
  570. <div class="postnotes">{PostNotes}</div>
  571. {/block:PostNotes}
  572. {/block:permalinkpage}
  573.  
  574. </div> {/block:posts} <!-- post end -->
  575.  
  576. </div> <!-- main end ->
  577.  
  578. <!-- photoset -->
  579.  
  580. <script>
  581. $(document).ready(function(){
  582. $('.photo-slideshow').pxuPhotoset({
  583. lightbox: true,
  584. rounded: false,
  585. gutter: '3px',
  586. borderRadius: '0px',
  587. photoset: '.photo-slideshow',
  588. photoWrap: '.photo-data',
  589. photo: '.pxu-photo'
  590. });
  591. });
  592. </script>
  593.  
  594. </body>
  595. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement