Advertisement
ogaraster

Lion Theme

Apr 4th, 2013
20,925
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.67 KB | None | 0 0
  1. <!--
  2.  
  3. Lion Theme brought to you by Atlas Designs
  4. http://atlasdesigns.co/
  5.  
  6. Please don't remove credit or use as a base code unless you've messaged me!
  7.  
  8. -->
  9.  
  10. <head>
  11.  
  12. <link rel="shortcut icon" href="{Favicon}">
  13.  
  14. <link href='http://fonts.googleapis.com/css?family=Oxygen:700,400' rel='stylesheet' type='text/css'>
  15.  
  16. {block:IndexPage}
  17.  
  18. <script type="text/javascript"
  19. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  20.  
  21. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  22.  
  23. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  24. <script type="text/javascript">
  25. $(window).load(function () {
  26. var $content = $('#content');
  27. $content.masonry({itemSelector: '.entry'}),
  28. $content.infinitescroll({
  29. navSelector : 'div#pagination',
  30. nextSelector : 'div#pagination a#nextPage',
  31. itemSelector : '.entry',
  32. loading: {
  33. finishedMsg: '',
  34. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  35. },
  36. bufferPx : 600,
  37. debug : false,
  38. },
  39. // call masonry as a callback.
  40. function( newElements ) {
  41. var $newElems = $( newElements );
  42. $newElems.hide();
  43. // ensure that images load before adding to masonry layout
  44. $newElems.imagesLoaded(function(){
  45. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  46. {/block:IndexPage}
  47.  
  48. <meta name="color:background" content="#ffffff" />
  49. <meta name="color:post background" content="#ffffff" />
  50. <meta name="color:header background" content="#ffffff" />
  51. <meta name="color:text" content="#000" />
  52. <meta name="color:title" content="#a3a3a3" />
  53. <meta name="color:link" content="#a3a3a3" />
  54. <meta name="color:link hover" content="#ebebeb" />
  55. <meta name="color:scrollbar" content="#a3a3a3" />
  56.  
  57. <meta name="if:fixed header" content="1">
  58. <meta name="if:small posts" content="0">
  59. <meta name="if:medium posts" content="1">
  60. <meta name="if:large posts" content="0">
  61. <meta name="if:long description" content="0">
  62.  
  63. <meta name="text:reblog" content="reblog">
  64. <meta name="text:home" content="home">
  65. <meta name="text:message" content="message">
  66. <meta name="text:archive" content="archive">
  67.  
  68. <meta name="image:background" content="" />
  69.  
  70. <style type="text/css">
  71.  
  72.  
  73. ::-webkit-scrollbar {width: 5px; height: 0px; background:{color:background};}
  74. ::-webkit-scrollbar-thumb {background: {color:scrollbar};}
  75.  
  76. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  77.  
  78. body {
  79. background-color: {color:background};
  80. background-image:url({image:Background});
  81. background-attachment: fixed;
  82. background-repeat: repeat;
  83. font-size:11px;
  84. font-family:oxygen;
  85. line-height:13px;
  86. text-transform:none;
  87. color: {color:text};
  88. }
  89.  
  90. #header{
  91. {block:ifnotfixedheader}
  92. position:absolute;
  93. {/block:ifnotfixedheader}
  94. {block:iffixedheader}
  95. position:fixed;
  96. {/block:iffixedheader}
  97. top:0px;
  98. padding-top:15px;
  99. padding-bottom:5px;
  100. padding-left:30px;
  101. {block:ifsmallposts}
  102. width: 940px;
  103. left:50%;
  104. margin-left:-470px;
  105. {/block:ifsmallposts}
  106. {block:ifmediumposts}
  107. width: 950px;
  108. left:50%;
  109. margin-left:-475px;
  110. {/block:ifmediumposts}
  111. {block:iflargeposts}
  112. width: 1240px;
  113. left:50%;
  114. margin-left:-620px;
  115. {/block:iflargeposts}
  116. text-align:left;
  117. background-color:{color:header background};
  118. z-index:999;
  119. opacity:.9;
  120. }
  121.  
  122. .blogtitle{
  123. font-family:Helvetica;
  124. font-weight:700;
  125. font-size:16px;
  126. line-height:50px;
  127. letter-spacing:5px;
  128. text-transform:uppercase;
  129. color: {color:title};
  130. padding-top:5px;
  131. padding-bottom:3px;
  132. padding-right:2px;
  133. padding-left:6px;
  134. border:3px solid {color:title};
  135. }
  136.  
  137. .blogtitle:hover{
  138. color:{color:background};
  139. background-color:{color:title};
  140. }
  141.  
  142. .nav{
  143. margin-left:25px;
  144. word-spacing:20px;
  145. text-transform:uppercase;
  146. }
  147.  
  148. .nav a{
  149. font-weight:200;
  150. font-size:11px;
  151. letter-spacing:2px;
  152. -moz-transition: all 0.1s ease-in-out;
  153. -webkit-transition: all 0.1s ease-in-out;
  154. -o-transition: all 0.1s ease-in-out;
  155. -ms-transition: all 0.1s ease-in-out;
  156. transition: all 0.1s ease-in-out;
  157. }
  158.  
  159. .answer{
  160. }
  161. .answer img {
  162. width:250px;
  163. height:auto;
  164. {block:permalinkpage}
  165. width:auto;
  166. height:auto;
  167. {/block:permalinkpage}
  168. }
  169.  
  170. a {
  171. text-decoration:none;
  172. color:{color:link};
  173. -moz-transition: all 0.1s ease-in-out;
  174. -webkit-transition: all 0.1s ease-in-out;
  175. -o-transition: all 0.1s ease-in-out;
  176. -ms-transition: all 0.1s ease-in-out;
  177. transition: all 0.1s ease-in-out;
  178. }
  179.  
  180. a:link, a:active, a:visited{
  181. color: {color:link};
  182. -moz-transition: all 0.1s ease-in-out;
  183. -webkit-transition: all 0.1s ease-in-out;
  184. -o-transition: all 0.1s ease-in-out;
  185. -ms-transition: all 0.1s ease-in-out;
  186. transition: all 0.1s ease-in-out;
  187. }
  188.  
  189. a:hover{
  190. color: {color:link hover};
  191. -moz-transition: all 0.1s ease-in-out;
  192. -webkit-transition: all 0.1s ease-in-out;
  193. -o-transition: all 0.1s ease-in-out;
  194. -ms-transition: all 0.1s ease-in-out;
  195. transition: all 0.1s ease-in-out;
  196. }
  197.  
  198. div#content {
  199. {block:ifsmallposts}
  200. width: 940px;
  201. left:50%;
  202. margin-left:-470px;
  203. {/block:ifsmallposts}
  204. {block:ifmediumposts}
  205. width: 950px;
  206. left:50%;
  207. margin-left:-475px;
  208. {/block:ifmediumposts}
  209. {block:iflargeposts}
  210. width: 1240px;
  211. left:50%;
  212. margin-left:-620px;
  213. {/block:iflargeposts}
  214. margin-top:100px;
  215. {block:iflongdescription}
  216. margin-top:140px;
  217. {/block:iflongdescription}
  218. position: absolute;
  219. background-color:{post background};
  220. }
  221.  
  222. .entry{
  223. margin:30px;
  224. height:auto;
  225. background-color: #trans;
  226. {block:IndexPage}
  227. {block:iflargeposts}
  228. width:350px;
  229. {/block:iflargeposts}
  230. {block:ifmediumposts}
  231. width:255px;
  232. {/block:ifmediumposts}
  233. {block:ifsmallposts}
  234. width:175px;
  235. {/block:ifsmallposts}
  236. overflow:hidden;
  237. {/block:IndexPage}
  238. {block:PermalinkPage}
  239. width:450px;
  240. height:auto;
  241. {/block:PermalinkPage}
  242. -moz-transition: all 0.4s ease-in-out;
  243. -webkit-transition: all 0.4s ease-in-out;
  244. -o-transition: all 0.4s ease-in-out;
  245. -ms-transition: all 0.4s ease-in-out;
  246. transition: all 0.4s ease-in-out;
  247. }
  248.  
  249. .title{
  250. font-size:15px;
  251. line-height:17px;
  252. text-transform:uppercase;
  253. letter-spacing:1px;
  254. color: {color:text};
  255. }
  256.  
  257. blockquote{
  258. padding:0px 0px 0px 3px;
  259. margin:0px 0px 0px 2px;
  260. border-left: 3px solid {color:title};
  261. }
  262.  
  263. .entry:hover .permalink{
  264. opacity:1;
  265. -moz-transition: all 0.4s ease-in-out;
  266. -webkit-transition: all 0.4s ease-in-out;
  267. -o-transition: all 0.4s ease-in-out;
  268. -ms-transition: all 0.4s ease-in-out;
  269. transition: all 0.4s ease-in-out;
  270. }
  271.  
  272. .permalink{
  273. font-size:10px;
  274. line-height:14px;
  275. opacity:0;
  276. text-transform:uppercase;
  277. text-align:center;
  278. color:{color:link};
  279. -moz-transition: all 0.4s ease-in-out;
  280. -webkit-transition: all 0.4s ease-in-out;
  281. -o-transition: all 0.4s ease-in-out;
  282. -ms-transition: all 0.4s ease-in-out;
  283. transition: all 0.4s ease-in-out;
  284. }
  285.  
  286. .lowerc{
  287. text-transform:lowercase;
  288. }
  289. .speclink{
  290. word-spacing:1px;
  291. }
  292.  
  293. .permaside{
  294. position:absolute;
  295. width:500px;
  296. left:500px;
  297. top:20px;
  298. }
  299. .notess{
  300. height:500px;
  301. width:500px;
  302. overflow:scroll;
  303. }
  304. .notess li{
  305. list-style:none;
  306. line-height:30px;
  307. margin-left:-40px;
  308. }
  309.  
  310. {CustomCSS}
  311. </style>
  312.  
  313. <title>{title}</title>
  314.  
  315. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  316.  
  317. </head>
  318. <body>
  319.  
  320. <div id="header">
  321. <span class="blogtitle">{Title}</span>
  322. <span class="nav">
  323. <a href="/">{text:home}</a>
  324. <a href="/ask">{text:message}</a>
  325. <a href="/archive">{text:archive}</a>
  326. {block:HasPages}{block:Pages}<a href="{URL}"><span class="speclink">{Label}</span></a> {/block:Pages}{/block:HasPages}
  327. <a href="http://atlasdesigns.co/"><i>Theme</i></a>
  328. </span>
  329. <br>{Description}
  330. </div>
  331.  
  332. <div id="content">
  333. {block:Posts}
  334. <div class="entry">
  335.  
  336. {block:Text}
  337. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer">
  338. <div style="margin-left:1px;">{Body}</div></div>
  339. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  340. {/block:Text}
  341.  
  342. {block:Link}
  343. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  344. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  345. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  346. {block:Link}
  347.  
  348. {block:Photo}
  349. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" {block:iflargeposts} width=350px {/block:iflargeposts} {block:ifmediumposts} width=255px {/block:ifmediumposts} {block:ifsmallposts} width=175px {/block:ifsmallposts} /></a></div>{LinkCloseTag}
  350. <div class="permalink">↺ <a href="{ReblogUrl}">{text:reblog}</a>&nbsp;&nbsp; &nbsp;&nbsp;<a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  351. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=450px/>{LinkCloseTag}{/block:PermalinkPage}
  352. {/block:Photo}
  353.  
  354. {block:Photoset}
  355. <center>
  356. {block:IndexPage}{Photoset-250}
  357. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  358. {/block:IndexPage}
  359. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  360. </center>
  361. {/block:IndexPage}
  362. {/block:Photoset}
  363.  
  364. {block:Quote}
  365. <div style="margin-left:3px;">
  366. {Quote}</span><br><i>{Source}</i>
  367. </div>
  368. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  369. {/block:Quote}
  370.  
  371. {block:Chat}
  372. <div style="margin-left:3px;">
  373. {block:Title}<span class="title">{Title}</span>{/block:Title}
  374. <ul class="chat">
  375. {block:Lines}
  376. <li class="user_{UserNumber}">
  377. {block:Label}
  378. <span class="label">{Label}</span>
  379. {/block:Label}
  380. {Line}
  381. </li>
  382. {/block:Lines}
  383. </ul>
  384. </div>
  385. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  386. {/block:Chat}
  387.  
  388. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  389. <center>{AudioPlayerBlack}
  390. {block:Caption}{Caption}{/block:Caption}</center>
  391. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  392. {/block:Audio}
  393.  
  394. {block:Answer}<img src="{AskerPortraitURL-24}" align="left" z-index: 1;/> {Asker} asked: <br><i>{Question}</i><br><br><div class="answer">{Answer}</div>
  395. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCount}</a></div>
  396. {/block:Answer}
  397.  
  398. {block:Video}
  399. {block:IndexPage}
  400. <center>
  401. {Video-250}</center>
  402. {/block:IndexPage}
  403. {block:PermalinkPage}
  404. <center>
  405. {Video-500}</center>
  406. {/block:PermalinkPage}
  407. <div class="permalink"><a href="{permalink}"><img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {NoteCountwithLabel}</a></div>
  408. {block:Video}
  409.  
  410. {block:PermalinkPage}
  411.  
  412. <div class="permaside">
  413. {block:PostNotes}
  414. {block:Caption}{Caption}{/block:caption}
  415. <img src="http://static.tumblr.com/twte3d7/qg3lo2lcg/heart_fill_8x7.png"> {block:NoteCount}{NoteCountwithLabel}{/block:NoteCount}<br>
  416. <img src="http://static.tumblr.com/twte3d7/xn4lo2lba/clock_8x8.png"> {Timeago}<br><br>
  417. <div class="notess">{PostNotes}</div>
  418. {/block:PostNotes}
  419. </div>
  420.  
  421. {/block:PermalinkPage}
  422.  
  423. </div>
  424.  
  425. {/block:Posts}
  426.  
  427. {block:IndexPage}
  428. {block:Pagination}
  429. <div id="pagination">
  430. {block:NextPage}
  431. <a id="nextPage" href="{NextPage}"></a>
  432. {/block:NextPage}
  433. {block:PreviousPage}
  434. <a href="{PreviousPage}"></a>
  435. {/block:PreviousPage}
  436. </div>
  437. {/block:Pagination}
  438. {/block:IndexPage}
  439. </div>
  440. </body>
  441. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement