Advertisement
ogaraster

Light v.2

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