Advertisement
Carolaine_Vieira

Base theme 02

May 20th, 2016
407
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.57 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <html>
  4. <head>
  5.  
  6. <!---
  7. Base theme by amplamente.tumblr.com
  8. --->
  9. <meta charset="utf-8">
  10. <title>{Title}</title>
  11. <link rel="shortcut icon" href="{Favicon}">
  12. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  13. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  14.  
  15. <meta name="color:Background" content="#eee" />
  16. <meta name="color:Post" content="#Fff" />
  17. <meta name="color:Borders" content="#eee" />
  18. <meta name="color:Accent" content="#c9a7ea" />
  19. <meta name="color:Text" content="#999" />
  20. <meta name="color:Link" content="#888" />
  21. <meta name="color:Link hover" content="#ccc" />
  22. <meta name="color:Header bg" content="#Fff" />
  23. <meta name="color:Header link" content="#888" />
  24. <meta name="color:Header link hover" content="#ccc" />
  25.  
  26. <meta name="image:Background" content="" />
  27. <meta name="image:Header" content="" />
  28.  
  29. <meta name="if:InfiniteScrolling" content="0"/>
  30.  
  31. <meta name="text:Link1Title" content="link 1" />
  32. <meta name="text:Link1Url" content="/" />
  33. <meta name="text:Link2Title" content="link 2" />
  34. <meta name="text:Link2Url" content="/" />
  35. <meta name="text:Link3Title" content="link 3" />
  36. <meta name="text:Link3Url" content="/" />
  37. <meta name="text:Link4Title" content="link 4" />
  38. <meta name="text:Link4Url" content="/" />
  39.  
  40. <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
  41.  
  42. <style type="text/css">
  43.  
  44. /** BODY **/
  45.  
  46. *html, body { width:100%; }
  47.  
  48. body {
  49.  
  50. margin:0;
  51. background: {color:background} url("{image:background}") fixed;
  52. color:{color:Text};
  53. font-size:10px;
  54. font-family:Open Sans;
  55.  
  56. }
  57. /** BODY **/
  58.  
  59. /** LINKS **/
  60. a {
  61. text-decoration:none;
  62. color:{color:link};
  63. -webkit-transition: all 0.5s ease-out;
  64. -moz-transition: all 0.5s ease-out;
  65. -ms-transition: all 0.5s ease-out;
  66. -o-transition: all 0.5s ease-out;
  67. transition: all 0.5s ease-out;
  68. }
  69. a:hover {
  70.  
  71. color:{color:link hover};
  72. -webkit-transition: all 0.5s ease-out;
  73. -moz-transition: all 0.5s ease-out;
  74. -ms-transition: all 0.5s ease-out;
  75. -o-transition: all 0.5s ease-out;
  76. transition: all 0.5s ease-out;
  77.  
  78. }
  79. /** LINKS **/
  80.  
  81. /** POST **/
  82. #post {
  83.  
  84. padding:10px;
  85. {block:IndexPage}width:640px;{/block:IndexPage}
  86. {block:PermalinkPage}width:520px; padding:0px;{/block:PermalinkPage}
  87. background:transparent;
  88. margin-left:auto;
  89. margin-right:auto;
  90. margin-top:20px;
  91.  
  92. }
  93.  
  94. /** POST **/
  95.  
  96. /** ENTRY **/
  97. .entry {
  98. float:left;
  99. {block:IndexPage}width:250px;{/block:IndexPage}
  100. {block:PermalinkPage}width:500px;{/block:PermalinkPage}
  101. padding:15px;
  102. margin:20px;
  103. background:{color:post};
  104.  
  105. }
  106. /** ENTRY **/
  107.  
  108. /** ENTRY PERMA HOVER - REBLOG AND LIKE BUTTON **/
  109. .entry .permhover {
  110.  
  111. width:23px;
  112. height:auto;
  113. position:absolute;
  114. margin-left:0px;
  115. margin-top:0px;
  116. background:transparent;
  117. opacity:0.0;
  118. padding:15px;
  119. text-align:center;
  120. -webkit-transition: all 0.5s ease-out;
  121. -moz-transition: all 0.5s ease-out;
  122. -ms-transition: all 0.5s ease-out;
  123. -o-transition: all 0.5s ease-out;
  124. transition: all 0.5s ease-out;
  125.  
  126. }
  127.  
  128. .entry:hover .permhover {
  129.  
  130. opacity:1;
  131. -webkit-transition: all 0.5s ease-out;
  132. -moz-transition: all 0.5s ease-out;
  133. -ms-transition: all 0.5s ease-out;
  134. -o-transition: all 0.5s ease-out;
  135. transition: all 0.5s ease-out;
  136.  
  137. }
  138. /** ENTRY PERMA HOVER **/
  139.  
  140. /** QUOTE **/
  141.  
  142. .quote {
  143.  
  144. font-size:15px;
  145. text-align:center;
  146. padding-left:30px;
  147. padding-right:30px;
  148. margin-bottom:15px;
  149.  
  150. }
  151.  
  152. /** QUOTE SOURCE **/
  153.  
  154. .qsub {
  155.  
  156. font-size:13px;
  157.  
  158. }
  159.  
  160. /** QUOTE **/
  161.  
  162. /** CHAT **/
  163.  
  164. .chat {
  165.  
  166. padding:10px;
  167.  
  168. }
  169. .ch1 {
  170.  
  171. padding:10px;
  172. background:{color:opcional};
  173. border:1px solid {color:Background};
  174. margin-bottom:5px;
  175.  
  176. }
  177. .ch1 b{
  178.  
  179. color:{color:Accent};
  180. margin-right:2px;
  181.  
  182. }
  183.  
  184. /** CHAT **/
  185.  
  186. /** POST TITLE **/
  187.  
  188. h1 {
  189.  
  190. text-align:center;
  191.  
  192. }
  193.  
  194. /** POST TITLE **/
  195.  
  196. blockquote {
  197.  
  198. margin-left:15px;
  199. padding-left:10px;
  200. border-left:3px solid {color:Background};
  201.  
  202. }
  203.  
  204. .caption {}
  205. .caption a{border-bottom:1px solid {color:borders};}
  206.  
  207. /** ALBUM **/
  208.  
  209. .albumfoto{
  210.  
  211. float:left;
  212. width:80px;
  213. margin-top:0px;
  214. margin-left:5px;
  215.  
  216. }
  217. .albumfoto img{
  218.  
  219. width:80px;
  220. border-radius:100%;
  221.  
  222. }
  223.  
  224. .audiodesc {
  225.  
  226. margin-left:90px;
  227. padding:10px;
  228. background:transparent;
  229. margin-top:0px;
  230. min-height:60px;
  231. font-weight:bold;
  232. margin-bottom:10px;
  233.  
  234. }
  235.  
  236. .audioplay {
  237.  
  238. position:absolute;
  239. overflow:hidden;
  240. max-width:30px;
  241. height:28px;
  242. background:{color:Background};
  243. margin-left:25px;
  244. margin-top:-60px;
  245.  
  246. }
  247.  
  248. /** ALBUM **/
  249.  
  250. /** AKS AND ANSWER **/
  251.  
  252. .pessoap a{
  253.  
  254. text-transform:uppercase;
  255.  
  256. }
  257. .pessoapfoto img{
  258.  
  259. float:left;
  260. border-radius:2px;
  261.  
  262. }
  263. .pergunta {
  264.  
  265. background:#eee;
  266. padding:15px;
  267. margin-left:50px;
  268.  
  269. }
  270. .sresposta {
  271.  
  272. padding:5px;
  273. margin-top:5px;
  274.  
  275. }
  276.  
  277. /** ASK AND ANSWER **/
  278.  
  279. /** REBLOG LINK **/
  280.  
  281. .seureblog {
  282. margin-top:20px;
  283. text-align:left;
  284. border-top:1px solid {color:borders};
  285. padding:10px;
  286. padding-bottom:0px;
  287. font-size:10px;
  288.  
  289. }
  290. .seureblog a {
  291.  
  292. margin-right:8px;
  293.  
  294. }
  295.  
  296. /** REBLOG LINK **/
  297.  
  298. .pagination {display:none;}
  299.  
  300. .permalink {
  301.  
  302. padding:10px;
  303.  
  304. }
  305.  
  306. /** TAGS **/
  307.  
  308. .tags {
  309.  
  310. padding:10px;
  311.  
  312. }
  313. .tags a{
  314.  
  315. text-transform:lowercase;
  316.  
  317. }
  318.  
  319. /** TAGS **/
  320.  
  321. /** HEADER **/
  322.  
  323. #header {
  324.  
  325. text-align:center;
  326. background:{color:header bg};
  327. padding:10px;
  328. width:580px;
  329. height:auto;
  330. margin-top:50px;
  331. margin-left:auto;
  332. margin-right:auto;
  333.  
  334.  
  335. }
  336. #avpic {
  337.  
  338. border-radius:100%;
  339. padding:0px;
  340. width:60px;
  341. height:auto;
  342. margin-left:auto;
  343. margin-right:auto;
  344.  
  345. }
  346.  
  347. .description {
  348. width:60%;
  349. margin-left:auto;
  350. margin-right:auto;
  351. padding:2px;
  352. text-align:center;
  353.  
  354. }
  355. .sidetitle {
  356.  
  357. margin-top:10px;
  358. text-transform:lowercase;
  359. background:transparent;
  360. font-weight:bold;
  361. padding:0px;
  362. text-align:center;
  363. font-size:13px;
  364.  
  365.  
  366. }
  367.  
  368. /** HEADER **/
  369.  
  370. /** NAVIGATION **/
  371.  
  372. #navigation {
  373. background:transparent;
  374. width:auto;
  375. text-align:center;
  376. margin-top:5px;
  377. }
  378. #navigation a {
  379. margin-left:5px;
  380. display:inline-block;
  381. padding:0px;
  382. color:{color:header link};
  383. border-bottom:1px solid {color:borders};
  384. font-size:10px;
  385. -webkit-transition:all 0.3s ease-out;
  386. -moz-transition:all 0.3s ease-out;
  387. transition:all 0.3s ease-out;
  388. }
  389. #navigation a:hover {
  390. color:{color:header link hover};
  391. -webkit-transition:all 0.3s ease-out;
  392. -moz-transition:all 0.3s ease-out;
  393. transition:all 0.3s ease-out;
  394. }
  395.  
  396. /** NAVIGATION **/
  397.  
  398. /** PAGINATION **/
  399.  
  400. .pages {
  401.  
  402. padding:20px;
  403. margin-top:20px;
  404. text-align:center;
  405.  
  406. }
  407.  
  408. .pages a {
  409.  
  410. font-weight:bold;
  411.  
  412. }
  413.  
  414. /** PAGINATION **/
  415.  
  416. /** CREDIT **/
  417.  
  418. .credit {
  419.  
  420. position:fixed;
  421. right:10px;
  422. bottom:10px;
  423. text-transform:uppercase;
  424. font-size:10px;
  425.  
  426. }
  427.  
  428. /** CREDIT **/
  429.  
  430. #notas {
  431. margin-top:20px;
  432. width:90%;
  433. height:200px;
  434. overflow-y:auto;
  435. padding:20px;
  436. text-transform:lowercase;
  437. margin-left:auto;
  438. margin-right:auto;
  439. }
  440. .notes img {
  441. width: 15px;
  442. border-radius:2px;
  443. float:right;
  444. list-style:none;
  445. -webkit-transition: all 0.5s linear;
  446. -moz-transition: all 0.5s linear;
  447. transition: all 0.5s linear;}
  448. ol.notes, .notes li {
  449. border-bottom:1px solid {color:borders};
  450. list-style:none;
  451. width: 100%;
  452. padding:5px;
  453. font-size:11px;
  454. margin-top:0px;
  455. margin-left:0px;
  456. padding-left: 0px}
  457. .notes li:hover img {
  458. list-style:none;
  459. -webkit-transition: all 0.5s linear;
  460. -moz-transition: all 0.5s linear;
  461. transition: all 0.5s linear;}
  462.  
  463. {CustomCSS}
  464.  
  465. </style>
  466. </head>
  467.  
  468. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
  469. <script src="http://static.tumblr.com/6hsqxdt/vmwm2rb4g/infinitescrolling.js"></script><script src="http://static.tumblr.com/6hsqxdt/QBym35odk/jquery.masonry.js"></script>
  470.  
  471. <script>
  472. $(function(){
  473. var $container = $('#post');
  474. $container.imagesLoaded(function(){
  475. $container.masonry({
  476. itemSelector: '.entry',
  477. });
  478. });
  479. $container.infinitescroll({
  480. itemSelector : ".entry",
  481. navSelector : "div.pagination",
  482. nextSelector : ".pagination a#next",
  483. loadingImg : "http://static.tumblr.com/nnc3xz0/eYDo4b927/loading5.gif",
  484. loadingText : "<em></em>",
  485. bufferPx : 10000,
  486. extraScrollPx: 12000,
  487. },
  488. // trigger Masonry as a callback
  489. function( newElements ) {
  490. var $newElems = $( newElements ).css({ opacity: 0 });
  491. // ensure that images load before adding to masonry layout
  492. $newElems.imagesLoaded(function(){
  493. $newElems.animate({ opacity: 1 });
  494. $container.masonry( 'appended', $newElems, true );
  495. });
  496. }
  497. );
  498. });
  499. </script>
  500. <body>
  501.  
  502. <div id="header">
  503.  
  504. <img id="avpic" src="{image:header}" />
  505. <div class="sidetitle"><a href="/">{Title}</a></div>
  506. <div class="description">{Description}</div>
  507. <div id="navigation">
  508. <a href="{text:link1url}">{text:link1title}</a>
  509. <a href="{text:link2url}">{text:link2title}</a>
  510. <a href="{text:link3url}">{text:link3title}</a>
  511. <a href="{text:link4url}">{text:link4title}</a>
  512. </div>
  513. </div>
  514.  
  515.  
  516. <div id="post">
  517.  
  518. {block:Posts}
  519.  
  520. <div class="entry">
  521.  
  522. <div class="permhover">
  523.  
  524. {ReblogButton Color="Black"}
  525. {LikeButton Color="Black"}
  526.  
  527. </div>
  528.  
  529. {block:Title} <h1>{TItle}</h1> {/block:Title}
  530.  
  531. {block:Text} {Body} {/block:Text}
  532.  
  533. {block:Photo}
  534. {block:IndexPage}<img src="{PhotoURL-500}" width="250" />{/block:IndexPage}
  535. {block:PermalinkPage}<img src="{PhotoURL-500}" width="500" />{/block:PermalinkPage}
  536. {/block:Photo}
  537.  
  538. {block:Photoset}
  539. {block:IndexPage}{Photoset-250}{/block:IndexPage}
  540. {block:PermalinkPage}{Photoset-500}{/block:PermalinkPage}
  541. {/block:Photoset}
  542.  
  543. {block:Quote}
  544. <div class="quote">"{Quote}"
  545. <div class="qsub">- {block:Source} {Source} {/block:Source} {block:Caption} {Caption} {block:Caption}</div></div>
  546. {/block:Quote}
  547.  
  548. {block:Link}
  549. <h1><a href="{URL}" {Target}>{Name}</a></h1>
  550. {block:Description} {Description} {/block:Description}
  551. {/block:Link}
  552.  
  553. {block:Chat}
  554. <div class="chat">
  555. {block:Lines}
  556. {block:Label}
  557. <div class="ch1">
  558. <b>{Label}</b>
  559. {/block:Label}
  560. {Line}</br>
  561. </div>
  562. {/block:Lines}
  563. </div>
  564. {/block:Chat}
  565.  
  566. {block:Audio}
  567. <div class="albumfoto">
  568. {block:AlbumArt}<img src="{AlbumArtURL}" />{/block:AlbumArt}
  569. <div class="audioplay">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer} </div></div>
  570.  
  571. <div class="audiodesc">
  572. {block:Artist}{Artist}{/block:Artist}</br>
  573. {block:Album}{Album}{/block:Album}</br>
  574. {block:TrackName}{TrackName}{/block:TrackName}</br>
  575. {block:PlayCount}{PlayCountWithLabel}{/block:PlayCount}
  576. </div>
  577. {/block:Audio}
  578.  
  579. {block:Video}
  580. {block:IndexPage}{Video-250}{/block:IndexPage}
  581. {block:PermalinkPage}{Video-500}{/block:PermalinkPage}
  582. {PlayCountWithLabel}
  583. {/block:Video}
  584.  
  585. {block:Answer}
  586. <div class="pessoapfoto"><img src="{AskerPortraitURL-40}" /></div>
  587. <div class="pergunta"><div class="pessoap">{Asker}</div>{Question}</div>
  588. <div class="sresposta">{Answer}</div>
  589. {/block:Answer}
  590.  
  591. {block:Caption}<div class="caption">{Caption}</div>{block:Caption}
  592.  
  593. <div class="seureblog">
  594.  
  595. <a href="{ReblogUrl}">Reblog</a>
  596. {block:Date}
  597. <a href="{Permalink}">{DayOfMonthWithZero} {ShortMonth} {Year}</a>
  598. {/block:Date}
  599. <a href="{Permalink}">{NoteCountWithLabel}</a>
  600.  
  601. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagURL}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  602. </div>
  603.  
  604. {block:PermalinkPage}
  605.  
  606. <div class="permalink">
  607.  
  608. <b>Date:</b> {block:Date}{DayOfMonthWithZero} {Month} {ShortYear}{/block:Date}</br>
  609. <b>Notes:</b> {NoteCount} </br>
  610. {block:RebloggedFrom}<b>Via: </b> <a href="{ReblogParentURL}">{ReblogParentName}</a></br>
  611. <b>Source: </b> <a href="{ReblogRootURL}">{ReblogRootName}</a>
  612. {/block:RebloggedFrom}
  613.  
  614. {block:PostNotes}<div id="notas">{PostNotes-16}</div>{/block:PostNotes}</div>
  615.  
  616. </div>
  617.  
  618. {/block:PermalinkPage}
  619.  
  620. </div>
  621.  
  622. {/block:Posts}
  623.  
  624. </div>
  625.  
  626. {block:IfNotInfiniteScrolling}
  627. <div class="pages">
  628. {block:Pagination}
  629. {block:PreviousPage}<a href="{PreviousPage}">Back</a>{/block:PreviousPage}
  630. </br>{CurrentPage} of {TotalPages}</br>
  631. {block:NextPage}<a href="{NextPage}">Next</a>{/block:NextPage}
  632. {/block:Pagination}
  633. </div>
  634. {/block:IfNotInfiniteScrolling}
  635.  
  636. {block:IfInfiniteScrolling}
  637. <div class="pagination">
  638. {block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">previous</a> &middot;{/block:PreviousPage} {block:NextPage}
  639. <a href="{NextPage}" id="next">next</a>{/block:NextPage}{/block:Pagination}
  640. </div>
  641. {/block:IfInfiniteScrolling}
  642.  
  643. <div class="credit">
  644. <a href="http://ttamplamente.tumblr.com/" title="credit" target="_blank">B</a>
  645. </div>
  646.  
  647. </body>
  648. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement