calliearambulo

Sarcoline New Theme

Jul 31st, 2020
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.02 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!---
  6. ___ ___ _ _ _____ __ _____ _ _ ___ __ __ ___ ___
  7. | _ \_ _| | | | / _ \ \ / / |_ _| || | __| \/ | __/ __|
  8. | _/| || |__| |_| (_) \ \/\/ / | | | __ | _|| |\/| | _|\__ \
  9. |_| |___|____|____\___/ \_/\_/ |_| |_||_|___|_| |_|___|___/
  10.  
  11. BY CARA
  12.  
  13. R U L E S :
  14. 1. Do not steal snippets or all of my codes.
  15. 2. Do not claim theme as yours.
  16. 3. Do not remove the credit.
  17.  
  18. C R E D I T :
  19. Markup from Tumblr Documentation
  20. https://www.tumblr.com/docs/en/custom_themes
  21. -->
  22.  
  23. <!--- Meta Tags --->
  24. <meta name="color:Accent Color 1" content="#F5EDE0"/>
  25. <meta name="color:Accent Color 2" content="#E3C5AB"/>
  26. <meta name="color:Accent Color 3" content="#CD7A6A"/>
  27.  
  28. <meta name="image:header image" content=""/>
  29.  
  30. <meta name="if:infinite scroll" content="1"/>
  31.  
  32. <meta name="text:link 1 name" content=""/>
  33. <meta name="text:link 1 url" content=""/>
  34.  
  35. <meta name="text:link 2 name" content=""/>
  36. <meta name="text:link 2 url" content=""/>
  37.  
  38. <meta name="text:link 3 name" content=""/>
  39. <meta name="text:link 3 url" content=""/>
  40.  
  41. <meta name="text:link 4 name" content=""/>
  42. <meta name="text:link 4 url" content=""/>
  43.  
  44. <link rel="shortcut icon" href="{Favicon}">
  45. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  46. <link href="https://static.tumblr.com/wgijwsy/k1Hm9ei8b/normalize.css" rel="stylesheet" type="text/css"/>
  47. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  48.  
  49. <link href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600&display=swap" rel="stylesheet">
  50.  
  51. <link rel="stylesheet" href="https://cdn.linearicons.com/free/1.0.0/icon-font.min.css">
  52.  
  53. </head>
  54.  
  55. <style type="text/css">
  56.  
  57. iframe, img, embed, object, video {
  58. max-width:100%;
  59. }
  60.  
  61. img {
  62. height:auto;
  63. width:auto;
  64. }
  65.  
  66. blockquote {
  67. border-left:1.5px solid {color:Accent Color 3};
  68. color:#000;
  69. margin-left:20px;
  70. padding-left:20px;
  71. }
  72.  
  73. body {
  74. font-family: 'Source Sans Pro', sans-serif;
  75. background-color:{color:Accent Color 1};
  76. font-size:14px;
  77. color:#000;
  78. line-height:auto;
  79. -webkit-font-smoothing: antialiased;
  80. -moz-osx-font-smoothing: grayscale;
  81. }
  82.  
  83. a {
  84. color:{color:Accent Color 3};
  85. text-decoration:none;
  86. }
  87.  
  88. #header {
  89. top:0;
  90. width:100%;
  91. height:auto;
  92. background-color:{color:Accent Color 3};
  93. position:fixed;
  94. z-index:999;
  95. color:#fff;
  96. }
  97.  
  98. #headerc {
  99. width:500px;
  100. padding:10px;
  101. justify-content:space-between;
  102. display:flex;
  103. align-items:center;
  104. }
  105.  
  106. #headerim {
  107. width:40px;
  108. height:40px;
  109. margin:20px;
  110. background-color:#fff;
  111. padding:5px;
  112. }
  113.  
  114. #headerim img {
  115. width:40px;
  116. height:40px;
  117. }
  118.  
  119. #blogt-desc {
  120. width:400px;
  121. }
  122.  
  123. #blogt {
  124. font-weight:600;
  125. font-size:20px;
  126. }
  127.  
  128. #blogt a {
  129. color:#fff;
  130. }
  131.  
  132. #desc {}
  133.  
  134. #container {
  135. width:1150px;
  136. height:auto;
  137. margin:110px auto;
  138. background-color:{color:Accent Color 1};
  139. overflow:hidden;
  140. {block:PermalinkPage}
  141. width:500px;
  142. {/block:PermalinkPage}
  143. }
  144.  
  145. #content {
  146. width:920px;
  147. float:right;
  148. margin-top:20px;
  149. {block:PermalinkPage}
  150. width:500px;
  151. {/block:PermalinkPage}
  152. }
  153.  
  154. posts {
  155. width:250px;
  156. margin:20px;
  157. background-color:#fff;
  158. border:1px solid {color:Accent Color 3};
  159. {block:PermalinkPage}
  160. width:500px;
  161. {/block:PermalinkPage}
  162. }
  163.  
  164. #sidebar {
  165. width:200px;
  166. height:100%;
  167. float:left;
  168. background-color:{color:Accent Color 2};
  169. border:1px solid {color:Accent Color 3};
  170. border-top:none;
  171. position:fixed;
  172. {block:PermalinkPage}
  173. display:none;
  174. {/block:PermalinkPage}
  175. }
  176.  
  177. .box {
  178. width:auto;
  179. margin:20px;
  180. }
  181.  
  182. .boxt {
  183. font-weight:600;
  184. padding:20px 20px 0px 20px;
  185. color:#fff;
  186. font-size:20px;
  187. }
  188.  
  189. .boxc {
  190. padding:20px 20px 20px 20px;
  191. color:#000;
  192. }
  193.  
  194. .boxc a {
  195. color:#000;
  196. }
  197.  
  198. /* Text Post Title*/
  199. #ptitle {
  200. color:{color:Accent Color 3};
  201. margin:20px;
  202. font-weight:700;
  203. }
  204.  
  205. /* Text Post Body */
  206. #pbody {
  207. margin:20px;
  208. }
  209.  
  210. /* Asker */
  211. .as {
  212. font-weight:700;
  213. color:{color:Accent Color 3};
  214. margin:20px;
  215. }
  216.  
  217. .qu {
  218. margin:20px;
  219. }
  220.  
  221. /* Answer */
  222. .ans {
  223. margin:20px;
  224. }
  225.  
  226. /* Quote */
  227. .quo {
  228. margin:20px;
  229. font-weight:700;
  230. color:{color:Accent Color 3};
  231. }
  232.  
  233. /* Source */
  234. .sou {
  235. margin:20px;
  236. }
  237.  
  238. #chat {
  239. margin:20px;
  240. }
  241.  
  242. .label {
  243. display:inline-block;
  244. background-color:{color:Accent Color 3};
  245. padding:10px;
  246. font-weight:700;
  247. margin:0px 10px 10px 0px;
  248. }
  249.  
  250. .line {
  251. display:inline-block;
  252. border-bottom:1px solid {color:Accent Color 3};
  253. padding-bottom:7px;
  254. }
  255.  
  256. .caption {
  257. margin:20px;
  258. }
  259.  
  260. #postinfo {
  261. position:relative;
  262. width:250px;
  263. height:auto;
  264. border-top:1px solid {color:Accent Color 3};
  265. margin-top:-5px;
  266. {block:PermalinkPage}
  267. display:none;
  268. {/block:PermalinkPage}
  269. }
  270.  
  271. .post-info {
  272. padding:10px 5px 10px 5px;
  273. width:auto;
  274. text-align:center;
  275. }
  276.  
  277. .post-info a {
  278. margin-right:30px;
  279. }
  280.  
  281. .post-info a:last-child {
  282. margin-right:0px;
  283. }
  284.  
  285. /* CREDITS TO TUMBLR DOCS */
  286. ol.notes {
  287. padding: 0px;
  288. margin: 25px 0px;
  289. list-style-type: none;
  290. border-bottom: solid 1px {color:Accent Color 3};
  291. }
  292.  
  293. ol.notes li.note {
  294. border-top: solid 1px {color:Accent Color 3};
  295. padding: 10px;
  296. }
  297.  
  298. ol.notes li.note img.avatar {
  299. vertical-align: -4px;
  300. margin-right: 10px;
  301. width: 16px;
  302. height: 16px;
  303. }
  304.  
  305. ol.notes li.note span.action {
  306. }
  307.  
  308. ol.notes li.note .answer_content {
  309. font-weight: normal;
  310. }
  311.  
  312. ol.notes li.note blockquote {
  313. border-color:{color:Accent Color 3};
  314. padding: 4px 10px;
  315. margin: 10px 0px 0px 25px;
  316. }
  317.  
  318. ol.notes li.note blockquote a {
  319. text-decoration: none;
  320. }
  321. /* CREDITS TO TUMBLR DOCS */
  322.  
  323. /* Infinite Scroll */
  324. {block:ifnotinfinitescroll}
  325. .pagi {
  326. font-size:40px;
  327. text-align:center;
  328. font-family: 'Golden Plains';
  329. color:{color:Accent Color 3};
  330. background-color:{color:Accent Color 1};
  331. margin-bottom:50px;
  332. }
  333. {/block:ifnotinfinitescroll}
  334.  
  335. .pagi a {
  336. color:#db663e;
  337. margin-right:40px;
  338. }
  339.  
  340. .pagi a:last-child {
  341. margin-right:0px;
  342. }
  343.  
  344. {block:ifinfinitescroll}
  345. .pagi {
  346. display:none;
  347. }
  348. {/block:ifinfinitescroll}
  349.  
  350. /* TUMBLR CONTROLS */
  351. .tmblr-iframe {
  352. position:fixed!important;
  353. top:0;
  354. margin-top:30px;
  355. right:0;
  356. margin-right:20px;
  357. z-index:999999!important;
  358. -webkit-transform:scale(0.8,0.8);
  359. -webkit-transform-origin: 100% 0%;
  360. -ms-transform-origin:100% 0%;
  361. -ms-transform:scale(0.8,0.8);
  362. transform:scale(0.8,0.8);
  363. transform-origin:100% 0%;
  364. }
  365.  
  366. </style>
  367. <body>
  368.  
  369.  
  370. <title>{Title}</title>
  371.  
  372. <div id="header">
  373. <div id="headerc">
  374. <div id="headerim"><img src="{image:header image}"></div>
  375. <div id="blogt-desc">
  376. <div id="blogt"><a href="/">Sarcoline</a></div>
  377. <div id="desc">what's a nice story to tell other than the one stuck inside my head</div>
  378. </div>
  379. </div>
  380. </div>
  381.  
  382. <div id="container">
  383. <div id="sidebar">
  384. <div class="box">
  385. <div class="boxt">About</div>
  386. <div class="boxc"><span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">Name</span>Cara
  387. <br><br>
  388. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">Age</span>19
  389. </div>
  390. </div>
  391.  
  392. <div class="box">
  393. <div class="boxt">Statistics</div>
  394. <div class="boxc"><span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">Established</span>2020
  395. <br><br>
  396. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">Theme</span>P. Themes
  397. </div>
  398. </div>
  399.  
  400. <div class="box">
  401. <div class="boxt">Links</div>
  402. <div class="boxc"><span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">01</span><a href="/">Index</a>
  403. <br><br>
  404. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">02</span><a href="/ask">Mailbox</a>
  405. <br><br>
  406. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">03</span><a href="/about">About</a>
  407. <br><br>
  408. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">04</span><a href="/archive">Archive</a>
  409. <br><br>
  410. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">05</span><a href="https://pillowthemes.tumblr.com/">My Themes</a>
  411. <br><br>
  412. <span style="background-color:{color:Accent Color 3};padding:5px;text-align:center;margin-right:10px;color:#fff;">06</span><a href="https://carriza.tumblr.com/">Main Blog</a>
  413. </div>
  414. </div>
  415.  
  416. </div>
  417.  
  418. <div id="content">
  419. {block:Posts}
  420. <posts>
  421.  
  422. {block:Text}
  423. {block:Title}
  424. <div id="ptitle">{Title}</div>
  425. {/block:Title}
  426. <div id="pbody">{Body}</div>
  427. {/block:Text}
  428.  
  429. {block:Photo}
  430. {LinkOpenTag}<img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" />{LinkCloseTag}
  431. {/block:Photo}
  432.  
  433. {block:Panorama}
  434. {LinkOpenTag}
  435. <img src="{PhotoURL-Panorama}" alt="{PhotoAlt}"/>
  436. {LinkCloseTag}
  437. {/block:Panorama}
  438.  
  439. {block:Photoset}
  440. {Photoset-500}
  441. {/block:Photoset}
  442.  
  443. {block:Quote}
  444. <div class="quo">“{Quote}”</div>
  445. {block:Source}<div class="sou">— {Source}</div>{/block:Source}
  446. {/block:Quote}
  447.  
  448. {block:Link}
  449. <h1 class="title"><a href="{URL}">{Name}</a></h1>
  450. {block:Description}{Description}{/block:Description}
  451. {/block:Link}
  452.  
  453. {block:Chat}
  454. <div id="chat">
  455. {block:Lines}
  456. <div class="{Alt} user_{UserNumber}">
  457. {block:Label}
  458. <div class="label">{Label}</div>
  459. {/block:Label}
  460. <div class="line">{Line}</div>
  461. </div>
  462. {/block:Lines}
  463. </div>
  464. {/block:Chat}
  465.  
  466. {block:Answer}
  467. <div class="as">{Asker} asked:</div>
  468. <div class="qu">{Question}</div>
  469. <div class="ans">{Answer}</div>
  470. {/block:Answer}
  471.  
  472. {block:Video}
  473. {Video-500}
  474. {block:Caption}{Caption}{/block:Caption}
  475. {/block:Video}
  476.  
  477. {block:Audio}
  478. {block:AlbumArt}<img src="{AlbumArtURL}">{/block:AlbumArt}
  479. {AudioEmbed}
  480. {block:Caption}
  481. <div class="caption">{Caption}</div>
  482. {/block:Caption}
  483. {/block:Audio}
  484.  
  485. <div id="postinfo">
  486. <div class="post-info">
  487. <a href="{Permalink}" title="Posted on {Month} {DayOfMonthWithZero}, {Year}"><span class="lnr lnr-calendar-full"></span></a>
  488. <a href="{ReblogURL}" title="Reblog?"><span class="lnr lnr-redo"></span></a>
  489. <a href="{Permalink}" title="{NoteCountWithLabel}"><span class="lnr lnr-pushpin"></span></a>
  490. </div>
  491. </div>
  492.  
  493. {block:PermalinkPage}
  494. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  495. {block:HasTags}{block:Tags}<div class="ptags"><a href="{TagURL}"> #{Tag} </a></div>{/block:Tags}{/block:HasTags}
  496. {block:PostNotes}{PostNotes}{/block:PostNotes}
  497. {/block:PermalinkPage}
  498.  
  499. </posts>
  500. {/block:Posts}
  501. </div>
  502. </div>
  503.  
  504. <!--- DO NOT TOUCH THIS PART --->
  505. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  506. <script src="https://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  507. {block:IfInfiniteScroll}
  508. <script src="https://static.tumblr.com/wgijwsy/u2vm2hxv6/jquery.infinitescroll.min.js"></script>
  509. <script src="https://static.tumblr.com/iwtk77u/Yhym2yygt/jquery.imagesloaded.min.js"></script>
  510. {/block:IfInfiniteScroll}
  511.  
  512. <script>
  513. (function() {
  514. var $tumblelog = $('#content');
  515. {block:IfInfiniteScroll}
  516. $tumblelog.infinitescroll({
  517. navSelector : ".pagination",
  518. nextSelector : ".pagination a:first",
  519. itemSelector : "posts",
  520. bufferPx : 50,
  521. done : "",
  522. loading: {
  523. img : "",
  524. msgText: ""
  525. },
  526. },
  527. function( newElements ) {
  528. var $newElems = $( newElements ).css({ opacity: 0 });
  529. $newElems.imagesLoaded(function(){
  530. $newElems.animate({ opacity: 1 });
  531. $tumblelog.masonry( 'appended', $newElems);
  532. });
  533. }
  534. );
  535. {/block:IfInfiniteScroll}
  536. $tumblelog.imagesLoaded( function(){
  537. $tumblelog.masonry({
  538. columnWidth: function( containerWidth ) {
  539. return containerWidth / 100;
  540. }
  541. });
  542. });
  543. })();
  544. </script>
  545. <!--- DO NOT TOUCH THIS PART --->
  546.  
  547. </body>
  548. </html>
Advertisement
Add Comment
Please, Sign In to add comment