Advertisement
Carolaine_Vieira

V. Infinite Scroll

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