Advertisement
Carolaine_Vieira

Untitled

Dec 27th, 2014
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.76 KB | None | 0 0
  1. <!-- ─────────╔╗────────────╔╗
  2. ─────────║║───────────╔╝╚╗
  3. ╔══╦╗╔╦══╣║╔══╦╗╔╦══╦═╬╗╔╬══╗
  4. ║╔╗║╚╝║╔╗║║║╔╗║╚╝║║═╣╔╗╣║║║═╣
  5. ║╔╗║║║║╚╝║╚╣╔╗║║║║║═╣║║║╚╣║═╣
  6. ╚╝╚╩╩╩╣╔═╩═╩╝╚╩╩╩╩══╩╝╚╩═╩══╝
  7. ──────║║
  8. ──────╚╝
  9. -->
  10.  
  11.  
  12.  
  13. <head>
  14.  
  15. <script type="text/javascript"
  16. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  17. <script>
  18. $(document).ready(function() {
  19. //
  20. $('a.poplight[href^=#]').click(function() {
  21. var popID = $(this).attr('rel'); //Get Popup Name
  22. var popURL = $(this).attr('href'); //Get Popup href to define size
  23. var query= popURL.split('?');
  24. var dim= query[1].split('&');
  25. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  26. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  27. var popMargTop = ($('#' + popID).height() + 80) / 2;
  28. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  29. //Apply Margin to Popup
  30. $('#' + popID).css({
  31. 'margin-top' : -popMargTop,
  32. 'margin-left' : -popMargLeft
  33. });
  34. $('body').append('<div id="fade"></div>');
  35. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  36. return false;
  37. });
  38. $('a.close, #fade').live('click', function() {
  39. $('#fade , .popup_block').fadeOut(function() {
  40. $('#fade, a.close').remove(); //fade them both out
  41. });
  42. return false;
  43. });
  44. });
  45. </script>
  46.  
  47. <title>{title}</title>
  48. <link rel="shortcut icon" href="{Favicon}"/>
  49. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  50. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  51.  
  52.  
  53. <meta name="color:Background" content="#ffffff"/>
  54. <meta name="color:Text" content="#000000"/>
  55. <meta name="color:Link" content="#555555"/>
  56. <meta name="color:Link Hover" content="#cccccc"/>
  57. <meta name="color:cor do player de msc" content="#cccccc"/>
  58. <meta name="if:2 Column" content="1"/>
  59. <meta name="image:Sidebar" content=""/>
  60. <meta name="text:codigo do player" content="codigo" />
  61. <meta name="text:Sua Url" content="amplamente" />
  62. <meta name="text:Nome da Ask" content="ask"/>
  63. <meta name="text:link 1" content="link 1" />
  64. <meta name="text:link 1 url" content="/" />
  65. <meta name="text:link 2" content="link 2" />
  66. <meta name="text:link 2 url" content="/" />
  67. <meta name="text:link 3" content="link 3" />
  68. <meta name="text:link 3 url" content="/" />
  69. <meta name="color:scrollbarbg" content="#ffffff"/>
  70. <meta name="color:scrollbar" content="#000000"/>
  71.  
  72.  
  73. <style type="text/css">
  74. #bubble-music {
  75. position:fixed;
  76. left:10px;
  77. top:20px;
  78. width:30px;
  79. height:30px;
  80. background-color:{color:cor do player de msc;
  81. border-radius:100%;
  82. -moz-border-radius:100%;
  83. overflow:hidden;
  84. -webkit-transition: all 0.5s ease-out;
  85. -moz-transition: all 0.5s ease-out;
  86. transition: all 0.5s ease-out
  87.  
  88. }
  89.  
  90. #bubble-music:hover {
  91. border-radius:9px;
  92. -moz-border-radius:9px;
  93. width:140px;
  94. height:30px;
  95. }
  96.  
  97. .music_embed {
  98. margin:-23px 0 0 70px;
  99. z-index:1;
  100. font-family:consolas;
  101. font-size:8px;
  102. -webkit-transition: all 0.5s ease-out;
  103. -moz-transition: all 0.5s ease-out;
  104. transition: all 0.5s ease-out
  105. }
  106.  
  107. #bubble-music:hover .music_embed {
  108. margin:-23px 0 0 34px;
  109. opacity:1;
  110. }
  111.  
  112. .popup_block{
  113. display:none;
  114. background:#fff;
  115. padding:20px;
  116. border:1px solid #eee;
  117. float:left;
  118. position:fixed;
  119. top:50%;left:50%;
  120. z-index: 99999;
  121. -webkit-box-shadow: 0px 0px 20px #eee;
  122. -moz-box-shadow: 0px 0px 20px #eee;
  123. box-shadow: 0px 0px 20px #000;
  124. }
  125.  
  126. *html #fade {position: absolute;}
  127. *html .popup_block {position: absolute;}
  128. #fade {
  129. display:none;
  130. position:fixed;
  131. left:0px;
  132. top:0px;
  133. width:100%;
  134. height:100%;
  135. z-index:9999;
  136. background:#000;
  137. opacity:0.5;
  138. }
  139.  
  140. ::-webkit-scrollbar {width:5px;height:auto;background: {color:scrollbarbg};border-bottom:none;}
  141. ::-webkit-scrollbar-button:vertical {height:2px;display:block;}
  142. ::-webkit-scrollbar-thumb:vertical {background-color: {color:scrollbar}; border-radius: 0px;}
  143.  
  144. body{
  145. color:{color:Text};
  146. font-family:calibri;
  147. font-size:10px;
  148. background-color:{color:Background};
  149. }
  150.  
  151. #post{
  152. {block:If2Column}
  153. width:600px;{/block:If2Column}
  154. {block:IfNot2Column}width:508px;{block:IfNot2Column}
  155. margin-left:auto;
  156. margin-right:auto;
  157. background-color:#fff;/
  158. padding:5px;
  159. }
  160.  
  161. a{color:{color:Link};text-decoration:none;} a:hover{color:{color:Link Hover}; text-transform:uppercase;}
  162.  
  163. .entry{
  164. padding:2px;
  165. background-color:#fff;
  166. {block:If2Column}width:250px;{block:If2Column}
  167. {block:IfNot2Column}width:300px;{block:IfNot2Column}
  168. float:right;
  169. margin:2px;/* Spacing of entries*/
  170. }
  171.  
  172. .entry img{
  173. {block:IfNot2Column}width:300px;{block:IfNot2Column}
  174. float:right;
  175. margin:2px;
  176. }
  177. /* Permalinks on hover*/
  178. .entry .perm{
  179. background:#fff;
  180. padding:5px;
  181. text-align:center;
  182. margin-top:3px;
  183. margin-left:-20px;
  184. position:absolute;
  185. opacity:0.0;
  186.  
  187. }
  188.  
  189. .entry:hover .perm{opacity:.7;margin-left:0px; }
  190.  
  191.  
  192. #sidebar{
  193. background-color:#fff;
  194. width:220px;
  195. margin-top:8px;
  196. margin-left:60px;
  197. position:fixed;
  198. padding:3px;
  199. border:1px solid #eee;
  200. text-align:center;
  201. float:center;
  202. }
  203.  
  204. #lerigou{
  205. font: 17px "Century Gothic";
  206. text-transform: uppercase;
  207. letter-spacing: 4px;
  208. line-height: 10px;
  209. color: #eee ;
  210. text-transform: italic;
  211. }
  212. /* Sidebar image*/
  213. #sidebar img{border:1px solid #eee;width:180px;height:auto;padding:5px;}
  214.  
  215. .pagination {
  216. display: none;
  217. }
  218. {CustomCSS]</style>
  219. <!--I reccommend not touching any ofthis unless you don't want infinite scroll!-->
  220. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  221.  
  222. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  223.  
  224. <script>
  225. $(function(){
  226. var $container = $('#post');
  227. $container.imagesLoaded(function(){
  228. $container.masonry({
  229. itemSelector: '.entry',
  230. });
  231. });
  232. $container.infinitescroll({
  233. itemSelector : ".entry",
  234. navSelector : "div.pagination",
  235. nextSelector : ".pagination a#next",
  236. loadingImg : "",
  237. loadingText : "<em></em>",
  238. bufferPx : 10000,
  239. extraScrollPx: 12000,
  240. },
  241. // trigger Masonry as a callback
  242. function( newElements ) {
  243. var $newElems = $( newElements ).css({ opacity: 0 });
  244. // ensure that images load before adding to masonry layout
  245. $newElems.imagesLoaded(function(){
  246. $newElems.animate({ opacity: 1 });
  247. $container.masonry( 'appended', $newElems, true );
  248. });
  249. }
  250. );
  251. });
  252. </script>
  253.  
  254. </head>
  255. <body>
  256. <div id="bubble-music">
  257. <img style="margin:7px;" src="http://media.tumblr.com/tumblr_m7w2py1dEP1r6o8v2.gif">
  258. <div class="music_embed">
  259. {text:codigo do player}
  260. </div>
  261. </div>
  262.  
  263. <div id="sidebar">
  264.  
  265. <img src="{image:Sidebar}">
  266. <br><br><div id="lerigou"><a href="/">{title}</a></div><br>
  267. {description}<br><br>
  268. <a href="#?w=300" rel="box1" class="poplight">{text:nome da ask}</a><br>
  269. <a href="{text:link 1 url}">{text:link 1}</a><br>
  270. <a href="{text:link 2 url}">{text:link 2}</a><br>
  271. <a href="{text:link 3 url}">{text:link 3}</a><br>
  272. </div></div><!--End of sidebar-->
  273.  
  274. <!--Posts and entries-->
  275. <div id="post">
  276. {block:Posts}
  277. <div class="entry">
  278.  
  279. <div class="perm"><a href="{Permalink}">{TimeAgo}</a> <a href="{ReblogURL}">Reblog</a><br><a href="{Permalink}">{NoteCountWithLabel}</a></div>
  280.  
  281. {block:Title}<h1>{Title}</h1>{/block:Title}
  282.  
  283. {block:Text}{Body}{/block:Text}
  284.  
  285. {block:Photo}
  286. {block:If2Column}
  287. <a href="{permalink}"><img src="{PhotoURL-500}" width="250"/></a>{/block:If2Column}
  288.  
  289. {block:IfNot2Column}
  290. <a href="{permalink}"><img src="{PhotoURL-500}" width="500"/></a>{/block:IfNot2Column}
  291. {/block:Photo}
  292.  
  293. {block:Photoset}
  294.  
  295. {block:If2Column}
  296. {Photoset-250}
  297. {/block:If2Column}
  298.  
  299. {block:IfNot2Column}
  300. {Photoset-500}
  301. {/block:IfNot2Column}
  302.  
  303. {/block:Photoset}
  304.  
  305.  
  306. {block:Quote}
  307. {Quote}
  308. <div align="right">
  309. {block:Source}-{Source}{/block:Source}
  310. </div>
  311. {/block:Quote}
  312.  
  313.  
  314. {block:Video}
  315. {block:If2Column}
  316. {Video-250}
  317. {/block:If2Column}
  318.  
  319. {block:IfNot2Column}
  320. {Video-500}
  321. {/block:IfNot2Column}<br>
  322. {PlayCountWithLabel}
  323. {/block:Video}
  324.  
  325.  
  326. {block:Link}
  327. <h1><a href="{URL}" class="link" {Target}>{Name}</a></h1>
  328. {block:Description}{Description}{/block:Description}
  329. {/block:Link}
  330.  
  331. {block:Chat}
  332. {block:Lines}
  333. {block:Label}
  334. <br>{Label}
  335. {/block:Label}
  336. &nbsp;{Line}
  337. {/block:Lines}
  338. {/block:Chat}
  339.  
  340. {block:Audio}
  341. {AudioPlayerGrey}
  342. <br><div align="right">{block:Artist}
  343. Artist: {Artist}</div>
  344. {/block:Artist}<br>
  345. {block:Caption}{Caption}{/block:Caption}
  346. {/block:Audio}
  347.  
  348.  
  349. {block:Answer}
  350. {Asker} asked <b>{Question}</b><Br>
  351. {Answer}
  352. {/block:Answer}
  353.  
  354. {block:PermalinkPage}
  355. {block:Caption}
  356. {Caption}
  357. {/block:Caption}
  358. <br>
  359. {block:NoteCount}
  360. {NoteCount} notes
  361. {/block:NoteCount}
  362. <Br>
  363. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  364. {/block:PermalinkPage}
  365. </div>
  366.  
  367. {/block:Posts}
  368.  
  369. </div>
  370. <!--Pagination-->
  371. <div class="pagination">
  372. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> &middot;{/block:PreviousPage} {block:NextPage}<a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
  373. </div>
  374. <div id="box1" class="popup_block">
  375. <iframe frameborder="0" height="200" id="ask_form" scrolling="yes" src="http://www.tumblr.com/ask_form/{text:sua url}.tumblr.com" width="100%"></iframe><br>
  376.  
  377.  
  378. </div>
  379.  
  380. </div></div></div></div></div></div></div></div></div></div>
  381.  
  382. </body>
  383. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement