enchantingly

Revamp: Theme 03 - Enchanted 2.0

Dec 29th, 2013
1,179
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 24.08 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3.  
  4. <!--
  5. Theme 03 Revamp - "Enchanted 2.0" by Elowen (theghostoflove.tumblr.com)
  6.  
  7. Credit stays intact, please. If you get stuck, feel free to message me! Comments and suggestions are welcome.
  8. -->
  9.  
  10. <head>
  11.  
  12. <title>{Title}</title>
  13. <link rel="shortcut icon" href="{Favicon}">
  14. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  15. {block:Description}<meta name="description" content="{MetaDescription}">{/block:Description}
  16.  
  17. <meta name="color:Ask And Link Bg" content="#fec3a2">
  18. <meta name="color:Background"content="#ffcaac">
  19. <meta name="color:Body"content="#b61c1c">
  20. <meta name="color:Border"content="#a70a0a">
  21. <meta name="color:Chat1" content="#ffc7a8">
  22. <meta name="color:Chat2" content="#ffb085">
  23. <meta name="color:Description" content="#a70a0a">
  24. <meta name="color:Entries"content="#b6131f">
  25. <meta name="color:Link"content="#a50b0b">
  26. <meta name="color:Link Hover"content="#f8cdcd">
  27. <meta name="color:Links Bg" content="#ffcaac">
  28. <meta name="color:Links Bg Hover"content="#e96d6d">
  29. <meta name="color:Mouse Trail" content="#fd0808">
  30. <meta name="color:Navigation Bg" content="#c21010">
  31. <meta name="color:Post"content="#fcb68f">
  32. <meta name="color:Scroll" content="#db6363">
  33. <meta name="color:Scroll BG" content="#a70a0a">
  34. <meta name="color:Sidebar"content="#ca5858">
  35. <meta name="color:Title"content="#a70a0a">
  36. <meta name="color:Text1" content="#b61c1c">
  37. <meta name="color:Text2" content="#a70a0a">
  38.  
  39. <meta name="if:Cursive Fonts" content="1">
  40. <meta name="if:Energy Save" content="1">
  41. <meta name="if:Infinite Scroll" content="0">
  42. <meta name="if:Posts 400" content="0">
  43. <meta name="if:Repeat Background" content="1">
  44. <meta name="if:Show Tags" content="1">
  45. <meta name="if:Trailing Mouse" content="1">
  46.  
  47. <meta name="image:Background"content="">
  48. <meta name="image:Sidebar Bg"content="https://static.tumblr.com/15bcd292b714a01cd69a752f31b01fd4/ougxdjo/9qtmr9khb/tumblr_static_pattern4.png">
  49. <meta name="image:Sidebar"content="">
  50.  
  51. <meta name="text:Link1" content="">
  52. <meta name="text:Link1URL" content="http://">
  53. <meta name="text:Link2" content="">
  54. <meta name="text:Link2URL" content="http://">
  55. <meta name="text:Link3" content="">
  56. <meta name="text:Link3URL" content="http://">
  57. <meta name="text:Link4" content="">
  58. <meta name="text:Link4URL" content="http://">
  59. <meta name="text:Link5" content="">
  60. <meta name="text:Link5URL" content="http://">
  61. <meta name="text:Link6" content="">
  62. <meta name="text:Link6URL" content="http://">
  63. <meta name="text:Link7" content="">
  64. <meta name="text:Link7URL" content="http://">
  65.  
  66. <meta name="text:Text1" content="it was">
  67. <meta name="text:Text2" content="enchanting">
  68. <meta name="text:Text3" content="to meet you">
  69. <meta name="text:Text1 size" content="15px">
  70. <meta name="text:Text2 size" content="30px">
  71. <meta name="text:Text3 size" content="15px">
  72. <meta name="text:Text bg width" content="230px">
  73.  
  74. <style type="text/css">
  75.  
  76. {block:PermalinkPage}
  77. iframe#tumblr_controls {
  78. text-align:center;
  79. height:200px;
  80. width:140px;
  81. top:0px;
  82. right:0px!important;
  83. position:fixed !important;
  84. }
  85. {/block:PermalinkPage}
  86.  
  87. body {
  88. text-align:justify;
  89. font-family:georgia;
  90. font-size:11px;
  91. color:{color:body};
  92. background:{color:background} url('{image:Background}');
  93. background-attachment:fixed;
  94. background-repeat: {block:IfNotRepeatBackground}no-repeat{/block:IfNotRepeatBackground};
  95. overflow-x:hidden;
  96. }
  97.  
  98. h1 /**FIRST LINE OF QUOTE**/ {font-family:Cambria;font-size:{text:text1 size};text-align:left;line-height:90%;letter-spacing:1px;padding:6px;color:{color:text1}}
  99. h2 /** SECOND LINE OF QUOTE **/ {margin:-5px 0px 0px 0px;font-family: 'Montez', cursive;font-size:{text:text2 size};text-align:center;letter-spacing:1px;padding:6px;font-style:italic; color:{color:text2}}
  100. h3 /** THIRD LINE **/ {font-family:Cambria;color:{color:text1};font-size:{text:text3 size}; text-align:right; letter-spacing:1px; margin-top:0px;}
  101.  
  102. blockquote {border-left:2px solid {color:border}; padding-left:5px; margin:2px 2px 0px 10px}
  103.  
  104. ::-webkit-scrollbar {width:8px; height:auto; background:{color:scroll bg}}::-webkit-scrollbar-corner {background:{color:scroll}}
  105. ::-webkit-scrollbar-thumb:vertical {background:{color:scroll}}
  106. ::-webkit-scrollbar-thumb:horizontal {background:{color:scroll}}
  107.  
  108. ::selection {color:{color:post};background-color: {color:body}}
  109. ::-moz-selection {color:{color:post};background-color: {color:body}}::-webkit-selection {color:{color:post};background-color:{color:body}}
  110.  
  111. a {color:{color:link};text-decoration:none;-moz-transition-duration:0.5s;-webkit-transition-duration:0.5s;-o-transition-duration:0.5s;}
  112. a:hover {color:{color:link hover};}
  113.  
  114. #sidebar {
  115. top:0px;
  116. left:0px;
  117. position:fixed;
  118. width:300px;
  119. height:100%;
  120. background-color:{color:sidebar};
  121. background-image:url('{image:Sidebar Bg}');
  122. background-attachment:fixed;
  123. background-position:bottom left;
  124. background-repeat: {block:IfNotRepeatBackground}no-repeat{/block:IfNotRepeatBackground};
  125. }
  126.  
  127. #sidebar img {
  128. margin:20px 0px 0px 0px;
  129. width:250px;
  130. }
  131.  
  132. #title {
  133. margin:30px 0px 0px 0px;
  134. font-family: 'Montez';
  135. font-weight:normal;
  136. text-align:center;
  137. font-size:40px;
  138. color:{color:Title};
  139. line-height:95%;
  140. }
  141. #title a {color:{color:Title}}
  142.  
  143. #description {
  144. color:{color:description};
  145. font-size:11px;
  146. text-align:justify;
  147. width:240px;
  148. margin:10px 0px 0px 30px;
  149. }
  150.  
  151. .pagi {
  152. display:block;
  153. text-align:center;
  154. width:240px;
  155. font-size:30px;
  156. }
  157.  
  158. #entries {
  159. margin-left:350px;
  160. border-left:10px solid {color:entries};
  161. border-right:10px solid {color:entries};
  162. border-top:0px solid {color:entries};
  163. border-bottom:0px solid {color:entries};
  164. padding:5px;
  165. position:absolute;
  166. background-color:{color:entries};
  167. {block:ifPosts400}width:420px;{/block:ifPosts400}
  168. {block:ifNotPosts400}width:520px;{/block:ifNotPosts400}
  169. }
  170.  
  171. #post{
  172. margin:20px 0px;
  173. padding:10px;
  174. background-color:{color:post};
  175. {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
  176. {block:ifPosts400}width:400px;{/block:ifPosts400}
  177. }
  178.  
  179. #tagpage {
  180. font-family: 'Garamond';
  181. font-size:20px;
  182. text-align:center;
  183. line-height:95%;
  184. letter-spacing:1px;
  185. font-weight:bold;
  186. margin:10px;
  187. padding:10px;
  188. float:left;
  189. background-color:{color:post};
  190. {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
  191. {block:ifPosts400}width:400px;{/block:ifPosts400}
  192. }
  193.  
  194. #info {
  195. text-align:center;
  196. font-size:10px;
  197. margin-top:15px;
  198. padding:3px;
  199. border-top:1px solid {color:border};
  200. border-bottom:1px solid {color:border};
  201. outline-offset:4px;
  202. {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
  203. {block:ifPosts400}width:400px;{/block:ifPosts400}
  204. }
  205.  
  206. #tags {
  207. text-align:center;
  208. font-size:10px;
  209. padding:3px;
  210. outline-offset:4px;
  211. {block:ifNotPosts400}width:500px;{/block:ifNotPosts400}
  212. {block:ifPosts400}width:400px;{/block:ifPosts400}
  213. }
  214.  
  215. .note {
  216. text-transform:normal;
  217. font-style:normal;
  218. letter-spacing:0px;
  219. font-size: 10px;
  220. text-align:left;
  221. line-height:10%;
  222. margin-left:-40px;
  223. }
  224.  
  225. .note li {
  226. list-style-type:none;
  227. padding:10px 25px 10px 25px;
  228. text-align:left;
  229. margin:0px;
  230. -moz-transition-duration:0.5s;
  231. -webkit-transition-duration:0.5s;
  232. -o-transition-duration:0.5s;
  233. }
  234.  
  235. #navigation {
  236. top:0px;
  237. {block:ifNotPosts400}left:940px;{/block:ifNotPosts400}
  238. {block:ifPosts400}left:840px;{/block:ifPosts400}
  239. width:142px;
  240. position:fixed;
  241. background-color:{color:Navigation Bg};
  242. z-index:3;
  243. }
  244.  
  245. #navtitle {
  246. background-color:{color:navigation bg};
  247. height:20px;
  248. width:120px;
  249. font-size:9px;
  250. color:{color:link hover};
  251. font-family:georgia;
  252. text-align:center;
  253. letter-spacing:3px;
  254. padding:11px;
  255. line-height:20px;
  256. position:fixed;
  257. z-index:3;
  258. }
  259.  
  260. #navigation:hover #links {z-index:5; opacity:1; padding-top:300px;}
  261.  
  262. #links {
  263. opacity:0;
  264. margin-top:-260px;
  265. -webkit-transition: all 1.3s ease-in-out;
  266. -moz-transition: all 1.3s ease-in-out;
  267. -o-transition: all 1.3s ease-in-out;
  268. -ms-transition: all 1.3s ease-in-out;
  269. transition: all 1.3s ease-in-out;
  270. }
  271. #links a {
  272. display:block;
  273. width:100px;
  274. height:25px;
  275. font-family:georgia;
  276. font-size:9px;
  277. text-align:center;
  278. letter-spacing:1px;
  279. border:1px solid {color:border};
  280. text-transform:lowercase;
  281. background-color:{color:links bg};
  282. margin-left:20px;
  283. line-height:25px;
  284. -webkit-transition: all 0.6s ease-in-out; -moz-transition: all 0.6s ease-in-out; -o-transition: all 0.6s ease-in-out;-ms-transition: all 0.6s ease-in-out; transition: all 0.6s ease-in-out;
  285. z-index:5;
  286. }
  287. #links a:hover {
  288. font-style:italic;
  289. border:1px solid {color:border};
  290. background-color:{color:links bg hover};
  291. }
  292.  
  293. #block {
  294. margin-top:180px;
  295. {block:ifNotPosts400}margin-left:1060px;{/block:ifNotPosts400}
  296. {block:ifPosts400}margin-left:960px;{/block:ifPosts400}
  297. width:{text:text bg width};
  298. height:100px;
  299. position:fixed;
  300. background-color:transparent;
  301. }
  302.  
  303. /**POST TYPES**/
  304.  
  305. #question {
  306. font-weight:normal;
  307. font-size:12px;
  308. letter-spacing:1px;
  309. padding:10px;
  310. background-color:{color:Ask And Link BG};
  311. -moz-border-radius-topright: 10px; -moz-border-radius-bottomright: 10px; -moz-border-radius-bottomleft: 10px; -webkit-border-radius: 10px 10px 10px 10px; border-radius: 10px 10px 10px 10px;
  312. }
  313.  
  314. #triangle {
  315. font-size:45px;
  316. margin-top:-20px;
  317. margin-left:18px;
  318. color:{color:Ask And Link BG}
  319. }
  320.  
  321. #asker {
  322. text-align: left;
  323. font-size:13px;
  324. letter-spacing:1px;
  325. padding-bottom:10px;
  326. margin-top:-20px;
  327. }
  328.  
  329. #asker img {
  330. vertical-align:left;
  331. float:left;
  332. margin-left:60px;
  333. margin-right:10px;
  334. margin-top:-10px;
  335. border:2px solid {color:Border};
  336. }
  337.  
  338. #linkposts {
  339. margin-bottom:5px;
  340. padding-bottom:10px;
  341. padding-top:10px;
  342. font-family:book antiqua;
  343. font-size:16px;
  344. border:2px dotted {color:Border};
  345. background-color:{color:Ask And Link BG}
  346. }
  347.  
  348. .album {position:absolute; margin-top:0px; {block:ifnotposts400}width:100px; height:100px;{/block:ifnotposts400} {block:ifposts400}width:75px; height:75px; {/block:ifposts400}}
  349. .album img {{block:ifnotposts400}width:100px; height:100px;{/block:ifnotposts400} {block:ifposts400}width:75px; height:75px; {/block:ifposts400}}
  350. .audio {display:block; position:absolute; width:100px; height:425px; {block:ifnotposts400}margin-left:148px;{/block:ifnotposts400} {block:ifposts400}margin-left:85px;{/block:ifposts400}}
  351. .audiobox {height:100px;z-index:-1; margin-left:100px;}
  352. .audiotext {text-align:center; padding-top:50px; max-width:200px;overflow:hidden;font-family:cambria;{block:ifPosts400}width:400px;{/block:ifPosts400} {block:ifnotPosts400}width:500px;{/block:ifnotPosts400} }
  353. .pc {padding: 8px 13px;height: 13px;float: right;font-family:cambria;font-size: 12px;text-transform: lowercase;z-index:-1}
  354. .pc a {text-decoration: none;}
  355.  
  356. .chat {border-left: 5px solid {color:border};margin: 3px 3px 0 3px;font-size: 11px;font-family:georgia;}
  357. .chat .lines {margin-left: 1px;}
  358. .chat .lines .line {background-color: {color:chat1};margin-bottom: 1px;padding: 3px 5px;}
  359. .chat .lines .line.even {background-color: {color:chat2}; }
  360.  
  361. #texttitle {
  362. {block:ifCursiveFonts}font-family: 'Cookie';
  363. font-size:24px;
  364. text-align:center;
  365. padding:6px;{/block:ifCursiveFonts}
  366. {block:ifNotCursiveFonts}font-family: 'Garamond';
  367. font-size:18px;
  368. text-align:center;
  369. line-height:95%;
  370. padding:4px;
  371. font-weight:bold;
  372. margin:0px{/block:ifNotCursiveFonts}
  373. }
  374.  
  375. #quotesource {
  376. {block:ifCursiveFonts}font-family: 'Pacifico';
  377. font-size:14px;
  378. text-align:right;
  379. line-height:95%;
  380. padding:6px;
  381. font-weight:normal;{/block:ifCursiveFonts}
  382. {block:ifNotCursiveFonts}font-family: 'Garamond';
  383. font-size:16px;
  384. text-align:right;
  385. line-height:95%;
  386. padding:4px;
  387. font-weight:bold;
  388. margin:0px{/block:ifNotCursiveFonts}
  389. }
  390.  
  391. #quote {
  392. margin:5px 0px;
  393. font-family:Garamond;
  394. font-size:18px;
  395. text-align:center;
  396. line-height:90%;
  397. letter-spacing:1px;
  398. }
  399.  
  400. #s-m-t-tooltip {
  401. padding:5px 10px 5px 10px;
  402. margin:20px 14px 7px 10px;
  403. border:1px solid {color:border};
  404. background-color:{color:Body};
  405. font-family:georgia;
  406. font-style: normal;
  407. font-size:9px;
  408. letter-spacing:1px;
  409. color:{color:Post};
  410. z-index:99999999;
  411. }
  412.  
  413. #credit {
  414. z-index:99999999999;
  415. font-weight:bold;
  416. text-align:center;
  417. font-size:14px;
  418. font-family:'Montez';
  419. position:fixed;
  420. bottom:5px;
  421. right:5px;
  422. }
  423. #credit a {
  424. display:inline-block;
  425. height:20px;
  426. width:20px;
  427. background-color:{color:Post};
  428. color:{color:body};
  429. }
  430. #credit a:hover {
  431. background-color:{color:body};
  432. color:{color:Post};
  433. }
  434.  
  435. {CustomCSS}</style>
  436.  
  437. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  438.  
  439. <script src="https://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  440.  
  441. <script>
  442. (function($){
  443. $(document).ready(function(){
  444. $("a[title]").style_my_tooltips({
  445. tip_follows_cursor:true,
  446. tip_delay_time:0,
  447. tip_fade_speed:0,
  448. attribute:"title"
  449. });
  450. });
  451. })(jQuery);
  452. </script>
  453.  
  454. <link href='https://fonts.googleapis.com/css?family=Montez|Cookie|Pacifico' rel='stylesheet' type='text/css'>
  455.  
  456. {block:ifInfiniteScroll}<script type="text/javascript" src="https://codysherman.tumblr.com/tools/infinite-scrolling/code"></script>{/block:ifInfiniteScroll}
  457.  
  458. {block:ifEnergySave}<script language="javascript" type="text/javascript" src="https://www.onlineleaf.com/savetheenvironment.js?time=120"></script>{/block:ifEnergySave}
  459.  
  460. </head>
  461. <body>
  462.  
  463. <div id="sidebar">
  464. <div id="title"><a href="/">{Title}</a></div>
  465. <center>{block:ifSidebarImage}
  466. <img src="{image:sidebar}">{/block:ifSidebarImage}</center>
  467. <div id="description">
  468. {block:Pagination}<div class="pagi">{block:PreviousPage}<a href="{PreviousPage}">«</a>{/block:PreviousPage}
  469. {block:NextPage}<a href="{NextPage}">»</a>{/block:NextPage}</div>{/block:Pagination}
  470. <br>
  471. {Description}
  472. </div>
  473. </div>
  474.  
  475. <div id="entries">
  476.  
  477. {block:TagPage}<div id="tagpage">
  478. Posts tagged "{Tag}"</div>
  479. {/block:TagPage}
  480.  
  481.  
  482. {block:ifInfiniteScroll}<div class = "autopagerize_page_element" >{/block:ifInfiniteScroll}
  483.  
  484. {block:Posts}
  485. <div id="post">
  486.  
  487. {block:Text}
  488. {block:Title}
  489. <div id="texttitle">{Title}</div>
  490. {/block:Title}
  491. {Body}
  492. {/block:Text}
  493.  
  494. {block:ifNotPosts400}
  495. {block:Photo}<center>{LinkOpenTag}
  496. <img src="{PhotoURL-500}" alt="{PhotoAlt}">
  497. {LinkCloseTag}</center>
  498. {block:Caption}{Caption}{/block:Caption}
  499. {/block:Photo}
  500. {/block:ifNotPosts400}
  501. {block:ifPosts400}
  502. {block:Photo}<center>{LinkOpenTag}
  503. <img src="{PhotoURL-400}" alt="{PhotoAlt}">
  504. {LinkCloseTag}</center>
  505. {block:Caption}{Caption}{/block:Caption}
  506. {/block:Photo}
  507. {/block:ifPosts400}
  508.  
  509. {block:ifNotPosts400}
  510. {block:Photoset}<center>{Photoset-500}</center>
  511. {block:Caption}{Caption}{/block:Caption}
  512. {/block:Photoset}
  513. {/block:ifNotPosts400}
  514. {block:ifPosts400}
  515. {block:Photoset}<center>{Photoset-400}</center>
  516. {block:Caption}{Caption}{/block:Caption}
  517. {/block:Photoset}
  518. {/block:ifPosts400}
  519.  
  520. {block:Quote}
  521. <div id="quote">“{Quote}”</div>
  522. {block:Source}<div id="quotesource">-{Source}</div>{/block:Source}
  523. {/block:Quote}
  524.  
  525. {block:ifNotPosts400}
  526. {block:Video}{Video-500}
  527. {block:Caption}{Caption}{/block:Caption}{/block:Video}
  528. {/block:ifNotPosts400}
  529. {block:ifPosts400}
  530. {block:Video}{Video-400}
  531. {block:Caption}{Caption}{/block:Caption}{/block:Video}
  532. {/block:ifPosts400}
  533.  
  534. {block:Link}<div id="linkposts">
  535. <a href="{URL}" class="link" {Target}>
  536. <center>{Name} →</center></a><BR>
  537. <center><small><small>{URL}</small></small></center>
  538. </div> <!--linkposts-->
  539. {block:Description}{Description}{/block:Description}
  540. {/block:Link}
  541.  
  542. {block:Chat}
  543. {block:Title}<div id="texttitle">{Title}</div>{/block:Title}
  544. <div class="chat">
  545. <div class="lines">
  546. {block:Lines}
  547. <div class="line {Alt}">
  548. {block:Label}<strong>{Label}</strong>{/block:Label}
  549. {Line}</div>
  550. {/block:Lines}
  551. </div>
  552. </div>
  553. {/block:Chat}
  554.  
  555. {block:Audio}
  556. {block:AlbumArt}
  557. <div class="album"><img src="{AlbumArtURL}"></div>
  558. {/block:AlbumArt}
  559. <div class="audio">{AudioPlayerWhite}</div>
  560. <div class="pc">
  561. {block:PlayCount}{PlayCountWithLabel}{/block:PlayCount}
  562. </div>
  563. <center><div class="audiobox">
  564. <div class="audiotext">{block:TrackName}
  565. <i><big><big>"{TrackName}"</big></i>{/block:TrackName}
  566. {block:Artist}<br>by {Artist}{/block:Artist}</big></div>
  567. </div></center>
  568. {block:Caption}{Caption}{/block:Caption}
  569. {/block:Audio}
  570.  
  571. {block:Answer}<div id="question">
  572. <big>{Question}</big></div>
  573. <div id="triangle">◥</div>
  574. <BR>
  575. <div id="asker">
  576. <img src="{AskerPortraitURL-30}">{Asker}</div><BR>
  577. {Answer}{/block:Answer}
  578.  
  579. {block:Date}
  580. <div id="info">
  581. <a href="{Permalink}">{TimeAgo}</a>
  582. {block:NoteCount} · <a href="{Permalink}">
  583. {NoteCountWithLabel} </a>{/block:NoteCount}
  584.  
  585. {block:RebloggedFrom}<a href="{ReblogParentURL}">
  586. · via {ReblogParentName}</a>
  587. {/block:RebloggedFrom}
  588.  
  589. {block:Reblog}<a href="{ReblogRootURL}">
  590. (©{ReblogRootName}</a>)
  591. {/block:Reblog}
  592.  
  593. · <a href="{ReblogURL}" target="_blank"> reblog</a>
  594. </div>{/block:Date}
  595.  
  596. <center>{block:ifShowTags}{block:HasTags} <div id="tags"> {block:Tags}<a href="{TagURL}">#{Tag} </a>{/block:Tags}</div> {/block:HasTags}{/block:IfShowTags}</center>
  597. <div class="note"> {block:PostNotes}{PostNotes}{/block:PostNotes}
  598. </div></div>
  599. {/block:Posts}</div> {block:ifInfiniteScroll}</div>{/block:ifInfiniteScroll}
  600.  
  601. <div id="navigation">
  602. <div id="navtitle">navigation</div>
  603. <div id="links">
  604. <a href="/">home</a>
  605. <a href="/ask">ask</a>
  606. {block:ifLink1}<a href="{text:Link1URL}">{text:Link1}</a>{/block:ifLink1}
  607. {block:ifLink2}<a href="{text:Link2URL}">{text:Link2}</a>{/block:ifLink2}
  608. {block:ifLink3}<a href="{text:Link3URL}">{text:Link3}</a>{/block:ifLink3}
  609. {block:ifLink4}<a href="{text:Link4URL}">{text:Link4}</a>{/block:ifLink4}
  610. {block:ifLink5}<a href="{text:Link5URL}">{text:Link5}</a>{/block:ifLink5}
  611. {block:ifLink6}<a href="{text:Link6URL}">{text:Link6}</a>{/block:ifLink6}
  612. {block:ifLink7}<a href="{text:Link7URL}">{text:Link7}</a>{/block:ifLink7}
  613. <a href="/archive">archive</a><BR>
  614. </div></div>
  615.  
  616. <div id="block"><h1>{text:text1}</h1>
  617. <h2>{text:text2}</h2>
  618. <h3>{text:text3}</h3></div>
  619.  
  620. <div id="credit"><a href="https://theghostoflove.tumblr.com">E</a></div>
  621.  
  622. </body>
  623.  
  624. <!---START OF SPARKLING MOUSE TRAIL--->
  625.  
  626. {block:ifTrailingMouse}<script type="text/javascript">
  627. // <![CDATA[
  628. var colour="{color:mouse trail}";
  629. var sparkles=120;
  630.  
  631. /****************************
  632. * Tinkerbell Magic Sparkle *
  633. * (c) 2005 mf2fm web-design *
  634. * https://www.mf2fm.com/rv *
  635. * DON'T EDIT BELOW THIS BOX *
  636. ****************************/
  637. var x=ox=400;
  638. var y=oy=300;
  639. var swide=800;
  640. var shigh=600;
  641. var sleft=sdown=0;
  642. var tiny=new Array();
  643. var star=new Array();
  644. var starv=new Array();
  645. var starx=new Array();
  646. var stary=new Array();
  647. var tinyx=new Array();
  648. var tinyy=new Array();
  649. var tinyv=new Array();
  650.  
  651. window.onload=function() { if (document.getElementById) {
  652. var i, rats, rlef, rdow;
  653. for (var i=0; i<sparkles; i++) {
  654. var rats=createDiv(3, 3);
  655. rats.style.visibility="hidden";
  656. document.body.appendChild(tiny[i]=rats);
  657. starv[i]=0;
  658. tinyv[i]=0;
  659. var rats=createDiv(5, 5);
  660. rats.style.backgroundColor="transparent";
  661. rats.style.visibility="hidden";
  662. var rlef=createDiv(1, 5);
  663. var rdow=createDiv(5, 1);
  664. rats.appendChild(rlef);
  665. rats.appendChild(rdow);
  666. rlef.style.top="2px";
  667. rlef.style.left="0px";
  668. rdow.style.top="0px";
  669. rdow.style.left="2px";
  670. document.body.appendChild(star[i]=rats);
  671. }
  672. set_width();
  673. sparkle();
  674. }}
  675.  
  676. function sparkle() {
  677. var c;
  678. if (x!=ox || y!=oy) {
  679. ox=x;
  680. oy=y;
  681. for (c=0; c<sparkles; c++) if (!starv[c]) {
  682. star[c].style.left=(starx[c]=x)+"px";
  683. star[c].style.top=(stary[c]=y)+"px";
  684. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  685. star[c].style.visibility="visible";
  686. starv[c]=50;
  687. break;
  688. }
  689. }
  690. for (c=0; c<sparkles; c++) {
  691. if (starv[c]) update_star(c);
  692. if (tinyv[c]) update_tiny(c);
  693. }
  694. setTimeout("sparkle()", 40);
  695. }
  696.  
  697. function update_star(i) {
  698. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  699. if (starv[i]) {
  700. stary[i]+=1+Math.random()*3;
  701. if (stary[i]<shigh+sdown) {
  702. star[i].style.top=stary[i]+"px";
  703. starx[i]+=(i%5-2)/5;
  704. star[i].style.left=starx[i]+"px";
  705. }
  706. else {
  707. star[i].style.visibility="hidden";
  708. starv[i]=0;
  709. return;
  710. }
  711. }
  712. else {
  713. tinyv[i]=50;
  714. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  715. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  716. tiny[i].style.width="2px";
  717. tiny[i].style.height="2px";
  718. star[i].style.visibility="hidden";
  719. tiny[i].style.visibility="visible"
  720. }
  721. }
  722.  
  723. function update_tiny(i) {
  724. if (--tinyv[i]==25) {
  725. tiny[i].style.width="1px";
  726. tiny[i].style.height="1px";
  727. }
  728. if (tinyv[i]) {
  729. tinyy[i]+=1+Math.random()*3;
  730. if (tinyy[i]<shigh+sdown) {
  731. tiny[i].style.top=tinyy[i]+"px";
  732. tinyx[i]+=(i%5-2)/5;
  733. tiny[i].style.left=tinyx[i]+"px";
  734. }
  735. else {
  736. tiny[i].style.visibility="hidden";
  737. tinyv[i]=0;
  738. return;
  739. }
  740. }
  741. else tiny[i].style.visibility="hidden";
  742. }
  743.  
  744. document.onmousemove=mouse;
  745. function mouse(e) {
  746. set_scroll();
  747. y=(e)?e.pageY:event.y+sdown;
  748. x=(e)?e.pageX:event.x+sleft;
  749. }
  750.  
  751. function set_scroll() {
  752. if (typeof(self.pageYOffset)=="number") {
  753. sdown=self.pageYOffset;
  754. sleft=self.pageXOffset;
  755. }
  756. else if (document.body.scrollTop || document.body.scrollLeft) {
  757. sdown=document.body.scrollTop;
  758. sleft=document.body.scrollLeft;
  759. }
  760. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  761. sleft=document.documentElement.scrollLeft;
  762. sdown=document.documentElement.scrollTop;
  763. }
  764. else {
  765. sdown=0;
  766. sleft=0;
  767. }
  768. }
  769.  
  770. window.onresize=set_width;
  771. function set_width() {
  772. if (typeof(self.innerWidth)=="number") {
  773. swide=self.innerWidth;
  774. shigh=self.innerHeight;
  775. }
  776. else if (document.documentElement && document.documentElement.clientWidth) {
  777. swide=document.documentElement.clientWidth;
  778. shigh=document.documentElement.clientHeight;
  779. }
  780. else if (document.body.clientWidth) {
  781. swide=document.body.clientWidth;
  782. shigh=document.body.clientHeight;
  783. }
  784. }
  785.  
  786. function createDiv(height, width) {
  787. var div=document.createElement("div");
  788. div.style.position="absolute";
  789. div.style.height=height+"px";
  790. div.style.width=width+"px";
  791. div.style.overflow="hidden";
  792. div.style.backgroundColor=colour;
  793. return (div);
  794. }
  795. // ]]>
  796. </script>{/block:ifTrailingMouse}
  797. <!---END OF SPARKLING MOUSE TRAIL--->
  798.  
  799. </html>
Advertisement
Add Comment
Please, Sign In to add comment