Advertisement
feiinho

temas do tumblr1

Sep 3rd, 2014
388
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 45.46 KB | None | 0 0
  1. <html>
  2. <head>
  3. <title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  6.  
  7. {block:Description}
  8. <meta name="description" content="{MetaDescription}" />
  9. {/block:Description}
  10. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  11. {block:IndexPage}
  12. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  13. <script src="http://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  14.  
  15.  
  16. {/block:IndexPage}
  17.  
  18. <meta name="image:Background" content=""/>
  19.  
  20. <meta name="color:Background" content="#ffffff"/>
  21. <meta name="color:Text" content="#000000"/>
  22. <meta name="color:Link" content="#515151"/>
  23.  
  24. <meta name="font:Text" content="Futura"/>
  25.  
  26. <meta name="select:Text Size" content="12" title="Normal"/>
  27. <meta name="select:Text Size" content="10" title="Small"/>
  28. <meta name="select:Text Size" content="16" title="Big"/>
  29.  
  30. <meta name="if:Show Photo Caption" content="0"/>
  31. <meta name="if:Show Photo Border" content="1"/>
  32. <meta name="if:Infinite Scroll" content="1"/>
  33. <meta name="if:Show Full Notes" content="0"/>
  34. <meta name="if:Show RSS" content="0"/>
  35. <meta name="if:Show Archive" content="0"/>
  36. <meta name="if:Show Theme Link" content="0"/>
  37.  
  38. <meta name="text:Twitter Username" content="" />
  39. <meta name="text:Instagarm Username" content="" />
  40. <meta name="text:Facebook URL" content="" />
  41.  
  42. <meta name="text:Custom Link One URL" content="" />
  43. <meta name="text:Custom Link One Title" content="" />
  44. <meta name="text:Custom Link Two URL" content="" />
  45. <meta name="text:Custom Link Two Title" content="" />
  46. <meta name="text:Custom Link Three URL" content="" />
  47. <meta name="text:Custom Link Three Title" content="" />
  48.  
  49. <!-- HEDER VARIABLES // -->
  50. <!-- HEDER VARIABLES // THE X THEME -->
  51.  
  52. <meta name="color:Title" content="#000000"/>
  53. <meta name="color:Description" content="#000000"/>
  54.  
  55. <meta name="font:Title" content="Futura"/>
  56. <meta name="font:Description" content="Futura"/>
  57.  
  58. <meta name="select:Content Size" content="1000px" title="Middle Content"/>
  59. <meta name="select:Content Size" content="1200px" title="Big Content"/>
  60. <meta name="select:Content Size" content="800px" title="Small Content"/>
  61.  
  62. <meta name="select:Rows" content="21" title="4 Rows"/>
  63. <meta name="select:Rows" content="16" title="5 Rows"/>
  64. <meta name="select:Rows" content="29" title="3 Rows"/>
  65. <meta name="select:Rows" content="46" title="2 Rows"/>
  66.  
  67. <meta name="select:Title Size" content="21" title="Normal"/>
  68. <meta name="select:Title Size" content="16" title="Small"/>
  69. <meta name="select:Title Size" content="24" title="Big"/>
  70. <meta name="select:Title Size" content="28" title="Very Big"/>
  71.  
  72. <meta name="select:Avatar" content="https://31.media.tumblr.com/430a292368811d944410d62244be936c/tumblr_mjnvh6hoFN1s3zdk4o1_500.png" title="X"/>
  73. <meta name="select:Avatar" content="50%" title="Circle"/>
  74. <meta name="select:Avatar" content="https://24.media.tumblr.com/778d47cb80f3b0dfa6139e149c1941cd/tumblr_n0n4qlAzt71s3zdk4o1_500.png" title="Crone"/>
  75. <meta name="select:Avatar" content="https://24.media.tumblr.com/71841b2443c213e9fe227bfccedb14b7/tumblr_mjlwsqPwLE1s3zdk4o1_250.png" title="Triangle"/>
  76. <meta name="select:Avatar" content="0%" title="Square"/>
  77. <meta name="select:Avatar" content="none" title="Hide"/>
  78.  
  79. <style>
  80.  
  81. body {
  82. margin: 0;
  83. padding: 0;
  84. background: {color:Background};
  85. background-image: url('{image:Background}');
  86. background-attachment: fixed;
  87. font-size: {select:Text Size}px /* select:Font Size */;
  88. font-family: {font:Text};
  89. }
  90.  
  91. a {
  92. color: {color:Link}; /* color:Link */
  93. text-decoration: none;
  94. }
  95.  
  96. /* GENERAL */
  97.  
  98. #infscr-loading {
  99. width: 50px;
  100. height: 30px;
  101. position: absolute;
  102. bottom: 30px;
  103. left: 50%;
  104. opacity: 0.3;
  105. text-align: center;
  106. border-radius: 6px;
  107. padding-left: 10px;
  108. margin-left: -15px;
  109. padding-right: 10px;
  110. background-color: rgba(250, 250, 250, 0.7);
  111. }
  112.  
  113. #content {
  114. width: {select:Content Size};
  115. height: 100%;
  116. margin: 0 auto;
  117. font-family: {font:Text};
  118. }
  119.  
  120. #content a{
  121. color: #000; /* color:Link */
  122. text-decoration: none;
  123. border-bottom: 1px solid rgba(100, 100, 100, 0.2);
  124. }
  125.  
  126. #description a {
  127. color: {color:Description}; /* color:Link */
  128. text-decoration: underline;
  129. }
  130.  
  131. #overlayer {
  132. position: fixed;
  133. z-index: -1;
  134. top: 0px;
  135. height: 100%;
  136. background-color: #FFF;
  137. padding-left: 20px;
  138. padding-right: 20px;
  139. left: calc(50% - {select:Content Size}/2 - 20px);
  140. width: {select:Content Size};
  141. }
  142.  
  143. /* GENERAL POST */
  144.  
  145. #content .post {
  146. background: #FFF; /* color:Post Background */
  147. color: {color:Text}; /* color:Text */
  148. width: calc({select:Rows}% - 1px);
  149. word-wrap: break-word;
  150. margin-left: 1%;
  151. margin-right: 1%;
  152. overflow: hidden;
  153. margin-top: 2%;
  154. padding: 1%;
  155. font-size: {select:Text Size} /* select:Font Size */;
  156. padding-bottom: calc(1% + 40px);
  157. {block:PermalinkPage}
  158. width: 470px !important;
  159. position: relative !important;
  160. left: 50% !important;
  161. margin-left: -250px !important;
  162. margin-top: 0px !important;
  163. padding: 15px !important;
  164. {/block:PermalinkPage}
  165. }
  166.  
  167. #content .post blockquote {
  168. display: block;
  169. -webkit-margin-before: 5px !important;
  170. -webkit-margin-after: 5px !important;
  171. -webkit-margin-start: 8px !important;
  172. -webkit-margin-end: 8px !important;
  173. border-left: 3px solid rgb(230, 230, 230);
  174. padding-left: 10px;
  175. top: 3px;
  176. position: relative;
  177. }
  178.  
  179. #content .post a{
  180. color: {color:Link}; /* color:Link */
  181. text-decoration: none;
  182. border-bottom: 1px solid rgba(100, 100, 100, 0.2);
  183. }
  184.  
  185. #content .post img {
  186. height: auto;
  187. width: auto;
  188. position: relative;
  189. display: block;
  190. }
  191.  
  192. #content .post iframe, img, embed, object, video {
  193. max-width: 100%;
  194. }
  195.  
  196. #content .post .answer_form_container {
  197. min-height: 140px;
  198. position: relative;
  199. }
  200.  
  201. #content .post #headline {
  202. font-weight: 300;
  203. text-align: center;
  204. border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  205. padding-bottom: 10px;
  206. font-size: 150%;
  207. font-weight: 400;
  208. }
  209.  
  210. #content .post #headline a{
  211. color: {color:Text}; /* color:Text */
  212. border: none;
  213. text-decoration: none;
  214. }
  215.  
  216. /* POST CONTROLS */
  217.  
  218. #content .post .control {
  219. width: 94%;
  220. padding-left: calc(6% + 1px);
  221. height: 36px;
  222. right: 0px;
  223. bottom: 0px;
  224. border-top: 1px solid rgba(200, 200, 200, 0.2);
  225. background-color: #FFF;
  226. position: absolute;
  227. font-size: 10px;
  228. color: rgba(100, 100, 100, 0.6);
  229. }
  230.  
  231. #content .post .control .notes{
  232. text-decoration: none;
  233. color: rgba(100, 100, 100, 0.6);
  234. border: none;
  235. float: left;
  236. line-height: 36px;
  237. position: absolute;
  238. }
  239.  
  240. #content .post .control #buttons {
  241. position: absolute;
  242. width: 46px;
  243. height: 20px;
  244. top: 10px;
  245. right: 5%;
  246. opacity: 0.4;
  247. }
  248.  
  249. #content .post .control #buttons #like{
  250. position: absolute;
  251. width: 20px;
  252. float: left;
  253. opacity: 0.5;
  254. }
  255.  
  256. #content .post .control #buttons #like:hover{
  257. opacity: 1;
  258. }
  259.  
  260. #content .post .control #buttons #reblog{
  261. position: absolute;
  262. width: 20px;
  263. float: left;
  264. right: 0;
  265. opacity: 0.5;
  266. margin-left: 5px;
  267. }
  268.  
  269. #content .post .control #buttons #reblog:hover{
  270. opacity: 1;
  271. }
  272.  
  273. #content .post .control #buttons #reblog a{
  274. border: none;
  275. }
  276.  
  277. /* POST TEXT */
  278.  
  279. #content .text #body {
  280. line-height: 16px;
  281. text-align: justify;
  282. }
  283.  
  284. /* POST PHOTO */
  285.  
  286. #content .photo {
  287. background: #FFF;
  288. {block:IndexPage}
  289. {block:ifNOTShowPhotoBorder}
  290. padding: 0 !important;
  291. width: calc({select:Rows}% + 2% - 1px);
  292. {block:ifNOTShowPhotoBorder}
  293. padding: 1%;
  294. {block:ifShowPhotoCaption}
  295. padding-bottom: calc(1% + 40px);
  296. {/block:ifShowPhotoCaption}
  297. {/block:IndexPage}
  298. }
  299.  
  300. #content .photo img{
  301. margin: 0 auto;
  302. }
  303.  
  304. /* POST PHOTO -> :hover*/
  305.  
  306. #content .photo .hover{
  307. position: absolute;
  308. top: 0;
  309. left: 0;
  310. width: 100%;
  311. height: 100%;
  312. opacity: 0;
  313. display: block;
  314. text-align: center;
  315. -webkit-transition: all 0.2s ease-out;
  316. -webkit-transition: all 0.2s ease-out;
  317. -moz-transition: all 0.2s ease-out;
  318. transition: all 0.2s ease-out;
  319. }
  320.  
  321. #content .photo:hover .hover{
  322. opacity: 1;
  323. display: block;
  324. background-color: rgba(255, 255, 255, 0.2);
  325. }
  326.  
  327. #content .photo .hover .buttons{
  328. width: 128px;
  329. height: 40px;
  330. left: 50%;
  331. display: block;
  332. margin-left: -64px;
  333. position: relative;
  334. top: 50%;
  335. margin-top: -20px;
  336. }
  337.  
  338. #content .photo .hover .buttons #like{
  339. width: 32px;
  340. padding-left: 0px;
  341. height: 24px;
  342. padding-top: 6px;
  343. float: left;
  344. line-height: 30px;
  345. border-radius: 2px;
  346. position: relative;
  347. background-color: black;
  348. }
  349.  
  350. #content .photo .hover .buttons #reblog{
  351. width: 25px;
  352. padding-left: 7px;
  353. height: 24px;
  354. margin-left: 8px;
  355. padding-top: 6px;
  356. float: left;
  357. border-radius: 2px;
  358. line-height: 30px;
  359. position: relative;
  360. background-color: black;
  361. }
  362.  
  363. #content .photo .hover .buttons a{
  364. border: none !important;
  365. }
  366.  
  367. #content .photo .hover .buttons #notes{
  368. width: 46px;
  369. height: 30px;
  370. margin-left: 8px;
  371. text-align: center;
  372. font-size: 10px;
  373. border-radius: 2px;
  374. float: left;
  375. line-height: 30px;
  376. position: relative;
  377. color: #FFF;
  378. background-color: black;
  379. }
  380.  
  381. #content .photo .hover .buttons #notes a{
  382. color: #FFF;
  383. text-decoration: none;
  384. border: none;
  385. }
  386.  
  387. /* POST PANORAMA */
  388. /* POST PHOTOSET */
  389.  
  390. #content .photoset .image {
  391. margin-top: 10px;
  392. }
  393.  
  394. #content .photoset .image:first-child {
  395. margin-top: 0px;
  396. }
  397.  
  398. /* POST QUOTE */
  399.  
  400. #content .quote #quote {
  401. font-size: 150%;
  402. position: relative;
  403. }
  404.  
  405. #content .quote #source {
  406. text-align: right;
  407. position: relative;
  408. margin-top: 10px;
  409. width: 80%;
  410. left: 20%;
  411. font-size: 80%;
  412. }
  413.  
  414. /* POST LINK */
  415.  
  416. #content .link #box {
  417. position: absolute;
  418. top: -0px;
  419. left: 0;
  420. width: calc(90% + 3px);
  421. padding-left: 5%;
  422. padding-right: 5%;
  423. padding-top: 20px;
  424. padding-bottom: 20px;
  425. background-color: {color:Link}; /* Color:Link Post */
  426. color: #FFF;
  427. text-align: center;
  428. font-size: 110%;
  429. }
  430.  
  431. #content .link #visiblebox {
  432. position: relative;
  433. top: 0px;
  434. left: 0;
  435. width: 100%;
  436. padding-top: 25px;
  437. padding-bottom: 20px;
  438. opacity: 0;
  439. }
  440.  
  441. #content .link #box #link{
  442. position: relative;
  443. color: #FFF;
  444. z-index: 2;
  445. font-weight: 100;
  446. }
  447.  
  448. /* POST CHAT */
  449.  
  450. #content .chat {
  451. font-size: 110%;
  452. }
  453.  
  454. #content .chat li{
  455. list-style: none;
  456. margin-top: 10px;
  457. border-top: 1px solid rgba(150, 150, 150, 0.1);
  458. padding-top: 10px;
  459. }
  460.  
  461. #content .chat li:first-child{
  462. border: none;
  463. margin-top: 0px;
  464. }
  465.  
  466. #content .chat .label {
  467. font-weight: bold !important;
  468. }
  469.  
  470. /* POST VIDEO */
  471.  
  472. .video .tumblr_video_container {
  473. width: 100% !important;
  474. }
  475.  
  476. /* POST AUDIO */
  477.  
  478. .audio #cover {
  479. position: absolute;
  480. top: 0px;
  481. right: 0px;
  482. width: 100%;
  483. }
  484.  
  485. .audio #infos {
  486. padding-top: 15px;
  487. padding-bottom: 15px;
  488. background-color: rgba(0, 0, 0, 1);
  489. color: #FFF;
  490. width: 96%;
  491. padding-left: 2%;
  492. padding-right: 2%;
  493. height: 28px;
  494. word-wrap: break-word;
  495. line-height: 16px;
  496. text-align: center;
  497. position: relative;
  498. }
  499.  
  500. .audio #cover:hover #infos{
  501. background-color: rgba(0, 0, 0, 1);
  502. }
  503.  
  504. .audio #caption {
  505. margin-top: 46px;
  506. }
  507.  
  508. .audio #player iframe{
  509. height: 40px;
  510. width: 100%;
  511. }
  512.  
  513. .spotify_audio_player {
  514. height: 90px;
  515. max-height: 90px;
  516. }
  517.  
  518. /* POST ANSWER */
  519.  
  520. #content .answer {}
  521.  
  522. #content .answer #avatar {
  523. position: relative;
  524. float: left;
  525. margin-right: 8px;
  526. margin-bottom: 10px;
  527. }
  528.  
  529. #content .answer #asker {
  530. font-size: 100%;
  531. font-weight: bold;
  532. word-wrap: break-word;
  533. border-bottom: 1px solid rgba(150, 150, 150, 0.1);
  534. }
  535.  
  536. #content .answer #text {
  537. margin-top: 10px;
  538. }
  539.  
  540. #content .answer #answer {
  541. margin-top: 14px;
  542. border-top: 1px solid rgba(150, 150, 150, 0.1);
  543. }
  544.  
  545. /* PERMALINK PAGE */
  546.  
  547. .permalinkpage {
  548. width: 500px;
  549. position: relative;
  550. left: 50%;
  551. margin-left: -250px;
  552. }
  553.  
  554. .permalinkpage .reblogs {
  555. width: 100%;
  556. margin-top: 30px;
  557. position: relative;
  558. height: 40px;
  559. color: {color:Text}; /* Text color */
  560. }
  561.  
  562. .permalinkpage .reblogs a{
  563. color: {color:Text} !important; /* Text color */
  564. text-decoration: none;
  565. border-bottom: 1px solid rgb(240, 240, 240);
  566. }
  567.  
  568. .permalinkpage .reblogs #reblog{
  569. width: 100%;
  570. height: 40px;
  571. position: relative;
  572. background-color: #FFF;
  573. float: left;
  574. text-align: center;
  575. line-height: 40px;
  576. }
  577.  
  578. .permalinkpage .reblogs #source{
  579. width: 49%;
  580. margin-left: 2%;
  581. height: 40px;
  582. position: relative;
  583. background-color: #FFF;
  584. float: left;
  585. text-align: center;
  586. line-height: 40px;
  587. }
  588.  
  589. .permalinkpage .notescontainer{
  590. width: 470px;
  591. margin-top: 12px;
  592. background-color: #FFF;
  593. padding: 15px;
  594. color: {color:Text}; /* Text color */
  595. }
  596.  
  597. .permalinkpage .notescontainer #info {
  598. position: relative;
  599. height: 22px;
  600. width: 100%;
  601. }
  602.  
  603. .permalinkpage .notescontainer #info #left{
  604. text-align: left;
  605. width: 470px;
  606. left: 0px;
  607. top: 0px;
  608. font-size: 18px;
  609. position: absolute;
  610. }
  611.  
  612. .permalinkpage .notescontainer #info #center{
  613. text-align: center;
  614. width: 470px;
  615. left: 0px;
  616. top: 5px;
  617. font-size: 12px;
  618. position: absolute;
  619. }
  620.  
  621. .permalinkpage .notescontainer #info #right{
  622. text-align: right;
  623. width: 470px;
  624. right: 0px;
  625. top: 0px;
  626. font-size: 18px;
  627. position: absolute;
  628. }
  629.  
  630. .permalinkpage .notescontainer #caption{
  631. width: 100%;
  632. position: relative;
  633. border-top: 1px solid rgba(230, 230, 230, 1);
  634. border-bottom: 1px solid rgba(230, 230, 230, 1);
  635. font-size: 12px;
  636. text-align: justify;
  637. margin-top: 20px;
  638. padding-top: 8px;
  639. padding-bottom: 8px;
  640. }
  641.  
  642. .permalinkpage .notescontainer #caption a{
  643. color: {color:Text}; /* Text/Link color */
  644. text-decoration: none;
  645. border-bottom: 1px solid rgb(240, 240, 240);
  646. }
  647.  
  648. .permalinkpage .notescontainer #source {
  649. width: 100%;
  650. height: 40px;
  651. background-color: {color:Text}; /* Text/Link color */
  652. line-height: 40px;
  653. font-size: 18px;
  654. color: #FFF;
  655. text-align: center;
  656. margin-top: 12px;
  657. }
  658.  
  659. .permalinkpage .notescontainer #tags {
  660. width: 430px;
  661. position: relative;
  662. display: block;
  663. padding-top: 8px;
  664. padding-bottom: 8px;
  665. margin-left: -0px;
  666. margin-top: -1px;
  667. list-style: none;
  668. border-top: 1px solid rgba(230, 230, 230, 1);
  669. border-bottom: 1px solid rgba(230, 230, 230, 1);
  670. }
  671.  
  672. .permalinkpage .notescontainer #tags li{
  673. clear: none !important;
  674. display: inline-block;
  675. height: 15px;
  676. margin: 0 4px 0 0;
  677. overflow: hidden;
  678. width: auto;
  679. }
  680.  
  681. .permalinkpage .notescontainer #tags li:first-child{
  682. margin-left: -3em;
  683. }
  684.  
  685. .permalinkpage .notescontainer #tags li a{
  686. color: {color:Text}; /* Text/Link color */
  687. text-decoration: none;
  688. border: none;
  689. }
  690.  
  691. .permalinkpage .notescontainer ol.notes {
  692. width: 100%;
  693. margin-bottom: 60px; /* PERMALINK PAGE BOTTOM */
  694. position: relative;
  695. display: block;
  696. margin-left: -36px;
  697. list-style: none;
  698. font-size: 12px;
  699. }
  700.  
  701. .permalinkpage .notescontainer ol.notes li.note {
  702. clear: none !important;
  703. display: inline-block;
  704. height: 15px;
  705. margin: 0 4px 0 0;
  706. overflow: hidden;
  707. width: 15px;
  708. {block:ifShowFullNotes}
  709. width: 100%;
  710. height: 30px;
  711. {/block:ifShowFullNotes}
  712. }
  713.  
  714. .permalinkpage .notescontainer ol.notes a{
  715. border: none !important;
  716. color: {color:Link};
  717. }
  718.  
  719. .permalinkpage .notescontainer ol.notes li.note img.avatar {
  720. width: 15px;
  721. height: 15px;
  722. border: none !important;
  723. {block:ifShowFullNotes}
  724. width: 18px;
  725. height: 18px;
  726. position: relative;
  727. float: left;
  728. {/block:ifShowFullNotes}
  729. }
  730.  
  731. .permalinkpage .notescontainer ol.notes li.note span.action {
  732. display: none;
  733. {block:ifShowFullNotes}
  734. word-wrap: break-word;
  735. display: block;
  736. position: relative;
  737. float: left;
  738. margin-top: 3px;
  739. margin-left: 8px;
  740. {/block:ifShowFullNotes}
  741. }
  742.  
  743. .permalinkpage .notescontainer .more_notes_link_container {
  744. clear: both !important;
  745. display: block !important;
  746. font-size: 10px;
  747. height: auto;
  748. overflow: visible;
  749. position: relative !important;;
  750. text-align: left !important;
  751. width: 100% !important;
  752. text-align: center !important;
  753. margin-top: 20px !important;
  754. {block:ifShowFullNotes}
  755. {/block:ifShowFullNotes}
  756. }
  757.  
  758. ol.notes li.note .answer_content {
  759. display: none;
  760. }
  761.  
  762. ol.notes li.note blockquote {
  763. display: none;
  764. }
  765.  
  766. ol.notes li.note blockquote a {
  767. display: none;
  768. }
  769.  
  770. /* FOOTER */
  771.  
  772. #nextpage {
  773. width: 95%;
  774. margin-left: 2.5%;
  775. margin-top: 50px;
  776. left: 5%;
  777. height: 60px;
  778. background-color: rgba(255, 255, 255, 0.6);
  779. bottom: 0;
  780. font-size: 18px;
  781. line-height: 60px;
  782. text-align: center;
  783. position: relative;
  784. }
  785.  
  786. #nextpage a{
  787. color: rgba(40, 40, 40, 1);
  788. border: none;
  789. }
  790.  
  791. #prepage {
  792. width: 95%;
  793. margin-left: 2.5%;
  794. margin-top: 20px;
  795. left: 5%;
  796. height: 60px;
  797. background-color: rgba(255, 255, 255, 0.6);
  798. bottom: 0;
  799. font-size: 18px;
  800. line-height: 60px;
  801. text-align: center;
  802. position: relative;
  803. }
  804.  
  805. #prepage a{
  806. color: rgba(40, 40, 40, 1);
  807. border: none;
  808. }
  809.  
  810. /* CSS // */
  811.  
  812. /* THE X THEME CSS */
  813.  
  814. #overlayer {
  815. position: fixed;
  816. z-index: -1;
  817. top: 0px;
  818. height: 100%;
  819. background-color: #FFF;
  820. padding-left: 20px;
  821. padding-right: 20px;
  822. left: calc(50% - {select:Content Size}/2 - 20px);
  823. width: {select:Content Size};
  824. }
  825.  
  826. #header {
  827. margin-bottom: 60px;
  828. margin-top: 40px;
  829. }
  830.  
  831. #header #avatar {
  832. position: relative;
  833. left: 50%;
  834. margin-left: -64px;
  835. border-radius:{select:Avatar};
  836. display: {select:Avatar};
  837. display: block;
  838. }
  839.  
  840. #header #layer {
  841. width: 128px;
  842. height: 128px;
  843. background-size: 128px;
  844. position: relative;
  845. display: block;
  846. left: 50%;
  847. margin-top: -128px;
  848. margin-left: -64px;
  849. background-image: url({select:Avatar});
  850. }
  851.  
  852. #header #title {
  853. font-size: {select:Title Size}px; /* Title Size */
  854. text-align: center;
  855. font-family: {font:Title}; /* Title Font Family */
  856. text-transform: uppercase;
  857. font-weight: 100;
  858. }
  859.  
  860. #header #title a{
  861. color: {color:Title}; /* Title Color */
  862. text-decoration: none;
  863. }
  864.  
  865. #header #description {
  866. width: 500px;
  867. position: relative;
  868. left: 50%;
  869. margin-left: -250px;
  870. font-size: 10px;
  871. text-align: center;
  872. font-family: {font:Description};
  873. color: {color:Description}; /* Descripton Color */
  874. }
  875.  
  876. #header #links {
  877. width: 500px;
  878. font-size: 10px;
  879. position: relative;
  880. left: 50%;
  881. margin-left: -250px;
  882. text-align: center;
  883. margin-top: 20px;
  884. font-family: {font:Description};
  885. }
  886.  
  887. #header #links .link{
  888. text-decoration: none;
  889. margin-left: 5px;
  890. margin-right: 5px;
  891. color: {color:Description}; /* description Color */
  892. }
  893.  
  894. {CustomCSS}
  895.  
  896. </style>
  897. </head>
  898. <body>
  899. <a title="free tumblr themes" href="http://themesthatyoulike.tumblr.com"><iframe id="button" scrolling="no" style="position: fixed; bottom: 10px; right: 10px; border: none; width: 184px; height: 50px; z-index: 1337;" src="http://themesthatyoulike.com/button"></iframe></a>
  900. <script type="text/javascript">
  901. if ( self !== top ) {document.getElementById('button').style.bottom='34px'; }
  902. </script>
  903.  
  904. <div id="overlayer"></div>
  905. <div id="header">
  906. <img id="avatar" src="{PortraitURL-128}" />
  907. <div id="layer"></div>
  908.  
  909. <h1 id="title"><a href="/">{Title}</a></h1>
  910.  
  911. {block:Description}
  912. <div id="description">{Description}</div>
  913. {/block:Description}
  914.  
  915. <div id="links">
  916. {block:AskEnabled}<a class="link" href="/ask">{AskLabel}</a> {/block:AskEnabled}
  917. {block:HasPages}
  918. {block:Pages}<a class="link" href="{URL}">{Label}</a>{block:Pages}{/block:HasPages}
  919. {block:ifShowArchive}<a class="link" href="/archive">Archive</a>{/block:ifShowArchive}
  920. {block:ifShowRSS}<a class="link" href="/rss">RSS</a>{/block:ifShowRSS}
  921. {block:IfCustomLinkOneTitle}<a class="link" href="{Text:Custom Link One URL}">{Text:Custom Link One Title}</a>{/block:IfCustomLinkOneTitle}
  922. {block:IfCustomLinkTwoTitle}<a class="link" href="{Text:Custom Link Two URL}">{Text:Custom Link Two Title}</a>{/block:IfCustomLinkTwoTitle}
  923. {block:IfCustomLinkThreeTitle}<a class="link" href="{Text:Custom Link Three URL}">{Text:Custom Link Three Title}</a>{/block:IfCustomLinkThreeTitle}
  924. {block:ifTwitterUsername}<a class="link" href="http://twitter.com/{Text:Twitter Username}">Twitter</a>{/block:ifTwitterUsername}
  925. {block:ifInstagarmUsername}<a class="link" href="http://instagram.com/{Text:Instagarm Username}">Instagram</a>{/block:ifInstagarmUsername}
  926. {block:ifFacebookURL}<a class="link" href="{Text:Facebook URL}">Facebook</a>{/block:ifFacebookURL}
  927. {block:ifShowThemelink}<a class="link" href="http://themesthatyoulike.tumblr.com/">Theme</a> {/block:ifShowThemelink}
  928. </div>
  929. </div>
  930. <div id="content">
  931. {block:PermalinkPage}<div class="permalinkpage">{block:PermalinkPage}
  932. {block:Posts}{block:Text}
  933. <article id="{PostID}" class="post text">
  934. {block:Title}
  935. <h3 id="headline"><a href="{Permalink}">{Title}</a></h3>
  936. {/block:Title}
  937. <div id="body">{Body}</div>
  938. <!--</article>-->
  939. {/block:Text}{block:Photo}
  940. <article id="{PostID}" class="post photo">
  941. <img src="{PhotoURL-500}" alt="{PhotoAlt}"/>
  942.  
  943. {block:IndexPage}
  944. <div style="{block:ifShowPhotoCaption} display: none; {/block:ifShowPhotoCaption}" class="hover">
  945. <div class="buttons">
  946. <div id="like">{LikeButton size="18" color="White"}</div>
  947. <div id="reblog">{ReblogButton size="18" color="White"}</div>
  948. <div id="notes">
  949. <a target="_blank" href="{Permalink}">{NoteCount}</a>
  950. </div>
  951. </div>
  952. </div>
  953.  
  954. {block:ifShowPhotoCaption}
  955.  
  956. {block:Caption}
  957. <div class="caption">{Caption}</div>
  958. {/block:Caption}
  959.  
  960. {/block:ifShowPhotoCaption}
  961. {/block:IndexPage}
  962.  
  963. <!--</article>-->
  964. {/block:Photo}{block:Panorama}
  965. <article id="{PostID}" class="post panorama">
  966. {LinkOpenTag}
  967. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
  968. {LinkCloseTag}{block:Caption}
  969. <div class="caption">{Caption}</div>
  970. {/block:Caption}
  971. <!--</article>-->
  972. {/block:Panorama}{block:Photoset}
  973. <article id="{PostID}" class="post photoset">
  974. {block:IndexPage}
  975. <div class="photoset-grid" data-layout="{PhotosetLayout}">
  976. {block:Photos}
  977. <img class="image" src="{PhotoURL-500}" {block:Caption}alt="{Caption}"{/block:Caption} />
  978. {/block:Photos}
  979. </div>
  980. {/block:IndexPage}
  981.  
  982. {block:ifShowPhotoCaption}
  983. {block:IndexPage}
  984. {block:Caption}
  985. <div class="caption">{Caption}</div>
  986. {/block:Caption}
  987. {/block:IndexPage}
  988. {/block:ifShowPhotoCaption}
  989.  
  990. {block:PermalinkPage}
  991. {Photoset-500}
  992. {/block:PermalinkPage}
  993.  
  994. <!--</article>-->
  995. {/block:Photoset}{block:Quote}
  996. <article id="{PostID}" class="post quote">
  997. <div id="quote">"{Quote}"</div>
  998.  
  999. {block:Source}
  1000. <div id="source">{Source}</div>
  1001. {/block:Source}
  1002. <!--</article>-->
  1003. {/block:Quote}{block:Link}
  1004. <article id="{PostID}" class="post link">
  1005. <a href="{URL}" id="link" {Target}>
  1006. <div id="box">{Name}</div>
  1007. </a>
  1008. <a href="{URL}" id="link" {Target}>
  1009. <div id="visiblebox">{Name}</div>
  1010. </a>
  1011. {block:Description}
  1012. <div class="description">{Description}</div>
  1013. {/block:Description}
  1014. <!--</article>-->
  1015. {/block:Link}{block:Chat}
  1016. <article id="{PostID}" class="post chat">
  1017. {block:Title}
  1018. <h3 id="headline"><a href="{Permalink}">{Title}</a></h3>
  1019. {/block:Title}
  1020.  
  1021. <div class="chat">
  1022. {block:Lines}
  1023. <li class="{Alt} user_{UserNumber}">
  1024. {block:Label}
  1025. <span class="label">{Label}</span>
  1026. {/block:Label}{Line}
  1027. </li>
  1028. {/block:Lines}
  1029. </div>
  1030. <!--</article>-->
  1031. {/block:Chat}{block:Video}
  1032. <article id="{PostID}" class="post video">
  1033. {block:IndexPage}
  1034. <center>{Video-250}</center>
  1035. {/block:IndexPage}
  1036. {block:PermalinkPage}
  1037. <center>{Video-500}</center>
  1038. {/block:PermalinkPage}
  1039. {block:IndexPage}
  1040. {block:Caption}
  1041. <div class="caption">{Caption}</div>
  1042. {/block:Caption}
  1043. {/block:IndexPage}
  1044. <!-- </article>-->
  1045. {/block:Video}{block:Audio}
  1046. <article id="{PostID}" class="post audio">
  1047.  
  1048. <div id="none" style="opacity: 0;">
  1049. {block:AlbumArt}
  1050. <img src="{AlbumArtURL}" />
  1051. {/block:AlbumArt}
  1052. <div style="{block:AlbumArt}margin-top: -58px;{/block:AlbumArt}" id="infos">
  1053. {block:Artist}
  1054. {Artist}
  1055. {/block:Artist}
  1056. {block:TrackName}
  1057. {TrackName}
  1058. {/block:TrackName}
  1059. </div>
  1060. </div>
  1061.  
  1062. <div id="cover">
  1063. {block:AlbumArt}
  1064. <img src="{AlbumArtURL}" />
  1065. {/block:AlbumArt}
  1066. <div style="{block:AlbumArt}margin-top: -58px; background-color: rgba(0, 0, 0, 0.3);{/block:AlbumArt}" id="infos">
  1067. {block:Artist}
  1068. {Artist}
  1069. {/block:Artist}
  1070. {block:TrackName}
  1071. <br />{TrackName}
  1072. {/block:TrackName}
  1073. </div>
  1074. <div id="player">
  1075. {AudioPlayerBlack}
  1076. </div>
  1077. </div>
  1078. {block:IndexPage}
  1079. {block:Caption}
  1080. <div style="{block:AlbumArt} margin-top: 64px;{/block:AlbumArt}" id="caption">{Caption}</div>
  1081. {/block:Caption}
  1082. {/block:IndexPage}
  1083.  
  1084. <!--</article>-->
  1085. {/block:Audio}{block:Answer}
  1086. <article id="{PostID}" class="post answer">
  1087. <div class="question">
  1088. <img id="avatar" src="{AskerPortraitURL-48}">
  1089. <span id="asker">{Asker} asked:</span>
  1090. <div id="text">{Question}</div>
  1091. </div>
  1092.  
  1093. <div id="answer">{Answer}</div>
  1094. <!--</article>-->
  1095. {/block:Answer}
  1096.  
  1097.  
  1098. {block:IndexPage}
  1099. <div style="{block:Photo} display: none; {block:Photo} {block:ifShowPhotoCaption} display: block; {/block:ifShowPhotoCaption}" class="control">
  1100. <a href="{Permalink}" title="Permalink Page" class="notes">{NoteCountWithLabel}</a>
  1101.  
  1102. <div id="buttons">
  1103. <div id="like">{LikeButton size="16" color="Black"}</div>
  1104. <div id="reblog">{ReblogButton size="16" color="Black"}</div>
  1105. </div>
  1106.  
  1107. </div>
  1108. {/block:IndexPage}
  1109. </article>
  1110.  
  1111. {block:PermalinkPage}
  1112. {block:Date}
  1113. {block:RebloggedFrom}
  1114. <div class="reblogs">
  1115. <div style="{block:ContentSource}width: 49%;{/block:ContentSource}" id="reblog">Reblogged from: <a target="_blank" href="{ReblogParentURL}">{ReblogParentName}</a></div>
  1116. {block:ContentSource}
  1117. <div id="source">Source: <a target="_blank" href="{SourceURL}">{SourceTitle}</a></div>
  1118. {/block:ContentSource}
  1119. </div>
  1120. {/block:RebloggedFrom}
  1121. <div class="notescontainer">
  1122.  
  1123.  
  1124. <div id="info">
  1125. <div id="left">{DayOfMonthWithZero}.{MonthNumberWithZero}.{ShortYear}</div>
  1126. <div id="center">{NoteCountWithLabel}</div>
  1127. <div id="right">{TimeAgo}</div>
  1128. </div>
  1129.  
  1130. {block:Caption}
  1131. <div id="caption">
  1132. {/block:Caption}
  1133.  
  1134. {Caption}
  1135.  
  1136. {block:Caption}
  1137. </div>
  1138. {/block:Caption}
  1139.  
  1140. {block:HasTags}
  1141. <ul id="tags">
  1142. {block:Tags}
  1143. <li>
  1144. <a href="{TagURL}">#{Tag}</a>
  1145. </li>
  1146. {/block:Tags}
  1147. </ul>
  1148. {/block:HasTags}
  1149.  
  1150. {PostNotes}
  1151. </div>
  1152. </div>
  1153. {/block:Date}
  1154. {block:PermalinkPage}
  1155. {/block:Posts}
  1156.  
  1157. {block:ifNotInfiniteScroll}
  1158. {block:NextPage}
  1159. <div id="nextpage">
  1160. <a id="nextpagelink" href="{NextPage}">Next Page »</a>
  1161. </div>
  1162. {/block:NextPage}
  1163.  
  1164. {block:PreviousPage}
  1165. <div id="prepage">
  1166. <a href="{PreviousPage}">« Previous Page</a>
  1167. </div>
  1168. {/block:PreviousPage}
  1169. {/block:ifNotInfiniteScroll}
  1170. </div>
  1171.  
  1172. <p id="footer">
  1173.  
  1174. {block:NextPage}
  1175. {block:ifInfiniteScroll}<next id="pagination"><a class="nextSelector" href="{NextPage}"></a></next>{/block:ifInfiniteScroll}
  1176. {/block:NextPage}
  1177. </p>
  1178.  
  1179. {block:IndexPage}
  1180.  
  1181. <script>
  1182.  
  1183. $(function(){
  1184. var $container = $('#content');
  1185. $container.imagesLoaded(function(){
  1186. $container.masonry({
  1187. itemSelector: '.post',
  1188. isAnimated:true,
  1189. columnWidth:1,
  1190. animationOptions:{duration:350, queue:false},
  1191. });
  1192. });
  1193.  
  1194. $container.infinitescroll({
  1195. navSelector : '#pagination', // selector for the paged navigation
  1196. nextSelector : '#pagination a', // selector for the NEXT link (to page 2)
  1197. itemSelector : '.post', // selector for all items you'll retrieve
  1198. extraScrollPx: 50,
  1199. bufferPx : 40,
  1200. loading: {
  1201. finishedMsg: 'All load.',
  1202. msgText: '',
  1203. img: 'https://31.media.tumblr.com/bd577d1566bd3f531d66de9b1f4eb502/tumblr_n9fj4kvbrj1s3zdk4o1_250.gif',
  1204.  
  1205. }
  1206. },
  1207. // trigger Masonry as a callback
  1208. function( newElements ) {
  1209. // hide new items while they are loading
  1210. var $newElems = $( newElements ).css({ opacity: 0 });
  1211. var $newElemsIDs = $newElems.map(function () {return this.id;}).get();
  1212. // ensure that images load before adding to masonry layout
  1213. $newElems.imagesLoaded(function(){
  1214. // show elems now they're ready
  1215. $newElems.animate({ opacity: 1 });
  1216. $container.masonry( 'appended', $newElems, true );
  1217. console.log($newElems,$newElemsIDs);
  1218. Tumblr.LikeButton.get_status_by_post_ids($newElemsIDs);
  1219. });
  1220. }
  1221. );
  1222. });
  1223. </script>
  1224. {/block:IndexPage}
  1225. </body>
  1226. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement