Advertisement
tanaxmercedes

Theme #4: Serenity Theme - by Tana // Elegance Themes

Apr 20th, 2015
514
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.35 KB | None | 0 0
  1. <!--
  2.  
  3. 'SERENITY THEME' CREATED BY TANA AKA TANATHEKITTYGOESRAWR.TUMBLR.COM
  4.  
  5. ╱╱╱╭╮╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭╮╭╮
  6. ╱╱╱┃┃╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╭╯╰┫┃
  7. ╭━━┫┃╭━━┳━━┳━━┳━╮╭━━┳━━╮╰╮╭┫╰━┳━━┳╮╭┳━━┳━━╮
  8. ┃┃━┫┃┃┃━┫╭╮┃╭╮┃╭╮┫╭━┫┃━┫╱┃┃┃╭╮┃┃━┫╰╯┃┃━┫━━┫
  9. ┃┃━┫╰┫┃━┫╰╯┃╭╮┃┃┃┃╰━┫┃━┫╱┃╰┫┃┃┃┃━┫┃┃┃┃━╋━━┃
  10. ╰━━┻━┻━━┻━╮┣╯╰┻╯╰┻━━┻━━╯╱╰━┻╯╰┻━━┻┻┻┻━━┻━━╯
  11. ╱╱╱╱╱╱╱╱╭━╯┃
  12. ╱╱╱╱╱╱╱╱╰━━╯
  13.  
  14. DO NOT STEAL/COPY/TAKE PARTS OF MY CODE/FRANKENSTEIN/ETC WITH AND OF MY CODES. MY CODES ARE UNDER COPYRIGHT, IT IS ILLEGAL.
  15.  
  16. OTHERWISE, PLEASE ENJOY THIS WONDERFUL THEME! IT IS BEAUTIFUL AND I AM SURE YOU WILL LOVE IT!
  17.  
  18. THANKS FOR USING THIS THEME!
  19.  
  20.  
  21.  
  22. -->
  23. <!--
  24. Hello everyone, this code base was made by me (Hisabeel) so that you can use to make your own themes, appreciate it maintain that initial message and to give me credit on your blog by the base code, thanks. :)
  25.  
  26. You can use the following sites to learn more about html:
  27. » http://hisa-themes.tumblr.com/tutos (TUTORIALS BY ME ^^)
  28. » http://hisa-themes.tumblr.com/tagged/html
  29. » http://hisabeel.tumblr.com/tagged/html
  30.  
  31.  
  32.  
  33. Other tutorials by other theme makers:
  34. » http://html-network.tumblr.com/ (PRINCIPAL)
  35. » http://cuddlinqs.tumblr.com/tutorials
  36. » http://themesbyrhi.tumblr.com/tagged/tutorialbyff/
  37. » http://takeable.tumblr.com/themeinfo
  38. » http://eclipsethemes.tumblr.com/tuts
  39. » http://synics.tumblr.com/tagged/tutorial
  40. » http://precluding.tumblr.com/tuts
  41. » http://themesmadebysabina.tumblr.com/tutorials
  42. » http://themesbylyra.tumblr.com/tutorials
  43. » http://flutterthemes.tumblr.com/tutorials
  44. » http://ocehans.tumblr.com/tuts (THE BEST TUTORIALS)
  45. » http://z4yner.tumblr.com/tuts
  46. -->
  47.  
  48.  
  49.  
  50. <html lang="en">
  51. <script type="text/javascript">
  52. <!--
  53.  
  54. // Disable Right Click Script
  55.  
  56. function IE(e)
  57. {
  58. if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
  59. {
  60. return false;
  61. }
  62. }
  63. function NS(e)
  64. {
  65. if (document.layers || (document.getElementById && !document.all))
  66. {
  67. if (e.which == "2" || e.which == "3")
  68. {
  69. return false;
  70. }
  71. }
  72. }
  73. document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
  74.  
  75.  
  76.  
  77. //-->
  78. </script>
  79.  
  80. <!--THESE CODES ARE DOING WORK THE THEME, BACKGROUND COLOR CHANGING OR ADDING A CUSTOM BACKGROUND, CHANGE THE NUMBER OF LINKS, ETC.-->
  81. <meta name="color:Background" content="#fafafa"/>
  82. <meta name="color:Title" content="#2e5d32"/>
  83. <meta name="color:Text" content="#ffffff"/>
  84. <meta name="color:Link" content="#2e5d32"/>
  85. <meta name="color:Hover" content="#ffffff"/>
  86. <meta name="color:Hisatitle" content="#2e5d32"/>
  87. <!--<meta name="image:Background" content=""/>-->
  88. <meta name="image:Sidebar" content=""/>
  89. <meta name="image:Favicon" content=""/>
  90. <meta name="text:Hisatitle" content="Theme"/>
  91. <meta name="text:Tab Title" content="Theme"/>
  92.  
  93. <meta name="if:FadedPosts" content=""/>
  94. <meta name="if:TwoColumns" content=""/>
  95.  
  96. <!--HERE ARE THE SITES WHERE WILL GIVE LINKS-->
  97. <meta name="text:Link One" content="" />
  98. <meta name="text:Link Two" content="" />
  99. <meta name="text:Link Three" content="" />
  100. <meta name="text:Link Four" content="" />
  101.  
  102. <!--HERE ARE PLACED THE NAMES OF LINKS-->
  103. <meta name="text:Link 1 hover text" content="Title Here" />
  104. <meta name="text:Link 2 hover text" content="Title Here" />
  105. <meta name="text:Link 3 hover text" content="Title Here" />
  106. <meta name="text:Link 4 hover text" content="Title Here" />
  107.  
  108. <!--HERE ARE PLACED THE LABELS SAYING WHAT EACH LINK-->
  109. <meta name="text:Link One Title" content=".01"/>
  110. <meta name="text:Link Two Title" content=".02"/>
  111. <meta name="text:Link Three Title" content=".03"/>
  112. <meta name="text:Link Four Title" content=".04"/>
  113. <meta name="text:Link Five Title" content=".05"/>
  114. </script>
  115.  
  116.  
  117.  
  118.  
  119. <link href='http://fonts.googleapis.com/css?family=Rock+Salt' rel='stylesheet' type='text/css'>
  120.  
  121.  
  122. <script type="text/javascript" src="http://static.tumblr.com/tiu5k68/xTkm8wqw2/tumblr-title-qtip.js"></script>
  123.  
  124.  
  125.  
  126. <style type="text/css">
  127.  
  128.  
  129.  
  130.  
  131. /*--IFRAME ARE THE CODES OF CONTROL BUTTONS (DASHBOARD, FOLLOW/UNFOLLOW)--*/
  132. iframe#tumblr_controls{
  133. z-index:9;
  134. opacity:0.5 !important;
  135. -webkit-filter:invert(100%);
  136. top:0px !important;
  137. right:8px !important;
  138. position:fixed!important;
  139. }
  140.  
  141. iframe#tumblr_controls {right:3px !important; position:fixed !important;-webkit-transition:opacity 0.7s linear; opacity:0.2; -webkit-transition: all 0.8s ease-out; -moz-transition:all 0.8s ease-out; transition:all 0.8s ease-out; z-index:99999}
  142.  
  143. iframe#tumblr_controls:hover {-webkit-transition:opacity 0.7s linear; opacity:1.0; -webkit-transition:all 0.4s ease-out; -moz-transition:all 0.4s ease-out; transition: all 0.4s ease-out; z-index:99999;}
  144.  
  145.  
  146. /*--SCROLLBAR IS THE SIDE BAR THAT APPEARS ON RIGHT CORNER OF THE THEME, WHAT DOES WALKING DOWN THE BLOG AND UP, JUST CHANGE NOW FOR EXPERIENCED--*/
  147. ::-webkit-scrollbar {width: 8px; height: 4px; background:#f5f5f5; border-left: 1px solid #f5f5f5; }
  148.  
  149. ::-webkit-scrollbar-thumb { background-color:{color:Title}; border-bottom: 1px solid #fff; border-radius:5px; border-top: 1px solid #fff; border-left: 1px solid #fff; border-right: 1px solid #fff; }
  150.  
  151.  
  152. /*--I RECCOMMEND TO NOT TOUCH ANY OF THIS--*/
  153. a:link, a:active, a:visited{
  154. color:{color:Link};
  155. text-decoration:none;
  156. -webkit-transition:all 0.6s ease-out; -moz-transition:all 0.6s ease-out;-o-transition:all 0.6s ease-out; transition:all 0.6s ease-out;}
  157.  
  158. a:hover{
  159. color:{color:Hover};
  160. text-decoration:none;
  161. -webkit-transition:all 0.3s ease-out; -moz-transition:all 0.3s ease-out;-o-transition:all 0.3s ease-out; transition:all 0.3s ease-out;
  162. cursor: url(http://img69.imageshack.us/img69/7673/cursorw.png), auto;}
  163.  
  164.  
  165. /*--I RECCOMMEND TO NOT TOUCH ANY OF THIS--*/
  166. #audio {
  167. width:200px;
  168. height:auto;
  169. min-height:60px;
  170. padding-bottom:0px;
  171. }
  172.  
  173. .cover {
  174. position:absolute;
  175. z-index:1;
  176. width:60px;
  177. height:60px;
  178. }
  179.  
  180. .cover img {
  181. float:left;
  182. width:60px;
  183. height:60px;
  184. }
  185.  
  186. .playbox {
  187. opacity:0.6;
  188. width:27px;
  189. height:30px;
  190. overflow:hidden;
  191. position:absolute;
  192. z-index:1000;
  193. margin-left:17px;
  194. margin-top:17px;
  195. text-align:center;
  196. }
  197.  
  198. .info {
  199. margin-left:73px;
  200. margin-top:4px;
  201. line-height:14px;
  202. }
  203.  
  204. #cunt{width:250px; height:auto;}
  205. {block:PermalinkPage}
  206. width:10px;
  207. {/block:PermalinkPage}
  208. }
  209.  
  210. #center{
  211. padding-top:3px;
  212. padding-bottom:3px;
  213. position:fixed !important;
  214. width:250px;
  215. height:207px;
  216. background-color:#000;
  217. {block:PermalinkPage}
  218. width:410px;
  219. height:207px;
  220. {/block:PermalinkPage}
  221. }
  222.  
  223. body {
  224. padding: 0px;
  225. margin: 0px;
  226. color:{color:text};
  227. font-family: calibri;
  228. line-height:13px;
  229. font-size:12px;
  230. background-image:url("https://40.media.tumblr.com/26e2b23f171b1a3eb1bd386b7c75ac03/tumblr_inline_nn52ropbuT1trwnfa_500.jpg");
  231. background-size:cover;
  232. background-attachment:fixed;
  233. background-color: {color:Background};
  234. cursor: url(http://img69.imageshack.us/img69/7673/cursorw.png)
  235. }
  236.  
  237. /*--HERE YOU CAN CHANGE THE AMOUNT OF COLUMNS YOU WANT--*/
  238. #posts{
  239. float:center;
  240. {block:indexpage}
  241.  
  242. width:200px; /*--1000px for 4 columns, 800px for 3 columns, 600px for 2 columns and 200px for 1 columns--*/
  243. {block:ifTwoColumns}
  244. width:600px; /*--1000px for 4 columns, 800px for 3 columns, 600px for 2 columns and 200px for 1 columns--*/
  245. {/block:ifTwoColumns}
  246.  
  247. {/block:indexpage}
  248. {block:permalinkpage}
  249. width:600px;
  250. height:1100p;
  251. margin-left:690px;
  252. {/block:permalinkpage}
  253. margin-left:680px;
  254. margin-top:0px;
  255. z-index:99;
  256. }
  257.  
  258. /*--CUSTOMIZE ENTRY SETTINGS--*/
  259. #entry img{
  260. {block:indexpage}
  261. background:#fff;
  262. max-width:205px;
  263. opacity:;
  264. z-index:999999999999999999999999999999999999999999999999999999999999;
  265. -webkit-transition:all 0.7s ease-out;
  266. -moz-transition:all 0.7s ease-out;
  267. transition:all 0.7s ease-out;
  268. {/block:indexpage}
  269. }
  270.  
  271. #entry{
  272. z-index:999999999999999999999999999999999999999999999999999999999999;
  273. margin:8px;
  274. float:left;
  275. background:transparent;
  276. font-size:10px;
  277. line-height:13px;
  278. text-transform:normal;
  279. width:204px;
  280. padding:12px;
  281. {block:ifFadedPosts}
  282. opacity:0.7;
  283. {/block:ifFadedPosts}
  284. border:1px solid #fff;
  285. box-shadow:rgba(0,0,0,.03) 4px 4px;
  286. {block:PermalinkPage}
  287. width:360px;
  288. margin-top:0px;
  289. margin-left:6px;
  290. z-index:999;
  291. border:1px solid #fff;
  292. color:#fff;
  293. {/block:PermalinkPage}
  294. -moz-transition: all 3.9s ease-out;
  295. -o-transition: all 3.9s ease-out;
  296. -webkit-transition: all 3.9s ease-out;
  297. transition: all 3.9s ease-out;
  298. }
  299.  
  300. #entry:hover{
  301. border:1px solid #fff;
  302. box-shadow:0px 0px 20px {color:Title};
  303. -moz-transition: all 3.9s ease-out;
  304. -o-transition: all 3.9s ease-out;
  305. -webkit-transition: all 3.9s ease-out;
  306. transition: all 3.9s ease-out;
  307. }
  308.  
  309.  
  310. /*--CUSTOMIZE THE APPEARANCE OF PERMALINKS--*/
  311. #entry .perma{
  312. width:60px;
  313. height:auto;
  314. font-family:consolas;
  315. font-size:8px;
  316. line-height:12px;
  317. text-align:center;
  318. text-transform:lowercase;
  319. background:transparent;
  320. border:1px solid #fff;
  321. position:absolute;
  322. z-index:99999;
  323. overflow:hidden;
  324. margin-top:5px;
  325. margin-left:260px;
  326. padding:6px;
  327. -webkit-transition:opacity 0.5s linear; opacity: 0.0;
  328. -webkit-transition:all 0.5s linear;
  329. -moz-transition:all 0.5s linear;
  330. transition:all 0.5s linear;
  331. {block:ifTwoColumns}
  332. margin-left:30px;
  333. background:{color:Hisatitle};
  334. {/block:ifTwoColumns}
  335. }
  336.  
  337. #entry:hover .perma{
  338. overflow:visible;
  339. opacity:1;
  340. margin-top:10px;
  341. transform: rotate(0deg);
  342. -ms-transform: rotate(0deg);
  343. -webkit-transform: rotate(0deg);
  344. -o-transform: rotate(0deg);
  345. -moz-transform: rotate(0deg);
  346. -webkit-transition: all 0.5s linear;
  347. -webkit-transition: all 0.5s linear;
  348. -moz-transition: all 0.5s linear;
  349. transition: all 0.5s linear;
  350. }
  351.  
  352. .permalinktext{
  353. display:block;
  354. text-align:right;
  355. text-decoration:none;
  356. font-size:8px;
  357. letter-spacing:1px;
  358. padding-top:5px;
  359. text-transform:lowercase;
  360. background:transparent;
  361. border:1px solid #fff;
  362. padding:3px;
  363. }
  364.  
  365.  
  366. /*--CUSTOMIZE TITLE OF ENTRIES--*/
  367. .title{
  368. line-height:12px;
  369. color:{color:Title};
  370. font-weight:normal;
  371. }
  372.  
  373.  
  374. /*--CUSTOMIZE TITLE OF SIDEBAR--*/
  375. #hisatitle{
  376. position: fixed !important;
  377. z-index:999999;
  378. width:250px;
  379. margin-top:120px;
  380. margin-left:520px;
  381. color:{color:Hisatitle};
  382. text-shadow:1px 1px 4px #fff;
  383. font-family:'Rock Salt', cursive;
  384. font-size:30px;
  385. line-height:10px;
  386. }
  387.  
  388.  
  389.  
  390. /*--CUSTOMIZE SIDEBAR--*/
  391. #sidebar{
  392. opacity:1;
  393. position:fixed !important;
  394. width:140px;
  395. height:140px;
  396. margin-top:140px;
  397. margin-left:523px;
  398. padding:12px;
  399. background-color:transparent;
  400. border-left:1px solid #fff;
  401. border-top:1px solid #fff;
  402. border-bottom:1px solid #fff;
  403. }
  404.  
  405.  
  406. /*--CUSTOMIZE DESCRIPTION--*/
  407. div#desc{
  408. position:fixed !important;
  409. opacity:1.0;
  410. background:transparent;
  411. width:140px;
  412. height:50px;
  413. padding:12px;
  414. color:#fff;
  415. margin-top:160px;
  416. margin-left:-13px;
  417. font-size:10px;
  418. line-height:10px;
  419. font-family:arial;
  420. border-left:1px solid #fff;
  421. border-top:1px solid #fff;
  422. border-bottom:1px solid #fff;
  423. text-align:center; /*--you can put center, left, right or justify--*/
  424. }
  425.  
  426. div#postsbg{
  427. z-index:1;
  428. position:fixed !important;
  429. opacity:.5;
  430. background:#000;
  431. width:240px;
  432. height:100%;
  433. padding:12px;
  434. color:#999;
  435. margin-top:0px;
  436. margin-left:670px;
  437. border:1px solid #000;
  438. text-align:center; /*--you can put center, left, right or justify--*/
  439. }
  440.  
  441.  
  442. /*--CUSTOMIZE LINKS--*/
  443. /*#links{
  444. opacity:1.0;
  445. position:fixed!important;
  446. width:auto;
  447. height:auto;
  448. padding:10px;
  449. color:{color:Link};
  450. font-size:20px;
  451. font-family:helvetica;
  452. letter-spacing:0px;
  453. text-transform:none;
  454. background:transparent;
  455. margin-left:-70px;
  456. margin-top:30px;
  457. border:1px solid #fff;
  458. -webkit-transition: all 0.9s ease-in-out;
  459. -moz-transition: all 0.9s ease-in-out;
  460. -o-transition: all 0.9s ease-in-out;
  461. }*/
  462.  
  463. .link1{
  464. opacity:1.0;
  465. position:fixed!important;
  466. width:auto;
  467. height:auto;
  468. padding:10px;
  469. color:{color:Link};
  470. font-size:20px;
  471. font-family:helvetica;
  472. letter-spacing:0px;
  473. text-transform:none;
  474. background:transparent;
  475. margin-left:-70px;
  476. margin-top:10px;
  477. border:1px solid #fff;
  478. border-radius:100px;
  479. -webkit-transition: all 0.9s ease-in-out;
  480. -moz-transition: all 0.9s ease-in-out;
  481. -o-transition: all 0.9s ease-in-out;
  482. }
  483.  
  484.  
  485. .link2{
  486. opacity:1.0;
  487. position:fixed!important;
  488. width:auto;
  489. height:auto;
  490. padding:10px;
  491. color:{color:Link};
  492. font-size:20px;
  493. font-family:helvetica;
  494. letter-spacing:0px;
  495. text-transform:none;
  496. background:transparent;
  497. margin-left:-70px;
  498. margin-top:50px;
  499. border:1px solid #fff;
  500. border-radius:100px;
  501. -webkit-transition: all 0.9s ease-in-out;
  502. -moz-transition: all 0.9s ease-in-out;
  503. -o-transition: all 0.9s ease-in-out;
  504. }
  505.  
  506. .link3{
  507. opacity:1.0;
  508. position:fixed!important;
  509. width:auto;
  510. height:auto;
  511. padding:10px;
  512. color:{color:Link};
  513. font-size:20px;
  514. font-family:helvetica;
  515. letter-spacing:0px;
  516. text-transform:none;
  517. background:transparent;
  518. margin-left:-70px;
  519. margin-top:90px;
  520. border:1px solid #fff;
  521. border-radius:100px;
  522. -webkit-transition: all 0.9s ease-in-out;
  523. -moz-transition: all 0.9s ease-in-out;
  524. -o-transition: all 0.9s ease-in-out;
  525. }
  526.  
  527. .link4{
  528. opacity:1.0;
  529. position:fixed!important;
  530. width:auto;
  531. height:auto;
  532. padding:10px;
  533. color:{color:Link};
  534. font-size:20px;
  535. font-family:helvetica;
  536. letter-spacing:0px;
  537. text-transform:none;
  538. background:transparent;
  539. margin-left:-70px;
  540. margin-top:130px;
  541. border:1px solid #fff;
  542. border-radius:100px;
  543. -webkit-transition: all 0.9s ease-in-out;
  544. -moz-transition: all 0.9s ease-in-out;
  545. -o-transition: all 0.9s ease-in-out;
  546. }
  547.  
  548. .link5{
  549. opacity:1.0;
  550. position:fixed!important;
  551. width:auto;
  552. height:auto;
  553. padding:10px;
  554. color:{color:Link};
  555. font-size:20px;
  556. font-family:helvetica;
  557. letter-spacing:0px;
  558. text-transform:none;
  559. background:transparent;
  560. margin-left:-70px;
  561. margin-top:170px;
  562. border:1px solid #fff;
  563. border-radius:100px;
  564. -webkit-transition: all 0.9s ease-in-out;
  565. -moz-transition: all 0.9s ease-in-out;
  566. -o-transition: all 0.9s ease-in-out;
  567. }
  568.  
  569.  
  570. /*--I RECCOMMEND TO NOT TOUCH ANY OF THIS--*/
  571. #infscr-loading{
  572. bottom: -70px;
  573. position: absolute;
  574. left: 50%;
  575. margin-left:-8px;
  576. width:16px;
  577. height:11px;
  578. overflow:hidden;
  579. margin-bottom: 50px;
  580. }
  581.  
  582. #postnotes{
  583. text-align: justify;}
  584.  
  585. #postnotes blockquote{
  586. border: 0px;}
  587.  
  588. blockquote{
  589. padding:0px 0px 2px 5px;
  590. margin:0px 0px 2px 10px;
  591. border-left: 1px dotted #eee;
  592. }
  593.  
  594. blockquote p, ul{
  595. margin:0px;
  596. padding:0px;
  597. }
  598.  
  599. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  600. .user_7 .label, .user_8 .label, .user_9 .label {color:Title};}
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608. div#qTip{
  609. font-family:'calibri'; /* font family */
  610. font-size: 9px; /* font size */
  611. color:#fff; /* text colour */
  612. background-color:transparent; /* background colour */
  613. text-align: center; /* */
  614. text-transform: lowercase; /* uppercase */
  615. letter-spacing:2px; /* letter spacing */
  616. min-width:10px;
  617. max-width:120px;
  618. display: none;
  619. border:1px solid #fff;
  620. position: absolute;
  621. z-index: 99;
  622. padding: 3px; /* padding */
  623. margin:5px 0px 0px 20px;}
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634. </style>
  635.  
  636. <!--THE TITLE IS THE SMALL TITLE THAT APPEARS IN TAB THE BLOG IN FRONT OF FAVICON, OVER THERE, WHERE IS HTTP, IF YOU DON'T UNDERSTAND, GO ON THIS LINK - http://static.tumblr.com/pmxvx4i/HBen83kl0/title.png -->
  637. <title>{text:Tab Title}</title>
  638. <!--THE FAVICON IS THE SMALL ICON THAT APPEARS IN TAB THE BLOG, OVER THERE, WHERE IS HTTP, IF YOU DON'T UNDERSTAND, GO ON THIS LINK - http://static.tumblr.com/pmxvx4i/jOrn83kin/favicon.png -->
  639. <link rel="shortcut icon" href="{image:Favicon}">
  640.  
  641. <link rel="alternate" type="application/rss+xml" title="RSS" href="{RSS}" />
  642. <meta name="viewport" content="width=720" />
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651. <style>
  652. .my-like {
  653. background-image: url(http://static.tumblr.com/b8yqvki/yxFmajxa5/amandarickathemeunliked.png) !important;
  654. height:20px;
  655. width:21px;
  656. cursor:pointer;
  657. display:inline-block;
  658. vertical-align:top;
  659. }
  660. .my-liked, .my-like:hover {
  661. background-image: url(http://static.tumblr.com/b8yqvki/CCTmajxau/amandarickathemeliked.png) !important;
  662. height:20px;
  663. width:21px;
  664. cursor:pointer;
  665. display:inline-block;
  666. vertical-align:top;
  667. }
  668. </style>
  669. <script>
  670. window.onload = function () {
  671. document.body.insertAdjacentHTML( 'beforeEnd', '<iframe id="my-like-frame" style="display:none;"></iframe>' );
  672. document.addEventListener( 'click', function ( event ) {
  673. var myLike = event.target;
  674. if( myLike.className.indexOf( 'my-like' ) > -1 ) {
  675. var frame = document.getElementById( 'my-like-frame' ),
  676. liked = ( myLike.className == 'my-liked' ),
  677. command = liked ? 'unlike' : 'like',
  678. reblog = myLike.getAttribute( 'data-reblog' ),
  679. id = myLike.getAttribute( 'data-id' ),
  680. oauth = reblog.slice( -8 );
  681. frame.src = 'http://www.tumblr.com/' + command + '/' + oauth + '?id=' + id;
  682. liked ? myLike.className = 'my-like' : myLike.className = 'my-liked';
  683. };
  684. }, false );
  685. };
  686. </script>
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694. </head>
  695.  
  696. <body>
  697.  
  698.  
  699.  
  700. <div id="center">
  701. <div id="content">
  702.  
  703. <!--THIS CODE DOES WORK THE TITLE OVER THE SIDEBAR-->
  704. <div id="hisatitle">{text:Hisatitle}</div>
  705.  
  706. <!--THIS CODE DOES WORK SIDEBAR-->
  707. <div id="sidebar">
  708. <!--THIS CODE DOES WORK DESCRIPTION-->
  709. <div id="desc">{description}</div>
  710.  
  711. <!--THIS CODE DOES WORK LINKS-->
  712. <div id="links">
  713. <div class="link1"><a href="{text:Link One}" title="{text:Link 1 hover text}">{text:Link One Title}</a></div>
  714. <div class="link2"><a href="{text:Link Two}" title="{text:Link 2 hover text}">{text:Link Two Title}</a></div>
  715. <div class="link3"><a href="{text:Link Three}" title="{text:Link 3 hover text}">{text:Link Three Title}</a></div>
  716. <div class="link4"><a href="{text:Link Four}" title="{text:Link 4 hover text}">{text:Link Four Title}</a></div>
  717. <div class="link5"><a href="http://elegancethemes.tumblr.com/" title="Tana made this wonderful Theme!">{text:Link Five Title}</a></div>
  718. </div>
  719.  
  720.  
  721. <!--THIS CODE DOES WORK IMAGE OF SIDEBAR-->
  722. <img src="{image:sidebar}" style="border:1px solid #fff; padding:0px; opacity:.8; width:140px; height:140px"></div>
  723.  
  724. <!--<div id="postsbg"></div>-->
  725.  
  726. <!--THIS CODE DOES WORK POSTS, DON'T CHANGE ANYTHING IF NOT EXPERIENCED WITH CODES-->
  727. <div id="posts">
  728. {block:Posts}
  729. <div id="entry">
  730.  
  731. {block:Text}
  732. {block:Title}<span class="title">{Title}</span>{/block:Title}
  733. <span class="entrytext">{Body}</span></a>
  734. {block:IndexPage}<br>
  735. <div class="permalinktext">
  736. {DayOfMonth}, {ShortMonth} with <a href="{permalink}">{notecount} notes</a></div>{/block:IndexPage}
  737. {/block:Text}
  738.  
  739. {block:Link}
  740. <a href="{URL}" class="title">{Name}</a>
  741. {block:Description}{Description}{/block:Description}
  742. {block:IndexPage}<br>
  743. <div class="permalinktext">
  744. {Month} {DayOfMonth} with <a href="{permalink}">{notecount} notes</a>
  745. </div>
  746. {/block:IndexPage}
  747. {block:Link}
  748.  
  749. {block:Photo}{block:IndexPage}<div class="lovely"></div>
  750. <div class="perma">
  751. <a title="go to the permalink page" href="{Permalink}"><font color="#fff">{NoteCountwithlabel}</font></a>
  752. <br>
  753. <a title="click to reblog" href="{ReblogURL}"><font color="#fff">relove this post</font></a><br>
  754. <div class="my-like" data-reblog="{ReblogURL}" data-id="{PostID}" title="Like"></div>
  755. </center></div>{/block:IndexPage}
  756.  
  757. {block:IndexPage}
  758. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width=270px;>
  759. {/block:IndexPage}
  760. {block:permalinkpage}{LinkOpenTag}<center>
  761. <img src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width=360px;/>
  762. {LinkCloseTag}</center>{/block:permalinkpage}
  763. {/block:Photo}
  764.  
  765. {block:Quote}
  766. <div class="quote">❝ {quote}</div>
  767. {block:IndexPage}<br>
  768. <div class="permalinktext">
  769. {DayOfMonth}, {ShortMonth} with <a href="{permalink}">{notecount} notes</a></div>{/block:IndexPage}
  770. {/block:Quote}
  771.  
  772. {block:Chat}
  773. {block:Title}<span class="title">{Title}</span>{/block:Title}
  774. <ul class="chat">
  775. {block:Lines}
  776. <li class="user_{UserNumber}">
  777. {block:Label}
  778. <span class="label">{Label}</span>
  779. {/block:Label}
  780.  
  781. {Line}<br>
  782. {/block:Lines}
  783. {block:IndexPage}<br>
  784. <div class="permalinktext">
  785. {DayOfMonth}, {ShortMonth} with <a href="{permalink}">{notecount} notes</a></div>{/block:IndexPage}
  786. {/block:Chat}
  787.  
  788. {block:Audio}
  789. <div id="audio"><div class="cover"><img src="http://static.tumblr.com/k9utpfa/tcom8wpif/default_cover_m.jpg"></div>{block:AlbumArt}<div class="cover"><img src="{AlbumArtURL}"></div>{/block:AlbumArt}<div class="playbox">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div><div class="info"><b>Artist:</b> <span{block:Artist} style="display:none;"{/block:Artist}>Unknown</span>{block:Artist}{Artist}{/block:Artist}<br><b>Title:</b> <span{block:TrackName} style="display:none;"{/block:TrackName}>Unknown</span>{block:TrackName}{TrackName}{/block:TrackName}<br><b>Album:</b> <span{block:Album} style="display:none;"{/block:Album}>Lovers</span>{block:Album}{Album}{/block:Album}{block:PlayCount}<br><b>Touch:</b> {FormattedPlayCount}{/block:PlayCount}</div></div>
  790. {block:IndexPage}<br>
  791. <div class="permalinktext">
  792. <center> <font color="#fff">{DayOfMonth}, {ShortMonth} with</font> <a href="{permalink}"><font color="#fff">{notecount} notes</font></a></center></div>{/block:IndexPage}
  793. {/block:Audio}
  794.  
  795. {block:Video}
  796. <center>{block:IndexPage}
  797. <div class="perma">
  798. {DayOfMonth}, {ShortMonth} with <a href="{permalink}">{notecount}</a> - <a href="{reblogurl}">↻</a></div>
  799. <div style="width:200px; overflow-x:hidden; overflow-y:hidden">{Video-250}</div>{/block:IndexPage}</center>
  800. <center>{block:PermalinkPage}<div style="width: 450px; overflow-x:hidden; overflow-y:hidden">{Video-500}{/block:PermalinkPage}</center>
  801. {block:Video}
  802.  
  803. {block:Answer}
  804. <div style="border:1px solid #eee; margin:3px; margin-top:-5px; min-height:30px; padding:3px; background:#f7f7f7">
  805. <img src="{AskerPortraitURL-30}" width="30" align="left"
  806. style="margin-right:4px; margin-top:-6px; margin-left:0px; border:1px solid #ddd; padding:7px; background:#fff; box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -moz-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06); -webkit-box-shadow:0px 2px 6px rgba(0, 0, 0, 0.06)">
  807. <askk>{Asker}</askk>: {Question}</div>
  808. <div style="font-family:calibri; font-size:10px">{Answer}</div>
  809. {/block:Answer}
  810.  
  811. {block:PermalinkPage}
  812. <center><br>
  813. {block:Date}posted <u>{DayOfWeek}</u>{/block:Date} {block:NoteCount}with {NoteCount} notes<br>{/block:NoteCount}
  814. {block:RebloggedFrom}<b>source:</b> <a href="{ReblogRootURL}">{ReblogRootName}</a> | <b>of:</b> <a href="{ReblogParentURL}">{ReblogParentName}</a><br>{/block:RebloggedFrom}
  815. {block:NoteCount} <div style="text-align:center; margin:5px"></div>{/block:NoteCount}</center>
  816. {/block:PermalinkPage}
  817. {block:PostNotes}
  818. <div id="postnotes">{PostNotes}</div>
  819. {/block:PostNotes}</div>{/block:Posts}
  820. </div></div>
  821.  
  822. {block:indexpage}
  823. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  824. <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js"></script>
  825. <script type="text/javascript" src="http://static.tumblr.com/bswe8t6/UFVlryaq2/jquerymsnryv2.js"></script>
  826. <script type="text/javascript">
  827. $(window).load(function(){
  828. var $wall = $('#posts');
  829. $wall.imagesLoaded(function(){
  830. $wall.masonry({
  831. itemSelector: '#entry, #entry_photo',
  832. isAnimated : false
  833. });
  834. });
  835.  
  836. $wall.infinitescroll({
  837. navSelector : '#page-nav',
  838. nextSelector : '#page-nav a',
  839. itemSelector : '#entry, #entry_photo',
  840. bufferPx : 2000,
  841. debug : false,
  842. errorCallback: function() {
  843. $('#infscr-loading').fadeOut('normal');
  844. }},
  845. function( newElements ) {
  846. var $newElems = $( newElements );
  847. $newElems.hide();
  848. $newElems.imagesLoaded(function(){
  849. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  850. });
  851. }); $('#content').show(500);
  852. });
  853. </script>
  854. {/block:indexpage}
  855.  
  856. <body onkeydown="return false">
  857. </body>
  858.  
  859. <div style="z-index:99999999999; position:fixed; text-shadow:1px 1px 2px #000; font-family:cambri; background:transparent; border:1px solid {color:Hisatitle}; padding:3px; top:30px; right:10px; opacity:.9"><a href="http://elegancethemes.tumblr.com/" title="Tana made this wonderful theme!">Elegance</a></div>
  860.  
  861. <div style="z-index:99999999999; position:fixed; bottom:3px; right:10px; opacity:.1"><a href="http://hisabeel.tumblr.com" title="Hisabeel made this base code"><img src="https://cdn3.iconfinder.com/data/icons/linecons-free-vector-icons-pack/32/diamond-128.png" width="24"></a></div>
  862. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement