Advertisement
ogaraster

Lynx Theme

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