Advertisement
ogaraster

Pulse Theme (Basic)

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