navys

solar

Aug 8th, 2017
1,319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.83 KB | None | 0 0
  1.  
  2. <!--
  3.  
  4. THEME 03
  5. solar
  6.  
  7. by @02px
  8.  
  9. enjoy :-)
  10.  
  11. -->
  12.  
  13. <html>
  14. <head>
  15. <title>{Title}</title>
  16. <link rel="shortcut icon" href="{Favicon}">
  17. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  18. {block:Description}
  19. <meta name="description" content="{MetaDescription}" />
  20. {/block:Description}
  21.  
  22. <meta name="image:icon" content="" />
  23.  
  24. <meta name="color:background" content="#fff" />
  25. <meta name="color:description background" content="#f5f5f5" />
  26. <meta name="color:text" content="#131313" />
  27. <meta name="color:title" content="#131313" />
  28. <meta name="color:links" content="#00000" />
  29. <meta name="color:links hover" content="#00000" />
  30. <meta name="color:scrollbar" content="#00000" />
  31. <meta name="select:post width" content="350" title="350px" />
  32. <meta name="select:post width" content="400" title="400px" />
  33. <meta name="select:post width" content="450" title="450px" />
  34. <meta name="select:post width" content="500" title="500px" />
  35.  
  36. <meta name="if:social media" content="" />
  37.  
  38. <meta name="text:font size" content="11px" />
  39. <meta name="text:more title" content="about" />
  40. <meta name="text:more" content="here you can write anything you want. no length limit!" />
  41. <meta name="text:link 1 url" content="" />
  42. <meta name="text:link 1" content="link 1" />
  43. <meta name="text:link 2 url" content="" />
  44. <meta name="text:link 2" content="link 2" />
  45. <meta name="text:link 3 url" content="" />
  46. <meta name="text:link 3" content="link 3" />
  47. <meta name="text:link 4 url" content="" />
  48. <meta name="text:link 4" content="link 4" />
  49. </head>
  50.  
  51. <link href='http://static.tumblr.com/8pnyeus/sXxofi7lt/outicons.css' rel='stylesheet' type='text/css'>
  52.  
  53. <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
  54.  
  55. <script src="https://use.fontawesome.com/6ac3a8bdbf.js"></script>
  56.  
  57. <link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" rel="stylesheet">
  58.  
  59. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  60.  
  61. <script>
  62. $(document).ready(function(){
  63. $("#hover").click(function(){
  64. $("#pop").fadeIn();
  65. });
  66. $("#bg").click(function(){
  67. $("#pop").fadeOut();
  68. });
  69. });
  70. </script>
  71.  
  72. <script>
  73. $(document).ready(function(){
  74.  
  75. $(window).scroll(function(){
  76. if ($(this).scrollTop() > 100) {
  77. $('.scrolltotop').fadeIn();
  78. } else {
  79. $('.scrolltotop').fadeOut();
  80. }
  81. });
  82.  
  83. $('.scrollToTop').click(function(){
  84. $('html, body').animate({scrollTop : 0},800);
  85. return false;
  86. });
  87.  
  88. });
  89. </script>
  90.  
  91. <style type="text/css">
  92.  
  93. /* -------GENERAL------- */
  94.  
  95. ::-webkit-scrollbar{
  96. width:7px;
  97. height:7px;
  98. }
  99.  
  100. ::-webkit-scrollbar{
  101. background-color:{color:Background};
  102. border-radius:10px;
  103. }
  104.  
  105. ::-webkit-scrollbar-track{
  106. border:2px solid {color:Background};
  107. }
  108.  
  109. ::-webkit-scrollbar-thumb{
  110. border:2px solid {color:Background};
  111. background-color:{color:Scrollbar};
  112. }
  113.  
  114. ::-webkit-scrollbar:horizontal{
  115. display:none;
  116. }
  117.  
  118. ::-moz-selection{
  119. background:#eee;
  120. }
  121.  
  122. ::selection{
  123. background:#eee;
  124. }
  125.  
  126. .tmblr-iframe{
  127. -webkit-filter: invert(100%);
  128. filter: invert(100%);
  129. opacity:0.2;
  130. transform:scale(0.7,0.7);
  131. right:-100px;
  132. z-index:9999999999!important;
  133. }
  134.  
  135. body {
  136. background-color:{color:background};
  137. font-size:{text:font size};
  138. color:{color:text};
  139. font-family: 'Open Sans', sans-serif;
  140. line-height:15px;
  141. }
  142.  
  143. a {
  144. text-decoration:none;
  145. color:{color:links};
  146. transition:.4s ease;
  147. }
  148.  
  149. a:hover {
  150. text-decoration:none;
  151. color:{color:links hover};
  152. }
  153.  
  154. .index-page .photos img {
  155. {block:IndexPage}
  156. display: none;
  157. {/block:IndexPage}
  158. {block:PermaLinkPage}
  159. display:block;
  160. {block:PermaLinkPage}
  161. }
  162.  
  163. .index-page .photos a {
  164. {block:IndexPage}
  165. display: none;
  166. {/block:IndexPage}
  167. {block:PermaLinkPage}
  168. display:block;
  169. {block:PermaLinkPage}
  170. }
  171.  
  172. .index-page .photos img:first-child {
  173. display:block;
  174. width:{select:post width}px;
  175. }
  176.  
  177. .index-page .photos a:first-child {
  178. display:block;
  179. width:calc({select:post width}px - 20px);
  180. }
  181.  
  182. .photos img {
  183. width:{select:post width}px;
  184. }
  185.  
  186. /*------POST SETTINGS------*/
  187.  
  188. img {
  189. max-width:100%;
  190. }
  191.  
  192. blockquote {
  193. margin:5px 0;
  194. padding:0px 15px;
  195. border-left:1px solid #eee;
  196. }
  197.  
  198. .info1 blockquote {
  199. border-right:1px solid #eee;
  200. border-left:none;
  201. }
  202.  
  203. ol.notes {
  204. padding: 0px;
  205. margin: 25px 0px;
  206. list-style-type: none;
  207. }
  208.  
  209. ol.notes li.note {
  210. padding: 10px;
  211. }
  212.  
  213. ol.notes li.note img.avatar {
  214. vertical-align: -4px;
  215. margin-right: 10px;
  216. width: 0px;
  217. height: 0px;
  218. }
  219.  
  220. ol.notes li.note span.action {
  221. font-weight: normal;
  222. }
  223.  
  224. ol.notes li.note .answer_content {
  225. font-weight: normal;
  226. }
  227.  
  228. ol.notes li.note blockquote {
  229. padding: 4px 10px;
  230. margin: 10px 0px 0px 25px;
  231. }
  232.  
  233. ol.notes li.note blockquote a {
  234. text-decoration: none;
  235. }
  236.  
  237. /*------POSTS-------*/
  238.  
  239. .container {
  240. width:{select:post width}px;
  241. margin:auto;
  242. margin-bottom:100px;
  243. }
  244.  
  245. .posts {
  246. padding:10px;
  247. margin:auto;
  248. margin-top:70px;
  249. transition: .5s ease;
  250. }
  251.  
  252. .text {
  253. margin-left:0px;
  254. }
  255.  
  256. .info1 {
  257. float:left;
  258. width:200px;
  259. position:absolute;
  260. display:inline-block;
  261. margin-left:-235px;
  262. text-align:right;
  263. padding:10px;
  264. }
  265.  
  266. .info2 {
  267. float:right;
  268. width:200px;
  269. position:absolute;
  270. display:inline-block;
  271. margin-left:{select:post width}px;
  272. text-align:left;
  273. padding:10px;
  274. }
  275.  
  276. .d {
  277. font-weight:bold;
  278. font-size:calc({text:font size} - 1px);
  279. text-transform:uppercase;
  280. margin-bottom:5px;
  281. }
  282.  
  283. .d a {
  284. color:{color:title};
  285. }
  286.  
  287. .buttons {
  288. font-size:13px;
  289. margin-bottom:3px;
  290. margin-left:-2px;
  291. margin-right:-2px;
  292. }
  293.  
  294. .buttons a {
  295. color:{color:text};
  296. }
  297.  
  298. .custom-like-button *{cursor:pointer!important;}
  299. .custom-like-button {
  300. position:relative;
  301. display:inline-block;
  302. vertical-align:top;
  303. width:12px;
  304. font-size:12px;
  305. height:15px;
  306. margin:-1px 2px 0 2px;
  307. cursor:pointer;
  308. }
  309.  
  310. .like_button:hover + .our_button {color:red;}
  311. .like_button.liked + .our_button {color:red;}
  312. .like_button iframe {width:100%!important;height:100%!important;}
  313. .like_button {z-index:10;opacity:0;}
  314. .our_button {z-index:1;}
  315. .our_button,.like_button {
  316. position:absolute;
  317. top:0;
  318. left:0;
  319. width:100%;
  320. height:100%;
  321. }
  322.  
  323. .caption {
  324. margin-top:-7px;
  325. overflow:scroll;
  326. }
  327.  
  328. .caption a {
  329. word-break:break-all;
  330. }
  331.  
  332. a.tumblr_blog {
  333. font-size:calc({text:font size} - 1px);
  334. }
  335.  
  336. .tags {
  337. margin-left:-5px;
  338. margin-right:-5px;
  339. font-size:calc({text:font size} - 2px);
  340. }
  341.  
  342. .tags a {
  343. padding:5px;
  344. }
  345.  
  346. h1 {
  347. display:block;
  348. color:{color:title};
  349. font-weight:700;
  350. text-transform:uppercase;
  351. font-size:calc({text:font size} - 1px);
  352. }
  353.  
  354. .notes {
  355. font-size:calc({text:font size} - 1px);
  356. margin-bottom:5px;
  357. opacity:.8;
  358. margin-top:5px;
  359. }
  360.  
  361. .postnotes {
  362. font-size:10px;
  363. padding:20px;
  364. }
  365.  
  366. v {
  367. font-size:calc({text:font size} - 1px);
  368. }
  369.  
  370. /*----top----*/
  371.  
  372. img.icon {
  373. margin-top:100px;
  374. margin-left:calc(50% - 30px);
  375. height:60px;
  376. width:60px;
  377. border-radius:100%;
  378. object-fit:cover;
  379. overflow:hidden;
  380. cursor:pointer;
  381. }
  382.  
  383. #hover {
  384. margin-left:calc(50% - 33px);
  385. height:35px;
  386. width:50px;
  387. border-radius:100%;
  388. z-index:9999;
  389. background:white;
  390. opacity:0;
  391. font-size:20px;
  392. padding-top:15px;
  393. color:black;
  394. position:absolute;
  395. margin-top:-59px;
  396. cursor:pointer;
  397. transition:.2s ease;
  398. text-align:center;
  399. }
  400.  
  401. #hover:hover {
  402. opacity:.7;
  403. }
  404.  
  405. img.icon:hover + #hover {
  406. opacity:.7;
  407. }
  408.  
  409. /*-----POPUP-----*/
  410.  
  411. #pop {
  412. display:none;
  413. }
  414.  
  415. #bg {
  416. width:100%;
  417. height:100%;
  418. position:fixed;
  419. top:0;
  420. left:0;
  421. background:#f8f8f8;
  422. opacity:.8;
  423. z-index:99999;
  424. }
  425.  
  426. #info {
  427. width:300px;
  428. background:white;
  429. padding:10px;
  430. margin-top:-30px;
  431. margin-left:calc(50% - 150px);
  432. position:fixed;
  433. z-index:999999;
  434. }
  435.  
  436. #top {
  437. width:25px;
  438. height:25px;
  439. background:white;
  440. position:fixed;
  441. transform:rotate(45deg);
  442. margin-top:-20px;
  443. display:block;
  444. margin-left:20px;
  445. z-index:9999999;
  446. }
  447.  
  448. h2 {
  449. font-weight:700;
  450. text-transform:uppercase;
  451. font-size:calc({text:font size} - 1px);
  452. letter-spacing:3px;
  453. text-align:center;
  454. color:{color:title};
  455. }
  456.  
  457. #desc {
  458. background:{color:description background};
  459. padding:10px;
  460. border:1px solid #eee;
  461. margin:15px 10px;
  462. }
  463.  
  464. #more {
  465. margin:5px 20px;
  466. }
  467.  
  468. #links {
  469. text-align:center;
  470. letter-spacing:.8px;
  471. padding:10px;
  472. font-size:calc({text:font size} - 1px);
  473. }
  474.  
  475. #links a {
  476. padding-left:2px;
  477. padding-right:2px;
  478. }
  479.  
  480. .s {
  481. text-align:center;
  482. margin:auto;
  483. }
  484.  
  485. .social, .social1 {
  486. height:21px;
  487. width:24px;
  488. border-radius:7px;
  489. border:1px solid #eee;
  490. color:#eee;
  491. font-size:16px;
  492. text-align:center;
  493. padding-top:4px;
  494. padding-left:1px;
  495. display:inline-block;
  496. margin:2px 5px 8px 5px;
  497. }
  498.  
  499. .social1 {
  500. font-size:17px;
  501. padding-left:0;
  502. width:25px;
  503. }
  504.  
  505. .footer {
  506. position:fixed;
  507. bottom:30px;
  508. left:30px;
  509. }
  510.  
  511. .footer a {
  512. padding-right:10px;
  513. }
  514.  
  515. .scrolltotop {
  516. color:{color:links};
  517. cursor:pointer;
  518. display:none;
  519. }
  520.  
  521. #n {position:fixed;right:30px;bottom:30px;font-size:11px;z-index:9999999;}
  522.  
  523. </style>
  524.  
  525. <body class="{block:IndexPage}index-page{/block:IndexPage}">
  526.  
  527. <img class="icon" src="{image:icon}"><div id="hover"><span class="lnr lnr-pointer-up"></span></div>
  528.  
  529. <div id="pop">
  530. <div id="bg"></div>
  531.  
  532. <div id="info"><div id="top"></div>
  533. <h2>{Title}</h2>
  534. {block:Description}<div id="desc">{Description}</div>{/block:Description}
  535. <h2>{text:more title}</h2>
  536. <div id="more">{text:more}</div>
  537. <div id="links">
  538. <a href="/">home</a>
  539. <a href="/ask">message</a>
  540. <a href="{text:link 1 url}">{text:link 1}</a>
  541. <a href="{text:link 2 url}">{text:link 2}</a>
  542. <a href="{text:link 3 url}">{text:link 3}</a>
  543. <a href="{text:link 4 url}">{text:link 4}</a>
  544. </div>
  545.  
  546. {block:ifSocialMedia}
  547. <div class="s">
  548. <a href="PUT YOUR SOCIAL MEDIA LINKS HERE"><div class="social1"><i class="fa fa-instagram" aria-hidden="true"></i></div></a>
  549.  
  550. <a href="PUT YOUR SOCIAL MEDIA LINKS HERE"><div class="social"><i class="fa fa-twitter" aria-hidden="true"></i></div></a>
  551.  
  552. <a href="PUT YOUR SOCIAL MEDIA LINKS HERE"><div class="social"><i class="fa fa-facebook" aria-hidden="true"></i></div></a>
  553. {/block:ifSocialMedia}
  554. </div>
  555. </div>
  556. </div>
  557.  
  558. <div class="container">
  559.  
  560. {block:Posts}
  561.  
  562. <div class="posts">
  563.  
  564. {block:Odd}
  565. <div class="info1">
  566. {/block:Odd}
  567. {block:Even}
  568. <div class="info2">
  569. {/block:Even}
  570.  
  571. {block:Date}<div class="d"><a href="{PermaLink}">{Month} {DayOfMonth}, {Year}</a></div>{/block:Date}
  572. {block:NoteCount}<div class="notes">{NoteCountWithLabel}</div>{/block:NoteCount}
  573. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  574. {block:IndexPage}
  575. <div class="buttons">
  576. <div class="custom-like-button">{LikeButton}
  577. <span class="our_button"><i class="oi oi-heart"></i></span>
  578. </div>
  579. <a href="{ReblogURL}"><i class="oi oi-refresh"></i></a>
  580. </div>
  581. {/block:IndexPage}
  582. <div class="tags">{block:HasTags}{block:Tags}<a href="{TagUrl}">{Tag}</a>{/block:Tags}{/block:HasTags}</div>
  583. {block:PermaLinkPage}
  584. <v>
  585. {block:RebloggedFrom}via <a href="{ReblogParentURL}">{ReblogParentName}</a>, originally from <a href="{ReblogRootURL}">{ReblogRootName}</a>{/block:RebloggedFrom}</v>
  586. {/block:PermaLinkPage}
  587.  
  588. </div>
  589.  
  590.  
  591.  
  592. {block:Text}
  593. <div class="text">{block:Title}<h1>{Title}</h1>{/block:Title}{Body}</div>{/block:Text}
  594.  
  595. {block:Photo}<a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false">
  596. <img src="{PhotoURL-HighRes}">
  597. </a>{/block:Photo}
  598.  
  599. {block:Panorama}{LinkOpenTag}<img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>{LinkCloseTag}{/block:Panorama}
  600.  
  601. {block:Photoset}
  602. {block:IndexPage}
  603. <div class="photos">
  604. {block:Photos}
  605. <a href="#" onclick="Tumblr.Lightbox.init([{ width: {PhotoWidth-HighRes}, height: {PhotoHeight-HighRes}, low_res: '{PhotoURL-500}', high_res: '{PhotoURL-HighRes}' }]); $('body').toggleClass('tumblr_lightbox_active'); return false">
  606. <img alt="" src="{PhotoURL-500}">
  607. </a>
  608. {/block:Photos}
  609. </div>
  610. {/block:IndexPage}
  611.  
  612. {block:PermalinkPage}
  613. {Photoset-500}
  614. {/block:PermalinkPage}
  615. {/block:Photoset}
  616.  
  617. {block:Quote}"{Quote}"{block:Source}{Source}{/block:Source}{/block:Quote}
  618.  
  619. {block:Link}<a href="{URL}" class="link" {Target}>{Name}</a>{block:Description}{Description}{/block:Description}{/block:Link}
  620.  
  621. {block:Chat}{block:Title}
  622. <div class="text">{block:Title}<h1>{Title}</h1></a>{/block:Title}
  623. {block:Lines}<li>{block:Label}{Label}{/block:Label}{Line}</li>{/block:Lines}{/block:Chat}
  624.  
  625. {block:Video}{Video-500}{/block:Video}
  626.  
  627. {block:Audio}{AudioEmbed}{/block:Audio}
  628.  
  629. {block:PermaLinkPage}
  630. {block:PostNotes}<div class="postnotes">{PostNotes}</div>{/block:PostNotes}{/block:PermaLinkPage}
  631.  
  632. {block:ContentSource}
  633. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  634. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  635. {/block:SourceLogo}
  636. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  637. {/block:ContentSource}
  638.  
  639. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  640.  
  641. </div>
  642.  
  643. {/block:Posts}
  644.  
  645. <div class="footer">
  646. <div class="scrolltotop">scroll to top</div>
  647. <a href="/">home</a><br>
  648. {block:Pagination}
  649. {block:PreviousPage}<a href="{PreviousPage}">back</a>
  650. {/block:PreviousPage}
  651. {block:NextPage}
  652. <a href="{NextPage}">forward</a>
  653. {/block:NextPage}
  654. {/block:Pagination}
  655. </div>
  656. <div id="n"><a href="https://02px.tumblr.com">02</a></div>
  657.  
  658. </div>
  659.  
  660. </body>
  661. </html>
Advertisement
Add Comment
Please, Sign In to add comment