Advertisement
ogaraster

Static Theme

May 1st, 2013
16,614
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.86 KB | None | 0 0
  1. <!--
  2.  
  3. Static Theme brought to you by Atlas Designs
  4.  
  5. Do not remove credit unless given permission to do so.
  6.  
  7. -->
  8.  
  9. <head>
  10.  
  11. <link rel="shortcut icon" href="{PortraitURL-24}">
  12. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  13. <meta name="viewport" content="width=820" />
  14.  
  15. {block:IndexPage}
  16.  
  17. <script type="text/javascript"
  18. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  19.  
  20. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  21.  
  22. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  23. <script type="text/javascript">
  24. $(window).load(function () {
  25. var $content = $('#content');
  26. $content.masonry({itemSelector: '.entry'}),
  27. $content.infinitescroll({
  28. navSelector : 'div#pagination',
  29. nextSelector : 'div#pagination a#nextPage',
  30. itemSelector : '.entry',
  31. loading: {
  32. finishedMsg: '',
  33. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  34. },
  35. bufferPx : 600,
  36. debug : false,
  37. },
  38. // call masonry as a callback.
  39. function( newElements ) {
  40. var $newElems = $( newElements );
  41. $newElems.hide();
  42. // ensure that images load before adding to masonry layout
  43. $newElems.imagesLoaded(function(){
  44. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  45. {/block:IndexPage}
  46.  
  47. <meta name="color:background" content="#ffffff" />
  48. <meta name="color:sidebar" content="#ebebeb" />
  49. <meta name="color:text" content="#000000" />
  50. <meta name="color:title" content="#ffffff" />
  51. <meta name="color:sidebar links" content="#828282" />
  52. <meta name="color:link" content="#828282" />
  53. <meta name="color:link hover" content="#ebebeb" />
  54. <meta name="color:scrollbar" content="#ebebeb" />
  55. <meta name="color:description" content="#ffffff">
  56.  
  57. <meta name="if:banner" content="0">
  58. <meta name="if:show post captions" content="0">
  59. <meta name="if:1 column" content="0">
  60.  
  61. <meta name="text:home" content="refresh">
  62. <meta name="text:message" content="mailbox">
  63. <meta name="text:reblog" content="reblog">
  64. <meta name="text:archive" content="index">
  65.  
  66. <meta name="image:background" content="" />
  67. <meta name="image:sidebar" content="">
  68. <meta name="image:banner" content="">
  69.  
  70. <style type="text/css">
  71.  
  72.  
  73. ::-webkit-scrollbar {width: 3px; height: 0px; background:{color:background};}
  74. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  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:baskerville;
  85. line-height:14px;
  86. text-transform:none;
  87. color: {color:text};
  88. }
  89.  
  90. #top{
  91. position:fixed;
  92. top:100px;
  93. left:50%;
  94. margin-left:-600px;
  95. text-align:right;
  96. padding:20px;
  97. width:260px;
  98. background-color:{color:sidebar};
  99. background-image:url('{image:sidebar}');
  100. background-size:300px auto;
  101. }
  102.  
  103. #top a{
  104. color:{color:sidebar links};
  105. }
  106. #top a:hover{
  107. color:{color:link hover};
  108. }
  109.  
  110. .blogtitle{
  111. font-size:25px;
  112. font-style:italic;
  113. color:{color:title};
  114. }
  115.  
  116. .description{
  117. color:{color:description};
  118. font-size:12px;
  119. }
  120.  
  121. .answer{
  122. }
  123. .answer img {
  124. width:250px;
  125. height:auto;
  126. {block:permalinkpage}
  127. width:auto;
  128. height:auto;
  129. {/block:permalinkpage}
  130. }
  131.  
  132. a{
  133. text-decoration:underline;
  134. color:{color:link};
  135. }
  136.  
  137. a:link, a:active, a:visited{
  138. color:{color:link};
  139. }
  140.  
  141. a:hover{
  142. color:{color:link hover};
  143. border-bottom:2px solid {color:link hover};
  144. }
  145.  
  146. div#content {
  147. width: 1100px;
  148. {block:if1column}
  149. width:400px;
  150. {/block:if1column}
  151. margin-left:-300px;
  152. left:50%;
  153. margin-top:68px;
  154. float:left;
  155. position: absolute;
  156. }
  157.  
  158. .entry{
  159. margin:25px;
  160. float:left;
  161. height:auto;
  162. background-color: #trans;
  163. {block:IndexPage}
  164. width:250px;
  165. {/block:IndexPage}
  166. {block:PermalinkPage}
  167. width:300px;
  168. height:auto;
  169. {/block:PermalinkPage}
  170. -moz-transition: all 0.4s ease-in-out;
  171. -webkit-transition: all 0.4s ease-in-out;
  172. -o-transition: all 0.4s ease-in-out;
  173. -ms-transition: all 0.4s ease-in-out;
  174. transition: all 0.4s ease-in-out;
  175. }
  176.  
  177. .entry:hover{
  178. -moz-transition: all 0.4s ease-in-out;
  179. -webkit-transition: all 0.4s ease-in-out;
  180. -o-transition: all 0.4s ease-in-out;
  181. -ms-transition: all 0.4s ease-in-out;
  182. transition: all 0.4s ease-in-out;
  183. }
  184.  
  185. .title{
  186. font-size:16px;
  187. line-height:28px;
  188. text-transform:uppercase;
  189. letter-spacing:3px;
  190. color: {color:text};
  191. }
  192.  
  193. blockquote{
  194. padding:0px 0px 0px 3px;
  195. margin:0px 0px 0px 2px;
  196. border-left: 2px solid #ddd;
  197. }
  198.  
  199. .perma{
  200. position:absolute;
  201. top:0px;
  202. left:-25px;
  203. opacity: 0;
  204. -webkit-transition: all 0.2s linear;
  205. -webkit-transition: all 0.2s linear;
  206. -moz-transition: all 0.2s linear;
  207. transition: all 0.2s linear;
  208. }
  209.  
  210. .entry:hover .perma{
  211. opacity:.9;
  212. -webkit-transition: all 0.2s linear;
  213. -webkit-transition: all 0.2s linear;
  214. -moz-transition: all 0.2s linear;
  215. transition: all 0.2s linear;
  216. }
  217.  
  218. .permalink{
  219. text-align:center;
  220. opacity:0;
  221. -webkit-transition: all 0.4s linear;
  222. -webkit-transition: all 0.4s linear;
  223. -moz-transition: all 0.4s linear;
  224. transition: all 0.4s linear;
  225. }
  226.  
  227. .entry:hover .permalink{
  228. opacity:1;
  229. -webkit-transition: all 0.4s linear;
  230. -webkit-transition: all 0.4s linear;
  231. -moz-transition: all 0.4s linear;
  232. transition: all 0.4s linear;
  233. }
  234.  
  235. .speclink{
  236. word-spacing:1px;
  237. }
  238.  
  239. .notess{
  240. position:absolute;
  241. left:350px;
  242. top:10px;
  243. height:500px;
  244. width:500px;
  245. overflow:scroll;
  246. }
  247.  
  248. ul li {
  249. list-style-type:none;
  250. }
  251.  
  252. .like_and_reblog_buttons {
  253. border-radius: 3px;
  254. list-style: none;
  255. }
  256.  
  257. .like_and_reblog_buttons li {
  258. float: left;
  259. margin: 5px;
  260. }
  261.  
  262.  
  263. {CustomCSS}
  264. </style>
  265.  
  266. <title>{title}</title>
  267.  
  268. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  269.  
  270. </head>
  271. <body>
  272.  
  273. <div id="fb-root"></div>
  274. <script>(function(d, s, id) {
  275. var js, fjs = d.getElementsByTagName(s)[0];
  276. if (d.getElementById(id)) return;
  277. js = d.createElement(s); js.id = id;
  278. js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  279. fjs.parentNode.insertBefore(js, fjs);
  280. }(document, 'script', 'facebook-jssdk'));</script>
  281.  
  282. <div id="top">
  283. {block:ifbanner}
  284. <img src="{image:banner}" width=280px>
  285. {/block:ifbanner}
  286. {block:ifnotbanner}
  287. <div class="blogtitle">{title}</div>
  288. {/block:ifnotbanner}
  289. <p><span class="description">{description}</span></p>
  290. <a href="/">{text:home}</a>
  291. <a href="/ask">{text:message}</a>
  292. <a href="/archive">{text:archive}</a>
  293. {block:HasPages}{block:Pages}<span class="speclink"><a href="{URL}">{Label}</a></span> {/block:Pages}{/block:HasPages}
  294. <a href="http://atlasdesigns.co/">theme</a>
  295. </div>
  296.  
  297. <div id="content">
  298. {block:Posts}
  299. <div class="entry">
  300.  
  301. {block:Text}
  302. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer">
  303. <div style="margin-left:1px;">{Body}</div></div>
  304. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  305. {/block:Text}
  306.  
  307. {block:Link}
  308. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  309. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  310. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  311. {block:Link}
  312.  
  313. {block:Photo}
  314. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=250px/></a></div>{LinkCloseTag}
  315. <div class="perma">
  316. <ul class="like_and_reblog_buttons">
  317. <li>{ReblogButton color="white"}</li>
  318. <li>{LikeButton color="white"}</li>
  319. </ul>
  320. </div>
  321. {block:ifshowpostcaptions}
  322. {block:Caption}{Caption}{/block:Caption}
  323. {/block:ifshowpostcaptions}
  324. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=300px/>{LinkCloseTag}{/block:PermalinkPage}
  325. {/block:Photo}
  326.  
  327. {block:Photoset}
  328. <center>
  329. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  330. {block:PermalinkPage}{Photoset-250}{/block:PermalinkPage}
  331. </center>
  332. <div class="perma">
  333. <a href="{Permalink}">{NoteCountwithLabel}</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="{ReblogURL}" target="_blank">{text:reblog}</a><br>
  334. </div>
  335. {/block:IndexPage}
  336. {/block:Photoset}
  337.  
  338. {block:Quote}
  339. {Quote}<br><i>{Source}</i>
  340. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  341. {/block:Quote}
  342.  
  343. {block:Chat}
  344. <div style="margin-left:3px;">
  345. {block:Title}<span class="title">{Title}</span>{/block:Title}
  346. <ul class="chat">
  347. {block:Lines}
  348. <li class="user_{UserNumber}">
  349. {block:Label}
  350. <span class="label">{Label}</span>
  351. {/block:Label}
  352. {Line}
  353. </li>
  354. {/block:Lines}
  355. </ul>
  356. </div>
  357. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  358. {/block:Chat}
  359.  
  360. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  361. <center>{AudioPlayerBlack}
  362. {block:Caption}{Caption}{/block:Caption}</center>
  363. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  364. {/block:Audio}
  365.  
  366. {block:Answer}<img src="{AskerPortraitURL-24}" align="left" z-index: 1; style="padding:2px; border:1px solid #eeeeee"/> {Asker} asked: <br><i>{Question}</i><br><br><div class="answer">{Answer}</div>
  367. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  368. {/block:Answer}
  369.  
  370. {block:Video}
  371. {block:IndexPage}
  372. <center>
  373. {Video-250}</center>
  374. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  375. {/block:IndexPage}
  376. {block:PermalinkPage}
  377. <center>
  378. {Video-250}</center>
  379. {/block:PermalinkPage}
  380. {block:Video}
  381.  
  382. {block:PermalinkPage}
  383. {block:Caption}{Caption}<div style="height:1px;background-color:black;opacity:0.1;width:100%;margin-top:5px;margin-bottom:5px;"></div>{/block:Caption}
  384. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  385. {/block:PermalinkPage}
  386.  
  387.  
  388. {block:PostNotes}
  389. <div class="notess">{PostNotes}</div>
  390. {/block:PostNotes}
  391. </div>
  392.  
  393. {/block:Posts}
  394.  
  395. {block:IndexPage}
  396. {block:Pagination}
  397. <div id="pagination">
  398. {block:NextPage}
  399. <a id="nextPage" href="{NextPage}"></a>
  400. {/block:NextPage}
  401. {block:PreviousPage}
  402. <a href="{PreviousPage}"></a>
  403. {/block:PreviousPage}
  404. </div>
  405. {/block:Pagination}
  406. {/block:IndexPage}
  407. </div>
  408.  
  409. <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>
  410.  
  411. </body>
  412. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement