Advertisement
ogaraster

Pasta Theme

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