Advertisement
teruteru

Cake Icing - 【 THEME 18v2 by Anomaly ☽】

May 17th, 2017
381
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.82 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.  
  5. <!--
  6.  
  7. THEME #18 v2 by Anomaly ☾ tumblr user xollyx ☽ : CAKE ICING !!
  8.  
  9. - i made the base code
  10. - please abide by all the rules
  11.  
  12. 【 All themes and pages can be found here : http://xollyx.tumblr.com/thm 】
  13.  
  14. Thank you for using! Or just looking at the code. Whatever you're here for. Either way, it's appreciated!
  15. Feel free to message me if you need any help, my ask box is always open!
  16.  
  17. -->
  18.  
  19. <script src="http://assets.tumblr.com/assets/scripts/tumblelog_post_message_queue.js?_v=ae06d1ab69efc6f29297bf2b7a4160af"></script>
  20. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
  21. <script src="http://static.tumblr.com/wgijwsy/Ebfm2v4gy/jquery.masonry.min.js"></script>
  22. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  23.  
  24. <script>
  25. (function($){
  26. $(document).ready(function(){
  27. $("a[title]").style_my_tooltips({
  28. tip_follows_cursor:true,
  29. tip_delay_time:90,
  30. tip_fade_speed:600,
  31. attribute:"title"
  32. });
  33. });
  34. })(jQuery);
  35. </script>
  36.  
  37. <script>
  38. $(document).ready(function() {
  39. //
  40. $('a.poplight[href^=#]').click(function() {
  41. var popID = $(this).attr('rel'); //Get Popup Name
  42. var popURL = $(this).attr('href'); //Get Popup href to define size
  43. var query= popURL.split('?');
  44. var dim= query[1].split('&');
  45. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  46. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="{image:close}" class="btn_close" title="Close" alt="Close" /></a>');
  47. var popMargTop = ($('#' + popID).height() + 0) / 2;
  48. var popMargLeft = ($('#' + popID).width() + 0) / 2;
  49. //Apply Margin to Popup
  50. $('#' + popID).css({
  51. 'margin-top' : -popMargTop,
  52. 'margin-left' : -popMargLeft
  53. });
  54. $('body').append('<div id="fade"></div>');
  55. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  56. return false;
  57. });
  58. $('a.close, #fade').live('click', function() {
  59. $('#fade , .popup_block').fadeOut(function() {
  60. $('#fade, a.close').remove(); //fade them both out
  61. });
  62. return false;
  63. });
  64. });
  65. </script>
  66.  
  67. <title>{Title}</title>
  68.  
  69. <link rel="shortcut icon" href="{image:favicon}">
  70. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  71. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  72.  
  73. <!--default variables-->
  74.  
  75. <meta name="color:background" content="">
  76. <meta name="color:posts" content="">
  77. <meta name="color:border" content="">
  78. <meta name="color:blockquote" content="">
  79. <meta name="color:ask" content="">
  80. <meta name="color:text" content="">
  81. <meta name="color:link" content="">
  82. <meta name="color:hover" content="">
  83. <meta name="color:links" content="">
  84. <meta name="color:links hover" content="">
  85. <meta name="color:title shadow" content="">
  86. <meta name="color:permalink" content="">
  87. <meta name="color:blog border" content="">
  88. <meta name="color:selection" content="">
  89. <meta name="color:selection text" content="">
  90. <meta name="color:tooltip" content="">
  91. <meta name="color:tooltip text" content="">
  92. <meta name="color:scrollbar" content="">
  93.  
  94. <meta name="image:favicon" content="">
  95. <meta name="image:background" content="">
  96. <meta name="image:cursor" content="">
  97. <meta name="image:sidebar 1" content="">
  98. <meta name="image:sidebar 2" content="">
  99. <meta name="image:permalink" content="">
  100. <meta name="image:close" content="">
  101. <meta name="image:render" content="">
  102.  
  103. <meta name="text:ask text" content="asked">
  104. <meta name="text:about url" content="/abt">
  105. <meta name="text:popup 1 title" content="">
  106. <meta name="text:popup 1 link title" content="popup 1">
  107. <meta name="text:popup 2 title" content="">
  108. <meta name="text:popup 2 link title" content="popup 2">
  109. <meta name="text:back title" content="⇠">
  110. <meta name="text:next title" content="⇢">
  111.  
  112. <meta name="select:font" content="consolas">
  113. <meta name="select:font" content="arial">
  114. <meta name="select:font" content="calibri">
  115. <meta name="select:font" content="courier new">
  116. <meta name="select:font" content="verdana">
  117. <meta name="select:font" content="tahoma">
  118. <meta name="select:font" content="short stack">
  119. <meta name="select:font" content="opendyslexic-regular">
  120.  
  121. <meta name="if:bg cover" content="">
  122. <meta name="if:cursor" content="">
  123. <meta name="if:post glow" content="">
  124. <meta name="if:rounded corners" content="">
  125. <meta name="if:render" content="">
  126.  
  127. <meta name="text:font size" content="11">
  128. <meta name="text:render left" content="">
  129. <meta name="text:render bottom" content="">
  130. <meta name="text:render width" content="">
  131.  
  132. <link href="https://fonts.googleapis.com/css?family=Pacifico" rel="stylesheet">
  133.  
  134. <link href="https://fonts.googleapis.com/css?family=Short+Stack" rel="stylesheet">
  135.  
  136. <style type="text/css">
  137.  
  138. @font-face { font-family: "OpenDyslexic-Regular"; src: url('https://dl.dropboxusercontent.com/s/7lk7boh8v38kbh8/OpenDyslexic-Regular.otf?dl=0'); format("truetype");}
  139.  
  140. @font-face { font-family: "tinytots"; src: url('https://dl.dropboxusercontent.com/s/y0pfz7ndq83n7j7/04b_03_.ttf?dl=1'); format(“truetype”);}
  141.  
  142. ::-webkit-scrollbar {
  143. width: 9px;
  144. height: 4px;
  145. background:{color:scrollbar};
  146. border:4px solid {color:blog border};
  147. }
  148.  
  149. ::-webkit-scrollbar-thumb {
  150. background-color:{color:scrollbar};
  151. border-radius:5px;
  152. }
  153.  
  154. #s-m-t-tooltip {
  155. max-width:300px;
  156. margin:10px 0px 0px 10px;
  157. background-color:{color:tooltip};
  158. font-family:tinytots;
  159. font-size:8px;
  160. padding:3px;
  161. color:{color:tooltip text};
  162. z-index:999999999999999999999999999999999999;
  163. }
  164.  
  165. #s-m-t-tooltip:after {
  166. position: absolute;
  167. display: block; content: "";
  168. border-color: transparent {color:tooltip} transparent transparent ;
  169. border-style: solid;
  170. border-width: 5px;
  171. height:0;
  172. width:0;
  173. position:absolute;
  174. top:3px;
  175. left:-10px;
  176. }
  177.  
  178. ::selection {
  179. background: {color:selection};
  180. color: {color:selection text};
  181. }
  182.  
  183. ::-moz-selection {
  184. background: {color:selection};
  185. color: {color:selection text};
  186. }
  187.  
  188. ::-webkit-selection {
  189. background: {color:selection};
  190. color: {color:selection text};
  191. }
  192.  
  193. {block:ifcursor}body, a, a:hover {cursor: url('{image:cursor}'), progress;}{/block:ifcursor}
  194.  
  195. body {
  196. margin:0px;
  197. background:{color:background};
  198. background-image:url('{image:background}');
  199. background-attachment:fixed;
  200. {block:ifbgcover}
  201. background-repeat:no-repeat;
  202. background-size:cover;
  203. {/block:ifbgcover}
  204. color:{color:text};
  205. font-family:{select:font};
  206. font-size:{text:font size}px;
  207. }
  208.  
  209. a {
  210. color:{color:link};
  211. text-decoration:none;
  212. }
  213.  
  214. a:hover {
  215. color:{color:hover};
  216. -webkit-transition: all 0.7s ease;
  217. -moz-transition: all 0.7s ease;
  218. -o-transition: all 0.7s ease;
  219. transition: all 0.7s ease;
  220. }
  221.  
  222. blockquote {
  223. border-left:1px solid {color:blockquote};
  224. padding-left:10px;
  225. }
  226.  
  227. blockquote img {
  228. max-width:100%;
  229. height:auto;
  230. }
  231.  
  232. iframe, img, embed, object, video {
  233. }
  234.  
  235. img {
  236. max-width:auto;
  237. height:auto;
  238. }
  239.  
  240. article {
  241. float:left;
  242. position:relative;
  243. left:45%;
  244. padding:10px;
  245. width:500px;
  246. background-color:{color:posts};
  247. border:4px solid {color:border};
  248. {block:ifroundedcorners}
  249. border-radius:10px;
  250. {/block:ifroundedcorners}
  251. {block:ifpostglow}
  252. box-shadow: 0px 0px 20px {color:border};
  253. -webkit-box-shadow: 0px 0px 20px {color:border};
  254. -moz-box-shadow: 0px 0px 20px {color:border};
  255. {/block:ifpostglow}
  256. margin-top:50px;
  257. margin-bottom:25px;
  258. }
  259.  
  260. h1 {
  261. font-family:pacifico;
  262. font-size:24px;
  263. text-align:center;
  264. text-shadow: 2px 2px 4px {color:title shadow};
  265. }
  266.  
  267. .posts:blockquote {
  268. border-left:1px solid {color:blockquote};
  269. padding-left:5px;
  270. }
  271.  
  272. .posts img {
  273. max-width:100%;
  274. }
  275.  
  276. #wrapper {
  277. width:800px;
  278. position:relative;
  279. }
  280.  
  281. #b1 {
  282. position:fixed;
  283. top:0px;
  284. left:0px;
  285. width:100%;
  286. height:25px;
  287. z-index:1;
  288. background-color:{color:blog border};
  289. }
  290.  
  291. #b2 {
  292. position:fixed;
  293. bottom:0px;
  294. left:0px;
  295. width:100%;
  296. height:25px;
  297. z-index:1;
  298. background-color:{color:blog border};
  299. }
  300.  
  301. #b3 {
  302. position:fixed;
  303. top:0px;
  304. left:0px;
  305. width:25px;
  306. height:100%;
  307. background-color:{color:blog border};
  308. z-index:1;
  309. }
  310.  
  311. #b4 {
  312. position:fixed;
  313. top:0px;
  314. right:-9px;
  315. width:25px;
  316. height:100%;
  317. background-color:{color:blog border};
  318. z-index:1;
  319. }
  320.  
  321. #sidebar1 {
  322. position:fixed;
  323. left:5%;
  324. width:200px;
  325. top:25px;
  326. padding:10px;
  327. background-color:{color:posts};
  328. border:4px solid {color:blog border};
  329. border-top:none;
  330. border-bottom-left-radius:20px;
  331. border-bottom-right-radius:20px;
  332. {block:ifpostglow}
  333. box-shadow: 0px 0px 20px {color:blog border};
  334. -webkit-box-shadow: 0px 0px 20px {color:blog border};
  335. -moz-box-shadow: 0px 0px 20px {color:blog border};
  336. {/block:ifpostglow}
  337. }
  338.  
  339. #sidebar2 {
  340. position:fixed;
  341. right:5%;
  342. width:200px;
  343. bottom:25px;
  344. padding:10px;
  345. background-color:{color:posts};
  346. border:4px solid {color:blog border};
  347. border-bottom:none;
  348. border-top-left-radius:20px;
  349. border-top-right-radius:20px;
  350. {block:ifpostglow}
  351. box-shadow: 0px 0px 20px {color:blog border};
  352. -webkit-box-shadow: 0px 0px 20px {color:blog border};
  353. -moz-box-shadow: 0px 0px 20px {color:blog border};
  354. {/block:ifpostglow}
  355. }
  356.  
  357. .navi {
  358.  
  359. }
  360.  
  361. .navi a {
  362. display:inline-block;
  363. width:75px;
  364. padding:2px;
  365. font-family:tinytots;
  366. font-size:8px;
  367. height:15px;
  368. line-height:15px;
  369. text-align:center;
  370. background-color:{color:links};
  371. border-radius:10px;
  372. margin-bottom:2px;
  373. }
  374.  
  375. .navi a:hover {
  376. background-color:{color:links hover};
  377. box-shadow: 0px 0px 5px {color:links hover};
  378. }
  379.  
  380. #fade { /*--Transparent background layer--*/
  381. display: none; /*--hidden by default--*/
  382. background: #000;
  383. background-image:url('{image:background}');
  384. {block:ifbgcover} background-repeat:no-repeat; background-size:cover;{/block:ifbgcover}
  385. position: fixed;
  386. left: 0;
  387. top: 0;
  388. width: 100%;
  389. height: 100%;
  390. opacity: .80;
  391. }
  392.  
  393. .popup_block{
  394. display: none; /*--hidden by default--*/
  395. background: {color:posts};
  396. padding: 10px;
  397. border: 4px solid {color:border};
  398. float: left;
  399. font-size: 16;
  400. position: fixed;
  401. top: 50%; left: 50%;
  402. z-index: 99999;
  403. {block:ifroundedcorners}
  404. border-radius:10px;
  405. {/block:ifroundedcorners}
  406. {block:ifpostglow}
  407. box-shadow: 0px 0px 20px {color:border};
  408. -webkit-box-shadow: 0px 0px 20px {color:border};
  409. -moz-box-shadow: 0px 0px 20px {color:border};
  410. {/block:ifpostglow}
  411. }
  412.  
  413. img.btn_close {
  414. float: right;
  415. margin: -20 -20px 0 0;
  416. }
  417.  
  418. /*--Making IE6 Understand Fixed Positioning--*/
  419. *html #fade {
  420. position: absolute;
  421. }
  422.  
  423. *html .popup_block {
  424. position: absolute;
  425. }
  426.  
  427. .title{
  428. font-weight:normal;
  429. font-size:16px;
  430. margin:0 0 10px 0;
  431. text-align:center;
  432. }
  433.  
  434. .quote{
  435. font-weight:normal;
  436. font-size:16px;
  437. font-style:italic;
  438. margin:0 0 10px 0;
  439. text-align:center;
  440. }
  441.  
  442. .quotesource {
  443. margin:0 0 10px 0;
  444. text-align:right;
  445. }
  446.  
  447. #ask{
  448. padding:5px;
  449. }
  450.  
  451. .bubble {
  452. align:right;
  453. background: {color:ask};
  454. margin:7px 0px 5px 66px;
  455. padding:10px;
  456. position: relative;
  457. -moz-border-radius:5px;
  458. -webkit-border-radius:5px;
  459. border-radius:5px;
  460. }
  461.  
  462. .bubble p {
  463. margin:1px 0px;
  464. }
  465.  
  466. .bubble span {
  467. position:absolute;
  468. width:1px;
  469. height:1px;
  470. font-size: 0;
  471. line-height: 1px;
  472. left:-10px;
  473. top:10px;
  474. border-top:7px solid transparent;
  475. border-bottom:7px solid transparent;
  476. border-right:10px solid {color:ask};
  477. }
  478.  
  479. .perma {
  480. margin-top:-10px;
  481. margin-left:-10px;
  482. opacity:0;
  483. padding:5px;
  484. width:510px;
  485. margin-bottom:10px;
  486. text-align:center;
  487. background:{color:permalink};
  488. font-family:tinytots;
  489. font-size:8px;
  490. }
  491.  
  492. article:hover .perma{
  493. opacity:1;
  494. transition: all 0.3s ease-out;
  495. -o-transition-transition: all 0.3s ease-out;
  496. -webkit-transition: all 0.3s ease-out;
  497. -moz-transition: all 0.3s ease-out;
  498. }
  499.  
  500. .credit {
  501. position:fixed;
  502. bottom:4px;
  503. left:8px;
  504. font: 9px consolas;
  505. text-transform:uppercase;
  506. letter-spacing: 0px;
  507. padding: 2px;
  508. z-index:1;
  509. }
  510.  
  511. </style>
  512. </head>
  513. <body>
  514.  
  515. <div id="b1"></div>
  516. <div id="b2"></div>
  517. <div id="b3"></div>
  518. <div id="b4"></div>
  519.  
  520. <div id="sidebar1">
  521. <center><img style="max-width:100px; height:auto;" src="{image:sidebar 1}"></center>
  522. {block:Description}{Description}{/block:Description}
  523. <br>
  524. <center>
  525. {block:IndexPage}
  526. {block:Pagination}
  527. {block:PreviousPage}<a href="{PreviousPage}">{text:back title}</a>{/block:PreviousPage}
  528. {block:NextPage}<a href="{NextPage}">{text:next title}</a>
  529. {/block:NextPage}
  530. {/block:Pagination}
  531. {/block:IndexPage}
  532. </center>
  533. </div>
  534.  
  535. <div id="sidebar2">
  536. <center><img style="max-width:100px; height:auto;" src="{image:sidebar 2}"></center>
  537.  
  538. <center>
  539. <div class="navi">
  540. <a href="/">home</a>
  541. <a href="#?w=500" rel="msg" class="poplight">ask</a><br>
  542. <a href="#?w=500" rel="gift" class="poplight">submit</a>
  543. <a href="#?w=500" rel="abt" class="poplight">about</a><br>
  544. <a href="#?w=500" rel="01" class="poplight">{text:popup 1 link title}</a>
  545. <a href="#?w=500" rel="02" class="poplight">{text:popup 2 link title}</a>
  546. </div>
  547. </center>
  548. </div>
  549.  
  550.  
  551. <div id="wrapper">
  552. {block:Posts}
  553.  
  554. <article>
  555.  
  556.  
  557. {block:IndexPage}
  558. <div class="perma"><a href="{Permalink}">{NoteCountWithLabel}</a> <img src="{image:permalink}"> <a href="{ReblogURL}">reblog</a>
  559. {block:HasTags}<br>{block:Tags}<a href="{TagURL}">#{Tag}</a>&nbsp;{/block:Tags}{/block:HasTags}
  560. </div>
  561. {block:IndexPage}
  562.  
  563. {block:Text}
  564. {block:Title}<div class="title">{Title}</div>{/block:Title}
  565. {Body}
  566. {/block:Text}
  567.  
  568. {block:Photo}
  569. <center>{LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}</center>
  570. {block:Caption}{Caption}{/block:Caption}
  571. {/block:Photo}
  572.  
  573. {block:Photoset}
  574. {Photoset-500}
  575. {block:Caption}{Caption}{/block:Caption}
  576. {/block:Photoset}
  577.  
  578. {block:Quote}
  579. <div class="quote">"{Quote}"</div>
  580. {block:Source}<div class="quotesource">{Source}</div>{/block:Source}
  581. {/block:Quote}
  582.  
  583. {block:Link}
  584. <div class="title"><a href="{URL}">{Name}</a></div>
  585. {block:Description}<div class="description">{Description}</div>{/block:Description}
  586. {/block:Link}
  587.  
  588. {block:Chat}
  589. {block:Title}<div class="title">{Title}</div>{/block:Title}
  590. {block:Lines}<div class="{Alt} user_{UserNumber}">{block:Label}<b>{Label}</b>{/block:Label}&nbsp;{Line}</div>{/block:Lines}
  591. {/block:Chat}
  592.  
  593. {block:Video}
  594. {Video-500}
  595. {block:Caption}{Caption}{/block:Caption}
  596. {/block:Video}
  597.  
  598. {block:Audio}
  599. {AudioPlayerWhite}
  600. {block:TrackName}{TrackName}<br>{/block:TrackName}
  601. {block:Artist}{Artist}<br>{/block:Artist}
  602. {block:Album}{Album}{/block:Album}
  603. {block:Caption}{Caption}{/block:Caption}
  604. {/block:Audio}
  605.  
  606. {block:Answer}
  607. <img src="{AskerPortraitURL-48}" align="left" style="border-radius:48px;">
  608. <div class="bubble"><span></span>{Asker} {text:ask text}: {Question}&nbsp;</div>
  609. <div class="answer">{Answer}</div>
  610. {/block:Answer}
  611.  
  612. {block:PermalinkPage}
  613. <center>
  614. {block:Date}Posted on {DayOfWeek}, {Month} {DayOfMonth}{DayOfMonthSuffix} at {12HourWithZero}:{Minutes}{CapitalAmPm}{/block:Date} {block:NoteCount}with {NoteCountWithLabel}{/block:NoteCount}
  615. {block:RebloggedFrom}<br><a title="{ReblogParentName}" href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  616. {block:RebloggedFrom}• <a title="{ReblogRootName}" href="{ReblogRootURL}">source</a>{/block:RebloggedFrom}
  617. {block:HasTags}<br> tagged as: {block:Tags}<a href="{TagURL}">{Tag}</a> {/block:Tags} {/block:HasTags}
  618. </center>
  619.  
  620. {block:PostNotes}{PostNotes}{/block:PostNotes}
  621. {/block:PermalinkPage}
  622.  
  623. </article>
  624.  
  625. {/block:Posts}
  626.  
  627. </div>
  628.  
  629.  
  630. <div id="msg" class="popup_block">
  631.  
  632. <h1>Ask</h1>
  633.  
  634. <iframe frameborder="0" scrolling="no" width="100%" height="190" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  635.  
  636. </div></div></div></div></div></div></div></div></div></div>
  637.  
  638.  
  639. <div id="gift" class="popup_block">
  640.  
  641. <h1>Submit</h1>
  642.  
  643. <iframe frameborder="0" scrolling="no" width="100%" height="300" src="http://www.tumblr.com/submit_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="submit_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]-->
  644.  
  645. </div></div></div></div></div></div></div></div></div></div>
  646.  
  647.  
  648. <div id="abt" class="popup_block">
  649.  
  650. <h1>About</h1>
  651.  
  652. insert an about here!
  653.  
  654. </div></div></div></div></div></div></div></div></div></div>
  655.  
  656. <div id="01" class="popup_block">
  657.  
  658. <h1>{text:popup 1 title}</h1>
  659.  
  660. put what you want here!
  661.  
  662. </div></div></div></div></div></div></div></div></div></div>
  663.  
  664. <div id="02" class="popup_block">
  665.  
  666. <h1>{text:popup 2 title}</h1>
  667.  
  668. put what you want here!
  669.  
  670. </div></div></div></div></div></div></div></div></div></div>
  671.  
  672.  
  673. {block:ifrender}<div style="position:fixed; left:{text:render left}px; bottom:{text:render bottom}px; z-index:1;"><img src="{image:render}" width="{text:render width}"></div>{/block:ifrender}
  674.  
  675. <div class="credit"><a href="http://xollyx.tumblr.com/" title="theme"><img src="http://orig04.deviantart.net/151c/f/2015/334/6/e/tumblr_inline_mij52fv1gc1qz4rgp_by_kittystuff-d9il7w5.gif" /></a></div>
  676.  
  677. </body>
  678. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement