Advertisement
ogaraster

Chronicle Theme v.2

Feb 25th, 2013
15,015
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.85 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3.  
  4. <!--
  5.  
  6. Chronicle Theme by Atlas Designs
  7. http://atlasdesigns.co/
  8.  
  9. Do not remove credit unless given permission to do so.
  10.  
  11. Updated October 2013:
  12. - new like/reblog buttons
  13. - larger post size
  14. - redesigned permalink page
  15. - minor design tweaks
  16.  
  17. -->
  18.  
  19. <head>
  20.  
  21. <title>{Title}</title>
  22. <link rel="shortcut icon" href="{Favicon}">
  23. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  24. {block:Description}
  25. <meta name="description" content="{MetaDescription}" />
  26. {/block:Description}
  27.  
  28. <script type="text/javascript"
  29. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  30.  
  31. <link href='http://fonts.googleapis.com/css?family=Permanent+Marker|Raleway:400,600' rel='stylesheet' type='text/css'>
  32.  
  33. {block:IndexPage}
  34.  
  35. <script type="text/javascript"
  36. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  37.  
  38. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  39.  
  40. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  41. <script type="text/javascript">
  42. $(window).load(function () {
  43. var $content = $('#content');
  44. $content.masonry({itemSelector: '.entry'}),
  45. $content.infinitescroll({
  46. navSelector : 'div#pagination',
  47. nextSelector : 'div#pagination a#nextPage',
  48. itemSelector : '.entry',
  49. loading: {
  50. finishedMsg: '',
  51. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  52. },
  53. bufferPx : 600,
  54. debug : false,
  55. },
  56. // call masonry as a callback.
  57. function( newElements ) {
  58. var $newElems = $( newElements );
  59. $newElems.hide();
  60. // ensure that images load before adding to masonry layout
  61. $newElems.imagesLoaded(function(){
  62. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  63. {/block:IndexPage}
  64.  
  65. <meta name="color:background" content="#ffffff" />
  66. <meta name="color:text" content="#000" />
  67. <meta name="color:title" content="#f06e50" />
  68. <meta name="color:link" content="#828282" />
  69. <meta name="color:link hover" content="#a3a3a3" />
  70. <meta name="color:scrollbar" content="#cacaca" />
  71. <meta name="color:sidebar border" content="#f0f0f0"/>
  72. <meta name="color:post background" content="#f0f0f0">
  73.  
  74. <meta name="select:sidebar align" content="left" title="left">
  75. <meta name="select:sidebar align" content="center" title="center">
  76. <meta name="select:sidebar align" content="right" title="right">
  77.  
  78. <meta name="text:home" content="refresh">
  79. <meta name="text:message" content="message">
  80. <meta name="text:archive" content="archive">
  81.  
  82. <meta name="if: sidebar border" content="1">
  83. <meta name="if: banner" content="0">
  84. <meta name="if: show captions" content="0">
  85.  
  86. <meta name="image:background" content="" />
  87. <meta name="image:banner" content="" />
  88.  
  89. <style type="text/css">
  90.  
  91. ::-webkit-scrollbar {width: 7px; height: 0px; background:{color:background};}
  92. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  93.  
  94. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  95.  
  96. body {
  97. background-color: {color:background};
  98. background-image:url({image:Background});
  99. background-attachment: fixed;
  100. background-repeat: repeat;
  101. font-size:12px;
  102. font-family:raleway;
  103. line-height:14px;
  104. color: {color:text};
  105. }
  106.  
  107. #sidebar{
  108. position:fixed;
  109. top:150px;
  110. width:200px;
  111. height:auto;
  112. padding:10px;
  113. left:920px;
  114. text-align:{select:sidebar align};
  115. z-index:9999999999999;
  116. {block:ifsidebarborder}
  117. border:1px solid {color:sidebar border};
  118. {/block:ifsidebarborder}
  119. padding:20px;
  120. }
  121.  
  122. #nav{
  123. position:fixed;
  124. top:0px;
  125. left:10px;
  126. width:870px;
  127. height:40px;
  128. text-align:center;
  129. word-spacing:40px;
  130. background:rgba(255,255,255,.8);
  131. font-size:12px;
  132. font-weight:500;
  133. line-height:40px;
  134. text-transform:uppercase;
  135. z-index:999999;
  136. -moz-transition: all 0.1s ease-in-out;
  137. -webkit-transition: all 0.1s ease-in-out;
  138. -o-transition: all 0.1s ease-in-out;
  139. -ms-transition: all 0.1s ease-in-out;
  140. transition: all 0.1s ease-in-out;
  141. }
  142.  
  143. #nav a:hover{
  144. border-top:2px solid;
  145. -moz-transition: all 0.1s ease-in-out;
  146. -webkit-transition: all 0.1s ease-in-out;
  147. -o-transition: all 0.1s ease-in-out;
  148. -ms-transition: all 0.1s ease-in-out;
  149. transition: all 0.1s ease-in-out;
  150. }
  151.  
  152. .blogtitle{
  153. font-size:24px;
  154. line-height:28px;
  155. color:{color:title};
  156. }
  157.  
  158. .answer{
  159. width:90%;
  160. padding:5%;
  161. background-color:{color:post background};
  162. }
  163. .answer img {
  164. width:100%;
  165. }
  166.  
  167. a {
  168. text-decoration:none;
  169. color:{color:link};
  170. -webkit-transition: all 0.4s linear;
  171. -moz-transition: all 0.4s linear;
  172. transition: all 0.4s linear;
  173. }
  174.  
  175. a:link, a:active, a:visited{
  176. color: {color:link};
  177. }
  178.  
  179. a:hover{
  180. color: {color:link hover};
  181. }
  182.  
  183. div#content {
  184. width:870px;
  185. margin-top:20px;
  186. margin-left:10px;
  187. float:left;
  188. position: absolute;
  189. {block:PermalinkPage}
  190. left:10px;
  191. width:400px;
  192. height:auto;
  193. position:absolute;
  194. {/block:PermalinkPage}
  195. }
  196.  
  197. .entry{
  198. margin:20px;
  199. margin-bottom:0px;
  200. padding:0px;
  201. float:left;
  202. height:auto;
  203. background-color: #trans;
  204. {block:IndexPage}
  205. width:250px;
  206. overflow:hidden;
  207. {/block:IndexPage}
  208. {block:PermalinkPage}
  209. width:500px;
  210. height:auto;
  211. padding-bottom: 10px;
  212. {/block:PermalinkPage}
  213. }
  214.  
  215. .title{
  216. font-weight:600;
  217. font-size:16px;
  218. line-height:16px;
  219. text-transform:none;
  220. color: {color:title};
  221. }
  222.  
  223. blockquote{
  224. padding:0px 0px 0px 3px;
  225. margin:0px 0px 0px 2px;
  226. border-left: 2px solid #ddd;
  227. }
  228.  
  229. .like_and_reblog_buttons {
  230. position:absolute;
  231. top:1%;
  232. left:1%;
  233. margin-top:10px;
  234. margin-left:-25px;
  235. list-style: none;
  236. opacity:0;
  237. -webkit-transition: all 0.2s linear;
  238. -webkit-transition: all 0.2s linear;
  239. -moz-transition: all 0.2s linear;
  240. transition: all 0.2s linear;
  241. }
  242. .entry:hover .like_and_reblog_buttons{
  243. top:0px;
  244. opacity:1;
  245. -webkit-transition: all 0.2s linear;
  246. -webkit-transition: all 0.2s linear;
  247. -moz-transition: all 0.2s linear;
  248. transition: all 0.2s linear;
  249. }
  250.  
  251. .like_and_reblog_buttons li {
  252. float: left;
  253. background-color:rgba(0,0,0,.1);
  254. border-radius:100%;
  255. padding:10px;
  256. height:18px;
  257. width:18px;
  258. }
  259.  
  260. .like_and_reblog_buttons li:first-child {
  261. margin-right:8px;
  262. }
  263.  
  264. .play{
  265. position:absolute;
  266. left:50%;
  267. margin-left:-24px;
  268. top:50%;
  269. margin-top:-42px;
  270. border:10px solid white;
  271. height:27px;
  272. width:27px;
  273. border-radius:100%;
  274. overflow:hidden;
  275. }
  276.  
  277. .notess{
  278. position:absolute;
  279. left:440px;
  280. top:20px;
  281. height:500px;
  282. width:420px;
  283. overflow:scroll;
  284. padding:10px;
  285. background-color:{color:post background};
  286. }
  287. ol.notes {
  288. list-style-type: none;
  289. margin-top:20px;
  290. padding:0px;
  291. line-height:40px;
  292. font-size:13px;
  293. }
  294. .notess img{
  295. border-radius:100%;
  296. }
  297.  
  298. .textbuttons ul{
  299. list-style:none;
  300. position:relative;
  301. }
  302. .textbuttons li {
  303. list-style:None;
  304. float: right;
  305. }
  306. .textbuttons li:first-child {
  307. margin-left:12px;
  308. }
  309.  
  310. .textnote{
  311. position:absolute;
  312. margin-left:0px;
  313. bottom:10px;
  314. font-weight:700;
  315. font-family:arial;
  316. }
  317. .textnote a{
  318. font-size:11px;
  319. color:#a3a3a3;
  320. }
  321.  
  322. .caption{
  323. width:90%;
  324. padding:5%;
  325. background:{color:post background};
  326. margin-top:-3px;
  327. }
  328.  
  329. .chat li {
  330. list-style-type:none;
  331. margin-left:-40px;
  332. padding:5px;
  333. border-bottom:2px solid #dddddd;
  334. }
  335. .label{
  336. font-weight:600;
  337. }
  338.  
  339. {CustomCSS}
  340. </style>
  341.  
  342. <title>{title}</title>
  343.  
  344. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  345.  
  346. {block:Pagination}
  347. <div id="pagination">
  348. {block:NextPage}
  349. <a id="nextPage" href="{NextPage}"></a>
  350. {/block:NextPage}
  351. {block:PreviousPage}
  352. <a href="{PreviousPage}"></a>
  353. {/block:PreviousPage}
  354. </div>
  355. {/block:Pagination}
  356.  
  357. </head>
  358. <body>
  359.  
  360. <div id="nav">
  361. <a href="/">{text:home}</a>
  362. <a href="/ask">{text:message}</a>
  363. <a href="/archive">{text:archive}</a>
  364. {block:HasPages}{block:Pages}<a href="{URL}"><span class="speclink">{Label} </span></a> {/block:Pages}{/block:HasPages}
  365. <a href="http://atlasdesigns.tumblr.com/">THEME</a>
  366. </div>
  367.  
  368. <div id="sidebar">
  369. {block:ifnotbanner}
  370. <span class="blogtitle">{Title}</span>
  371. {/block:ifnotbanner}
  372. {block:ifbanner}
  373. <img src="{image:banner}" width="200px">
  374. {/block:ifbanner}
  375. <p>{Description}</p>
  376. </div>
  377.  
  378. <div id="content">
  379. {block:Posts}
  380. <div class="entry">
  381.  
  382. {block:Text}
  383. <div class="answer">{block:Title}<span class="title">{Title}</span>{/block:Title}{Body}
  384. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  385. <ul class="textbuttons">
  386. <li>{ReblogButton color="gray" size=15}</li>
  387. <li>{LikeButton color="gray" size=15}</li>
  388. </ul><br>
  389. {/block:IndexPage}
  390. </div>
  391. {/block:Text}
  392.  
  393. {block:Link}
  394. <div class="answer"><a href="{URL}"><span class="title">{Name}</span></a>
  395. {block:Description}{Description}{/block:Description}
  396. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  397. <ul class="textbuttons">
  398. <li>{ReblogButton color="gray" size=15}</li>
  399. <li>{LikeButton color="gray" size=15}</li>
  400. </ul><br>
  401. {/block:IndexPage}
  402. </div>
  403. {block:Link}
  404.  
  405. {block:Photo}
  406. {block:IndexPage}
  407. <ul class="like_and_reblog_buttons">
  408. <li>{ReblogButton color="white" size=17}</li>
  409. <li>{LikeButton color="white" size=17}</li>
  410. </ul>
  411. {/block:IndexPage}
  412. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=100%/></a></div>{LinkCloseTag}
  413. {block:ifshowcaptions}{block:Caption}<div class="caption">{Caption}</div>{/block:Caption}{/block:ifshowcaptions}
  414. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}" width=400px/>{LinkCloseTag}{/block:PermalinkPage}
  415. {/block:Photo}
  416.  
  417. {block:Photoset}
  418. <center>
  419. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  420. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  421. </center>
  422. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  423. <ul class="textbuttons">
  424. <li>{ReblogButton color="gray" size=15}</li>
  425. <li>{LikeButton color="gray" size=15}</li>
  426. </ul><br>
  427. {/block:IndexPage}
  428. {/block:Photoset}
  429.  
  430. {block:Quote}
  431. <div class="answer"><div class="title">{Quote}</div>- {Source}
  432. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  433. <ul class="textbuttons">
  434. <li>{ReblogButton color="gray" size=15}</li>
  435. <li>{LikeButton color="gray" size=15}</li>
  436. </ul><br>
  437. {/block:IndexPage}
  438. </div>
  439. {/block:Quote}
  440.  
  441. {block:Chat}
  442. <div class="answer">
  443. <div style="margin-left:3px;">
  444. {block:Title}<span class="title">{Title}</span>{/block:Title}
  445. <ul class="chat">
  446. {block:Lines}
  447. <li class="user_{UserNumber}">
  448. {block:Label}
  449. <span class="label">{Label}</span>
  450. {/block:Label}
  451. {Line}
  452. </li>
  453. {/block:Lines}
  454. </ul>
  455. </div>
  456. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  457. <ul class="textbuttons">
  458. <li>{ReblogButton color="gray" size=15}</li>
  459. <li>{LikeButton color="gray" size=15}</li>
  460. </ul><br>
  461. {/block:IndexPage}
  462. </div>
  463. {/block:Chat}
  464.  
  465. {block:Audio}
  466. {block:AlbumArt}
  467. <center><a href="{Permalink}"><img src="{AlbumArtURL}" width="100%"></a></center>
  468. {/block:AlbumArt}
  469. <div class="play">{AudioPlayerWhite}</div>
  470. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  471. {/block:IndexPage}
  472. {/block:Audio}
  473.  
  474. {block:Answer}
  475. <div class="answer"><div style="font-size:11px;line-height:11px;font-style:italic;color:{color:links}"><i>{Asker} asked:</i></div><br><span class="title">{Question}</span><hr color={color:title}>{Answer}
  476. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  477. <ul class="textbuttons">
  478. <li>{ReblogButton color="gray" size=15}</li>
  479. <li>{LikeButton color="gray" size=15}</li>
  480. </ul><br>
  481. {/block:IndexPage}
  482. </div>
  483. {/block:Answer}
  484.  
  485. {block:Video}
  486. {block:IndexPage}
  487. <center>
  488. {Video-250}</center>
  489. {block:IndexPage}<div class="textnote"><a href="{Permalink}">{NoteCountwithLabel}</a></div>
  490. <ul class="textbuttons">
  491. <li>{ReblogButton color="gray" size=15}</li>
  492. <li>{LikeButton color="gray" size=15}</li>
  493. </ul><br>
  494. {/block:IndexPage}
  495. {/block:IndexPage}
  496. {block:PermalinkPage}
  497. <center>
  498. {Video-500}</center>
  499. {/block:PermalinkPage}
  500. {block:Video}
  501.  
  502. {block:PermalinkPage}
  503. {block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  504. {/block:PermalinkPage}
  505.  
  506. {block:PostNotes}
  507. <div class="notess">{block:Caption}{Caption}{/block:Caption}
  508. {block:NoteCount}<br><span class="title">{NoteCountWithLabel}:</span>{/block:NoteCount}
  509. <br>{PostNotes}</div>
  510. {/block:PostNotes}
  511. </div>
  512.  
  513. {/block:Posts}
  514.  
  515. {block:IndexPage}
  516. {block:Pagination}
  517. <div id="pagination">
  518. {block:NextPage}
  519. <a id="nextPage" href="{NextPage}"></a>
  520. {/block:NextPage}
  521. {block:PreviousPage}
  522. <a href="{PreviousPage}"></a>
  523. {/block:PreviousPage}
  524. </div>
  525. {/block:Pagination}
  526. {/block:IndexPage}
  527. </div>
  528.  
  529. <div style="position:absolute;z-index:99999999999999999999999999999999999; !important;top:24px;right:3px;-webkit-filter:invert(100%);"><a href="http://atlasdesigns`.tumblr.com/"><img src="http://static.tumblr.com/2w7y46r/wuvmba8c2/installtheme.png"></a></div>
  530.  
  531. </body>
  532. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement