Advertisement
ogaraster

Static Header

May 4th, 2013
21,598
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.07 KB | None | 0 0
  1. <!--
  2.  
  3. Static Header 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:header" content="#ebebeb" />
  49. <meta name="color:text" content="#000000" />
  50. <meta name="color:title" content="#ffffff" />
  51. <meta name="color:header 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:fixed header" content="0">
  59. <meta name="if:show post captions" content="0">
  60. <meta name="if:1 column" content="0">
  61.  
  62. <meta name="text:home" content="refresh">
  63. <meta name="text:message" content="mailbox">
  64. <meta name="text:reblog" content="reblog">
  65. <meta name="text:archive" content="index">
  66.  
  67. <meta name="image:background" content="" />
  68. <meta name="image:header" content="">
  69. <meta name="image:banner" content="">
  70.  
  71. <style type="text/css">
  72.  
  73.  
  74. ::-webkit-scrollbar {width: 3px; height: 0px; background:{color:background};}
  75. ::-webkit-scrollbar-thumb {background: {color:scrollbar}; border-radius:10px;}
  76.  
  77. iframe#tumblr_controls {position:fixed; z-index:9999999999; top: 3px; margin: 0 0 0 0; right:4px; -webkit-filter: invert(100%);}
  78.  
  79. body {
  80. background-color: {color:background};
  81. background-image:url('{image:Background}');
  82. background-attachment: fixed;
  83. background-repeat: repeat;
  84. font-size:11px;
  85. font-family:baskerville;
  86. line-height:14px;
  87. text-transform:none;
  88. color: {color:text};
  89. }
  90.  
  91. #top{
  92. {block:iffixedheader}
  93. position:fixed;
  94. {/block:iffixedheader}
  95. {block:ifnotfixedheader}
  96. position:absolute;
  97. {/block:ifnotfixedheader}
  98. top:40px;
  99. left:50%;
  100. margin-left:-150px;
  101. text-align:center;
  102. padding:20px;
  103. width:260px;
  104. background-color:{color:header};
  105. background-image:url('{image:header}');
  106. background-size:300px auto;
  107. z-index:999;
  108. }
  109.  
  110. #top a{
  111. color:{color:header links};
  112. }
  113. #top a:hover{
  114. color:{color:link hover};
  115. }
  116.  
  117. .blogtitle{
  118. font-size:25px;
  119. font-style:italic;
  120. color:{color:title};
  121. }
  122.  
  123. .description{
  124. color:{color:description};
  125. font-size:12px;
  126. }
  127.  
  128. .answer{
  129. }
  130. .answer img {
  131. width:250px;
  132. height:auto;
  133. {block:permalinkpage}
  134. width:auto;
  135. height:auto;
  136. {/block:permalinkpage}
  137. }
  138.  
  139. a{
  140. text-decoration:underline;
  141. color:{color:link};
  142. }
  143.  
  144. a:link, a:active, a:visited{
  145. color:{color:link};
  146. }
  147.  
  148. a:hover{
  149. color:{color:link hover};
  150. border-bottom:2px solid {color:link hover};
  151. }
  152.  
  153. div#content {
  154. width: 900px;
  155. margin-left:-450px;
  156. left:50%;
  157. {block:if1column}
  158. width:250px;
  159. margin-left:-150px;
  160. {/block:if1column}
  161. margin-top:200px;
  162. float:left;
  163. position: absolute;
  164. }
  165.  
  166. .entry{
  167. margin:25px;
  168. float:left;
  169. height:auto;
  170. background-color: #trans;
  171. {block:IndexPage}
  172. width:250px;
  173. {/block:IndexPage}
  174. {block:PermalinkPage}
  175. width:300px;
  176. height:auto;
  177. {/block:PermalinkPage}
  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. .entry:hover{
  186. -moz-transition: all 0.4s ease-in-out;
  187. -webkit-transition: all 0.4s ease-in-out;
  188. -o-transition: all 0.4s ease-in-out;
  189. -ms-transition: all 0.4s ease-in-out;
  190. transition: all 0.4s ease-in-out;
  191. }
  192.  
  193. .title{
  194. font-size:16px;
  195. line-height:28px;
  196. text-transform:uppercase;
  197. letter-spacing:3px;
  198. color: {color:text};
  199. }
  200.  
  201. blockquote{
  202. padding:0px 0px 0px 3px;
  203. margin:0px 0px 0px 2px;
  204. border-left: 2px solid #ddd;
  205. }
  206.  
  207. .perma{
  208. position:absolute;
  209. top:0px;
  210. left:-25px;
  211. opacity: 0;
  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. .entry:hover .perma{
  219. opacity:.9;
  220. -webkit-transition: all 0.2s linear;
  221. -webkit-transition: all 0.2s linear;
  222. -moz-transition: all 0.2s linear;
  223. transition: all 0.2s linear;
  224. }
  225.  
  226. .permalink{
  227. text-align:center;
  228. opacity:0;
  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. .entry:hover .permalink{
  236. opacity:1;
  237. -webkit-transition: all 0.4s linear;
  238. -webkit-transition: all 0.4s linear;
  239. -moz-transition: all 0.4s linear;
  240. transition: all 0.4s linear;
  241. }
  242.  
  243. .speclink{
  244. word-spacing:1px;
  245. }
  246.  
  247. .notess{
  248. position:absolute;
  249. left:350px;
  250. top:10px;
  251. height:500px;
  252. width:500px;
  253. overflow:scroll;
  254. }
  255.  
  256. ul li {
  257. list-style-type:none;
  258. }
  259.  
  260. .like_and_reblog_buttons {
  261. border-radius: 3px;
  262. list-style: none;
  263. }
  264.  
  265. .like_and_reblog_buttons li {
  266. float: left;
  267. margin: 5px;
  268. }
  269.  
  270.  
  271. {CustomCSS}
  272. </style>
  273.  
  274. <title>{title}</title>
  275.  
  276. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  277.  
  278. </head>
  279. <body>
  280.  
  281. <div id="fb-root"></div>
  282. <script>(function(d, s, id) {
  283. var js, fjs = d.getElementsByTagName(s)[0];
  284. if (d.getElementById(id)) return;
  285. js = d.createElement(s); js.id = id;
  286. js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
  287. fjs.parentNode.insertBefore(js, fjs);
  288. }(document, 'script', 'facebook-jssdk'));</script>
  289.  
  290. <div id="top">
  291. {block:ifbanner}
  292. <img src="{image:banner}" width=280px>
  293. {/block:ifbanner}
  294. {block:ifnotbanner}
  295. <div class="blogtitle">{title}</div>
  296. {/block:ifnotbanner}
  297. <p><span class="description">{description}</span></p>
  298. <a href="/">{text:home}</a>
  299. <a href="/ask">{text:message}</a>
  300. <a href="/archive">{text:archive}</a>
  301. {block:HasPages}{block:Pages}<span class="speclink"><a href="{URL}">{Label}</a></span> {/block:Pages}{/block:HasPages}
  302. <a href="http://atlasdesigns.co/">theme</a>
  303. </div>
  304.  
  305. <div id="content">
  306. {block:Posts}
  307. <div class="entry">
  308.  
  309. {block:Text}
  310. {block:Title}<center><span class="title">{Title}</span></center>{/block:Title}<div class="answer">
  311. <div style="margin-left:1px;">{Body}</div></div>
  312. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  313. {/block:Text}
  314.  
  315. {block:Link}
  316. <center><a href="{URL}"><span class="title">{Name}</span></a></center>
  317. <div style="margin-left:3px;">{block:Description}{Description}{/block:Description}</div>
  318. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  319. {block:Link}
  320.  
  321. {block:Photo}
  322. {block:IndexPage}{LinkOpenTag}<div class="photo"><a href="{permalink}"><img src="{PhotoURL-500}" alt="{PhotoAlt}" width=250px/></a></div>{LinkCloseTag}
  323. <div class="perma">
  324. <ul class="like_and_reblog_buttons">
  325. <li>{ReblogButton color="white"}</li>
  326. <li>{LikeButton color="white"}</li>
  327. </ul>
  328. </div>
  329. {block:ifshowpostcaptions}
  330. {block:Caption}{Caption}{/block:Caption}
  331. {/block:ifshowpostcaptions}
  332. {/block:IndexPage}{block:PermalinkPage}{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"width=300px/>{LinkCloseTag}{/block:PermalinkPage}
  333. {/block:Photo}
  334.  
  335. {block:Photoset}
  336. <center>
  337. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  338. {block:PermalinkPage}{Photoset-250}{/block:PermalinkPage}
  339. </center>
  340. <div class="perma">
  341. <a href="{Permalink}">{NoteCountwithLabel}</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;<a href="{ReblogURL}" target="_blank">{text:reblog}</a><br>
  342. </div>
  343. {/block:IndexPage}
  344. {/block:Photoset}
  345.  
  346. {block:Quote}
  347. {Quote}<br><i>{Source}</i>
  348. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  349. {/block:Quote}
  350.  
  351. {block:Chat}
  352. <div style="margin-left:3px;">
  353. {block:Title}<span class="title">{Title}</span>{/block:Title}
  354. <ul class="chat">
  355. {block:Lines}
  356. <li class="user_{UserNumber}">
  357. {block:Label}
  358. <span class="label">{Label}</span>
  359. {/block:Label}
  360. {Line}
  361. </li>
  362. {/block:Lines}
  363. </ul>
  364. </div>
  365. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  366. {/block:Chat}
  367.  
  368. {block:Audio}<div style="height:0px;background-color:black;opacity:0.1;width:100%;margin-top:10px;margin-bottom:5px;"></div>
  369. <center>{AudioPlayerBlack}
  370. {block:Caption}{Caption}{/block:Caption}</center>
  371. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  372. {/block:Audio}
  373.  
  374. {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>
  375. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  376. {/block:Answer}
  377.  
  378. {block:Video}
  379. {block:IndexPage}
  380. <center>
  381. {Video-250}</center>
  382. <div class="permalink"><a href="{ReblogUrl}">{text:reblog}</a>&nbsp;with&nbsp;<a href="{permalink}">{NoteCountwithLabel}</a></div>
  383. {/block:IndexPage}
  384. {block:PermalinkPage}
  385. <center>
  386. {Video-250}</center>
  387. {/block:PermalinkPage}
  388. {block:Video}
  389.  
  390. {block:PermalinkPage}
  391. {block:Caption}{Caption}<div style="height:1px;background-color:black;opacity:0.1;width:100%;margin-top:5px;margin-bottom:5px;"></div>{/block:Caption}
  392. {block:NoteCount}{NoteCountWithLabel}{/block:NoteCount}{block:HasTags} &middot; {block:Tags}<a href="TagURL"> #{Tag}</a> {/block:Tags}{/block:hasTags}
  393. {/block:PermalinkPage}
  394.  
  395.  
  396. {block:PostNotes}
  397. <div class="notess">{PostNotes}</div>
  398. {/block:PostNotes}
  399. </div>
  400.  
  401. {/block:Posts}
  402.  
  403. {block:IndexPage}
  404. {block:Pagination}
  405. <div id="pagination">
  406. {block:NextPage}
  407. <a id="nextPage" href="{NextPage}"></a>
  408. {/block:NextPage}
  409. {block:PreviousPage}
  410. <a href="{PreviousPage}"></a>
  411. {/block:PreviousPage}
  412. </div>
  413. {/block:Pagination}
  414. {/block:IndexPage}
  415. </div>
  416.  
  417. <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>
  418.  
  419. </body>
  420. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement