navys

pearl

Dec 21st, 2017
1,695
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.77 KB | None | 0 0
  1. <!--
  2.  
  3. THEME 04
  4. pearl
  5.  
  6. by @02px
  7.  
  8. enjoy :-)
  9.  
  10.  
  11.  
  12. to edit the updates tab, scroll to line 448 and follow the directions there :)
  13.  
  14. -->
  15.  
  16. <html>
  17. <head>
  18. <title>{Title}</title>
  19. <link rel="shortcut icon" href="{Favicon}">
  20. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  21. {block:Description}
  22. <meta name="description" content="{MetaDescription}" />
  23. {/block:Description}
  24.  
  25. <meta name="image:sidebar" content="" />
  26. <meta name="color:sidebar" content="#131313" />
  27. <meta name="color:background" content="#f8f8f8" />
  28. <meta name="color:title" content="#131313" />
  29. <meta name="color:text" content="#131313" />
  30. <meta name="color:links" content="#00000" />
  31. <meta name="color:links hover" content="#00000" />
  32. <meta name="color:scrollbar" content="#00000" />
  33. <meta name="select:font" content="Lato" title="Lato" />
  34. <meta name="select:font" content="Open Sans" title="Open Sans" />
  35. <meta name="select:font" content="Roboto" title="Roboto" />
  36. <meta name="text:font size" content="10px" />
  37. <meta name="text:ask" content="ask" />
  38. <meta name="text:link 1 url" content="" />
  39. <meta name="text:link 1" content="link 1" />
  40. <meta name="text:link 2 url" content="" />
  41. <meta name="text:link 2" content="link 2" />
  42. <meta name="text:link 3 url" content="" />
  43. <meta name="text:link 3" content="link 3" />
  44. <meta name="text:link 4 url" content="" />
  45. <meta name="text:link 4" content="link 4" />
  46. </head>
  47.  
  48. <script src="https://use.fontawesome.com/6ac3a8bdbf.js"></script>
  49.  
  50. <link href="https://fonts.googleapis.com/css?family=Lato:400,400i,700|Open+Sans:400,400i,700|Roboto:400,400i,700" rel="stylesheet">
  51.  
  52. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
  53.  
  54. <script>
  55. $(document).ready(function(){
  56. $(".tabtwo").addClass("no");
  57. $(".tabthree").addClass("no");
  58. $("one").click(function(){
  59. $(".tabone").removeClass("no");
  60. $(".tabtwo").addClass("no");
  61. $(".tabthree").addClass("no");
  62. });
  63. $("two").click(function(){
  64. $(".tabtwo").removeClass("no");
  65. $(".tabone").addClass("no");
  66. $(".tabthree").addClass("no");
  67. });
  68. $("three").click(function(){
  69. $(".tabthree").removeClass("no");
  70. $(".tabtwo").addClass("no");
  71. $(".tabone").addClass("no");
  72. });
  73. });
  74. </script>
  75.  
  76. <style type="text/css">
  77.  
  78. /* -------GENERAL------- */
  79.  
  80. ::-webkit-scrollbar{
  81. width:7px;
  82. height:7px;
  83. }
  84.  
  85. ::-webkit-scrollbar{
  86. background-color:{color:Background};
  87. border-radius:10px;
  88. }
  89.  
  90. ::-webkit-scrollbar-track{
  91. border:2px solid {color:Background};
  92. }
  93.  
  94. ::-webkit-scrollbar-thumb{
  95. border:2px solid {color:Background};
  96. background-color:{color:Scrollbar};
  97. }
  98.  
  99. ::-webkit-scrollbar:horizontal{
  100. display:none;
  101. }
  102.  
  103. ::-moz-selection{
  104. background:#eee;
  105. }
  106.  
  107. ::selection{
  108. background:#eee;
  109. }
  110.  
  111. .tmblr-iframe{
  112. -webkit-filter: invert(100%);
  113. filter: invert(100%);
  114. opacity:0.2;
  115. transform:scale(0.7,0.7);
  116. right:-30px;
  117. z-index:9999999999!important;
  118. }
  119.  
  120. body {
  121. background-color:{color:background};
  122. font-size:{text:font size};
  123. font-family: '{select:font}', sans-serif;
  124. color:{color:text};
  125. letter-spacing:.4px;
  126. }
  127.  
  128. a {
  129. text-decoration:none;
  130. color:{color:links};
  131. transition:.4s ease;
  132. }
  133.  
  134. a:hover {
  135. text-decoration:none;
  136. color:{color:links hover};
  137. }
  138.  
  139. /*------POST SETTINGS------*/
  140.  
  141. img {
  142. max-width:100%;
  143. }
  144.  
  145. blockquote {
  146. margin:0;
  147. padding:0px;
  148. border-left:1px solid transparent;
  149. }
  150.  
  151. ol.notes {
  152. padding: 0px;
  153. margin: 25px 0px;
  154. list-style-type: none;
  155. }
  156.  
  157. ol.notes li.note {
  158. padding: 10px;
  159. }
  160.  
  161. ol.notes li.note img.avatar {
  162. vertical-align: -4px;
  163. margin-right: 10px;
  164. width: 0px;
  165. height: 0px;
  166. }
  167.  
  168. ol.notes li.note span.action {
  169. font-weight: normal;
  170. }
  171.  
  172. ol.notes li.note .answer_content {
  173. font-weight: normal;
  174. }
  175.  
  176. ol.notes li.note blockquote {
  177. padding: 4px 10px;
  178. margin: 10px 0px 0px 25px;
  179. }
  180.  
  181. ol.notes li.note blockquote a {
  182. text-decoration: none;
  183. }
  184.  
  185. /*------SIDEBAR-------*/
  186.  
  187. #sb {
  188. width:40px;
  189. top:0;
  190. left:0;
  191. background:{color:sidebar};
  192. position:fixed;
  193. height:100%;
  194. float:left;
  195. }
  196.  
  197. .icons, .icons a {
  198. margin-top:205px;
  199. color:white;
  200. font-size:15px;
  201. font-weight:bold;
  202. text-align:center;
  203. }
  204.  
  205. .icons i {
  206. display:block;
  207. margin-bottom:35px;
  208. }
  209.  
  210. .four a, .five a {
  211. color:white;
  212. font-size:15px;
  213. font-weight:bold;
  214. margin-left:14px;
  215. position:absolute;
  216. }
  217.  
  218. .four a {
  219. bottom:35px;
  220. }
  221.  
  222. .five a {
  223. bottom:10px;
  224. }
  225.  
  226. .content {
  227. width:200px;
  228. margin-top:120px;
  229. position:fixed;
  230. margin-left:70px;
  231. }
  232.  
  233. img.sb {
  234. width:50px;
  235. height:50px;
  236. border-radius:8%;
  237. object-fit:cover;
  238. overflow:hidden;
  239. transition:.3s ease;
  240. display:inline-block;
  241. }
  242.  
  243. img.sb:hover {
  244. opacity:.7;
  245. }
  246.  
  247. #title {
  248. font-size:calc({text:font size} - 1px);
  249. text-transform:uppercase;
  250. letter-spacing:1px;
  251. color:{color:title};
  252. display:inline-block;
  253. position:absolute;
  254. vertical-align:top;
  255. margin:18px 0 0 15px;
  256. border-bottom:1px solid #eee;
  257. }
  258.  
  259. #title a {
  260. color:{color:title};
  261. transition:.6s ease;
  262. }
  263.  
  264. #title a:hover {
  265. color:{color:links hover};
  266. letter-spacing:3px;
  267. }
  268.  
  269. #desc {
  270. padding-top:20px;
  271. line-height:20px;
  272. }
  273.  
  274. one, two, three, four {
  275. cursor:pointer;
  276. }
  277.  
  278. #links {
  279. color:{color:links};
  280. padding:20px 0 0 40px;
  281. }
  282.  
  283. #links a {
  284. margin-right:40px;
  285. line-height:20px;
  286. border-bottom:1px solid #eee;
  287. }
  288.  
  289. #updates {
  290. padding:5px;
  291. margin-top:20px;
  292. }
  293.  
  294. .uptitle {
  295. letter-spacing:2px;
  296. padding-bottom:5px;
  297. }
  298.  
  299. .upd {
  300. padding:10px;
  301. background:#f8f8f8;
  302. border:1px solid #eee;
  303. margin-bottom:20px;
  304. }
  305.  
  306. /*------POSTS-------*/
  307.  
  308. .container {
  309. width:500px;
  310. margin:auto;
  311. margin-bottom:100px;
  312. }
  313.  
  314. .posts {
  315. padding:10px;
  316. margin-left:100px;
  317. margin-top:70px;
  318. transition: .5s ease;
  319. }
  320.  
  321. .posts img {
  322. height:auto;
  323. }
  324.  
  325. .title {
  326. font-size:calc({text:font size}px + 1px);
  327. text-transform:uppercase;
  328. padding:10px;
  329. }
  330.  
  331. .no {
  332. display:none;
  333. }
  334.  
  335. .tumblr_parent {
  336. margin:10px 5px 0 5px;
  337. border-bottom:1px solid #eee;
  338. }
  339.  
  340. .tumblr_blog {
  341. position:absolute;
  342. margin-top:4px;
  343. border-bottom:1px solid #eee;
  344. }
  345.  
  346. .tumblr_avatar {
  347. margin-right:10px;
  348. height:22px;
  349. width:22px;
  350. border-radius:100%;
  351. }
  352.  
  353. .via {
  354. font-size:calc({text:font size} - 2px);
  355. text-transform:uppercase;
  356. padding:10px 0 10px 5px;
  357. letter-spacing:1px;
  358. display:inline-block;
  359. }
  360.  
  361. .via a, .time a, .notes a {
  362. border-bottom:1px solid #eee;
  363. transition:.6s ease;
  364. }
  365.  
  366. .via a:hover, .time a:hover, .notes a:hover, .tags a:hover {
  367. color:{color:links hover};
  368. letter-spacing:2px;
  369. }
  370.  
  371. .time {
  372. float:right;
  373. display:inline-block;
  374. font-size:calc({text:font size} - 2px);
  375. text-transform:uppercase;
  376. padding:10px 0 10px 5px;
  377. letter-spacing:1px;
  378. }
  379.  
  380. .notes {
  381. display:inline-block;
  382. margin-left:5px;
  383. padding:10px 0 10px 0px;
  384. font-size:calc({text:font size} - 2px);
  385. text-transform:uppercase;
  386. letter-spacing:1px;
  387. }
  388.  
  389. .tags {
  390. float:right;
  391. display:inline-block;
  392. padding:10px 5px 10px 0;
  393. font-size:calc({text:font size} - 2px);
  394. text-transform:uppercase;
  395. letter-spacing:1px;
  396. }
  397.  
  398. #n {position:fixed;right:30px;bottom:30px;font-size:11px;z-index:9999999;}
  399.  
  400. </style>
  401.  
  402. <script src="//code.jquery.com/jquery-2.2.4.min.js"></script>
  403.  
  404. <script src="http://static.tumblr.com/wgg6svp/OoTofxa0c/unnest.min.js"></script>
  405.  
  406. <script> $(function(){ $('.posts').unnest({
  407. yourCaption: ".caption", //your caption selector, the div wrapping {Caption}
  408. wrapName: ".tumblr_parent", //the name of the captions’ new wrapper
  409. newCaptionUsername: false, //if the user adds a new caption, following a series of captions, show their username above the caption
  410. originalPostCaptionUsername: false, //for the original captions, or a user-added caption that previously didn’t have any, have their username on it
  411. tumblrAvatars: true, //”dashboard style” caption, have the avatar of the blog next to the username
  412. tumblrAvatarClass: ".tumblr_avatar", //class of the avatar next to the username
  413. usernameColon: false //if turned to false, removes the colon at the end of usernames
  414. }); }); </script>
  415.  
  416. <body>
  417. <div id="sb">
  418. <div class="icons">
  419. <one><i class="fa fa-user" aria-hidden="true"></i></one>
  420. <two><i class="fa fa-bars" aria-hidden="true"></i></two>
  421. <three><i class="fa fa-plus" aria-hidden="true"></i></three>
  422. </div>
  423.  
  424. {block:Pagination}{block:PreviousPage}
  425. <div class="four"><a href="{PreviousPage}"><i class="fa fa-chevron-left" aria-hidden="true"></i><p></a></div>
  426. {/block:PreviousPage}
  427. {block:NextPage}
  428. <div class="five"><a href="{NextPage}"><i class="fa fa-chevron-right" aria-hidden="true"></i></a></div>
  429. {/block:NextPage}{/block:Pagination}
  430. </div>
  431. <div class="content">
  432. <a href="/"><img class="sb" src="{image:sidebar}"></a><div id="title"><a href="/">{Title}</a></div>
  433. <div class="tabone">
  434. <div id="desc">{block:Description}{Description}{/block:Description}</div>
  435. </div>
  436. <div class="tabtwo">
  437. <div id="links">
  438. <a href="/">home</a>
  439. <a href="/ask">{text:ask}</a><br>
  440. <a href="{text:link 1 url}">{text:link 1}</a>
  441. <a href="{text:link 2 url}">{text:link 2}</a><br>
  442. <a href="{text:link 3 url}">{text:link 3}</a>
  443. <a href="{text:link 4 url}">{text:link 4}</a><br>
  444. </div>
  445. </div>
  446. <div class="tabthree">
  447. <div id="updates">
  448.  
  449. <div class="uptitle">
  450.  
  451. title 1 <!–– edit your title here ––>
  452.  
  453. </div>
  454.  
  455. <div class="upd">
  456.  
  457. put your updates here. <!–– delete this and put in your updates! ––>
  458.  
  459. </div>
  460.  
  461. <div class="uptitle">
  462.  
  463. title 2 <!–– heres your second title.. ––>
  464.  
  465. </div>
  466.  
  467. <div class="upd">
  468.  
  469. another one! put your updates here. <!–– delete this and put in your updates! ––>
  470.  
  471. </div>
  472.  
  473. <div class="uptitle">
  474.  
  475. title 3 <!–– and your third! you get the gist. ––>
  476.  
  477. </div>
  478.  
  479. <div class="upd">
  480.  
  481. and a third! or more! put your updates here. <!–– delete this and put in your updates! ––>
  482.  
  483. </div>
  484.  
  485. </div>
  486. </div>
  487. </div>
  488.  
  489. <div class="container">
  490.  
  491. {block:Posts}
  492.  
  493. <div class="posts">
  494.  
  495. <div class="via">via <a href="{ReblogParentURL}">{ReblogParentName}</a></div>
  496. <div class="time"><a href="{Permalink}"> {Month} {DayOfMonth}{DayOfMonthSuffix}</a> {12Hour}:{Minutes} {AmPm}</div>
  497.  
  498. {block:Text}{block:Title}<div class="title">{Title}</div>{/block:Title}{Body}{/block:Text}
  499.  
  500. {block:Photo}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{/block:Photo}
  501.  
  502. {block:Panorama}{LinkOpenTag}<img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>{LinkCloseTag}{/block:Panorama}
  503.  
  504. {block:Photoset}{Photoset}{/block:Photoset}
  505.  
  506. {block:Quote}"{Quote}"{block:Source}{Source}{/block:Source}{/block:Quote}
  507.  
  508. {block:Link}<a href="{URL}" class="link" {Target}>{Name}</a>{block:Description}{Description}{/block:Description}{/block:Link}
  509.  
  510. {block:Chat}{block:Title}{Title}</a>{/block:Title}
  511. {block:Lines}<li>{block:Label}{Label}{/block:Label}{Line}</li>{/block:Lines}{/block:Chat}
  512.  
  513. {block:Video}{Video-500}{/block:Video}
  514.  
  515. {block:Audio}{AudioEmbed}{/block:Audio}
  516.  
  517. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  518.  
  519. {block:NoteCount}<div class="notes"><a href="{Permalink}">{NoteCountWithLabel}</a></div>{/block:NoteCount}
  520.  
  521. {block:HasTags}
  522. {block:Tags}<div class="tags"><a href="{TagUrl}">{Tag}.</a></div>{/block:Tags}
  523. {/block:HasTags}
  524.  
  525. {block:ContentSource}
  526. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  527. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  528. {/block:SourceLogo}
  529. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  530. {/block:ContentSource}
  531.  
  532. <!--{block:NoRebloggedFrom}{block:RebloggedFrom}{ReblogParentName}{/block:RebloggedFrom}{/block:NoRebloggedFrom} -->
  533.  
  534. {block:PermalinkPage}
  535. {block:PostNotes}
  536. {PostNotes}
  537. {/block:PostNotes}
  538. {/block:PermalinkPage}
  539.  
  540. </div>
  541.  
  542. {/block:Posts}
  543.  
  544. </div>
  545.  
  546. <div id="n"><a href="https://02px.tumblr.com">02</a></div>
  547.  
  548. </body>
  549. </html>
Advertisement
Add Comment
Please, Sign In to add comment