Advertisement
hor4ny

"Wonderstruck" theme - twistedmiracles

Oct 27th, 2012
820
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.54 KB | None | 0 0
  1. <!--
  2. "Wonderstruck" theme by twistedmiracles.
  3. Keep credit or put it in your FAQ. Please and thank you!
  4.  
  5. **For this theme, only write ONE line of text for the description or else it won't look good!!
  6.  
  7.  
  8.  
  9. IF YOU USE THIS THEME AS A BASECODE, PLEASE ASK ME BEFORE PUBLISHING! I'LL KNOW IF YOU USE MY THEME BECAUSE OF THE PERMALINK.
  10. -->
  11. <html lang="en">
  12. <!DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  13. <html xmlns="http://www.w3.org/1999/xhtml">
  14. <head>
  15.  
  16.  
  17. <script type="text/javascript">
  18. <!--
  19.  
  20. // Disable Right Click Script
  21.  
  22. function IE(e)
  23. {
  24. if (navigator.appName == "Microsoft Internet Explorer" && (event.button == "2" || event.button == "3"))
  25. {
  26. return false;
  27. }
  28. }
  29. function NS(e)
  30. {
  31. if (document.layers || (document.getElementById && !document.all))
  32. {
  33. if (e.which == "2" || e.which == "3")
  34. {
  35. return false;
  36. }
  37. }
  38. }
  39. document.onmousedown=IE;document.onmouseup=NS;document.oncontextmenu=new Function("return false");
  40.  
  41. //-->
  42. </script>
  43.  
  44.  
  45. <script type="text/javascript"
  46. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  47.  
  48. <!-- DEFAULT VARIABLES -->
  49. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  50. <meta name="color:background" content="#fff"/>
  51. <meta name="color:link" content="#777"/>
  52. <meta name="color:text" content="#777"/>
  53. <meta name="color:title" content="#333"/>
  54. <meta name="color:hover" content="#fff"/>
  55. <meta name="color:blogtitle" content="#777" />
  56. <meta name="color:scrollbar" content="#bbb" />
  57. <meta name="color:borders" content="#eee"/>
  58. <meta name="image:sidebar" content=""/>
  59. <meta name="image:background" content="1"/>
  60. <meta name="text:blogtitle size" content="21"/>
  61. <meta name="text:link one" content="" />
  62. <meta name="text:link one title" content="" />
  63. <meta name="text:link two" content="" />
  64. <meta name="text:link two title" content="" />
  65. <meta name="text:link three" content="" />
  66. <meta name="text:link three title" content="" />
  67. <meta name="text:link four" content="" />
  68. <meta name="text:link four title" content="" />
  69. <meta name="text:link five" content="" />
  70. <meta name="text:link five title" content="" />
  71. <meta name="text:link separation" content="&middot;"/>
  72. <link href='http://fonts.googleapis.com/css?family=League+Script|Codystar' rel='stylesheet' type='text/css'>
  73. <style type="text/css">
  74.  
  75.  
  76. ::-webkit-scrollbar {width: 4px; height: 4px; border-left:0px solid #ccc; background-color:{color:background};background-image:url({image:background});}
  77. ::-webkit-scrollbar-thumb {background: {color:scrollbar};}
  78.  
  79.  
  80. iframe#tumblr_controls {right:2px !important; position: fixed !important;-webkit-transition: opacity 0.7s linear;opacity: 0.2;-webkit-transition: all 0.8s ease-out;-moz-
  81.  
  82. transition: all 0.8s ease-out;transition: all 0.8s ease-out;}
  83.  
  84. iframe#tumblr_controls:hover{-webkit-transition: opacity 0.7s linear;opacity:1;-webkit-transition: all 0.4s ease-out;-moz-transition: all 0.4s ease-out;transition: all 0.4s ease-out;}
  85.  
  86. p {
  87. margin:0px;
  88. margin-top:0px;
  89. }
  90.  
  91.  
  92. ::selection {
  93. background: #ffffff;
  94. color: #ffffff;
  95. }
  96.  
  97. ::-moz-selection {
  98. background: #ffffff;
  99. color: #ffffff;
  100. }
  101.  
  102.  
  103. body {
  104. padding: 0px;
  105. margin: 0px;
  106. color:{color:text};
  107. font-family: dixel;
  108. line-height:7px;
  109. font-size:8px;
  110. background-color: {color:Background};
  111. background-image:url({image:Background});
  112. background-attachment: fixed;
  113. background-repeat: repeat;
  114. }
  115.  
  116.  
  117. a:link, a:active, a:visited{
  118. text-decoration: none;
  119. -webkit-transition: color 0.3s ease-out;
  120. -moz-transition: color 0.3s ease-out;
  121. transition: color 0.3s ease-out;
  122. color:{color:link};
  123. }
  124.  
  125. a:hover {
  126. text-decoration: none;
  127. font-style:;
  128. text-shadow:0px 0px 2px #000;
  129. color: {color:Hover};
  130. }
  131.  
  132. askname{
  133. font-family:jenna;
  134. font-size:13px;
  135. z-index:1;
  136. }
  137.  
  138. div#center{
  139. margin:auto;
  140. position:relative;
  141. width:1000px;
  142. background-color:;
  143. overflow:auto;
  144. overflow-y:hidden;
  145. }
  146.  
  147. .entry {
  148. float:left;
  149. display: block;
  150. margin:3px;
  151. line-height:7px;
  152. padding:5px;
  153. border:2px solid {color:borders};
  154. overflow:hidden;
  155. width:200px;
  156. opacity:0.85;
  157. z-index:9;
  158. {block:PermalinkPage}
  159. width:418px;
  160. text-align:left;
  161. line-height:10px;
  162. {/block:PermalinkPage}
  163. background:white;
  164. background-image:URL();
  165. -webkit-transition: all .7s ease;
  166. -moz-transition: all .7s ease;
  167. -o-transition: all .7s ease;
  168. transition: all .7s ease;
  169. }
  170.  
  171. .entry:hover{
  172. opacity:1;}
  173.  
  174. .entry .perma a{
  175. color:#444;}
  176.  
  177. .entry .perma a:hover {
  178. text-decoration: none;
  179. font-style:;
  180. text-shadow:0px 0px 2px #000;
  181. color: {color:Hover};
  182. }
  183.  
  184. .entry .perma{
  185. width:38px;
  186. height:30px;
  187. position: absolute;
  188. line-height: 33px;
  189. overflow:hidden;
  190. font-family:dixel;
  191. text-align:left;
  192. padding-left:4px;
  193. font-size:8px;
  194. left:-50px;
  195. bottom:5px;
  196. border-right:1px solid #f2f2f2;
  197. border-top:1px solid #f2f2f2;
  198. background:white;
  199. letter-spacing: 0px;
  200. opacity: 0.0;
  201. -webkit-transition: all .7s ease;
  202. -moz-transition: all .7s ease;
  203. -o-transition: all .7s ease;
  204. transition: all .7s ease;
  205. border-top-right-radius:90px;
  206. -moz-border-top-right-radius:90px;
  207. -webkit-border-top-right-radius:90px;
  208.  
  209. }
  210.  
  211. .entry:hover .perma{
  212. margin-left: 0px;
  213. left:5px;
  214. overflow:visible;
  215. opacity:0.85;
  216. }
  217.  
  218. .entry .perma2 a{
  219. color:#444;}
  220.  
  221. .entry .perma2 a:hover {
  222. text-decoration: none;
  223. font-style:;
  224. text-shadow:0px 0px 2px #000;
  225. color: {color:Hover};
  226. }
  227.  
  228. .entry .perma2{
  229. width:auto;
  230. height:30px;
  231. position: absolute;
  232. line-height: 28px;
  233. overflow:hidden;
  234. font-family:dixel;
  235. text-align:center;
  236. padding-left:20px;
  237. padding-right:10px;
  238. font-size:8px;
  239. right:-50px;
  240. top:5px;
  241. border-left:1px solid #f2f2f2;
  242. border-bottom:1px solid #f2f2f2;
  243. background:white;
  244. letter-spacing: 0px;
  245. opacity: 0.0;
  246. -webkit-transition: all .7s ease;
  247. -moz-transition: all .7s ease;
  248. -o-transition: all .7s ease;
  249. transition: all .7s ease;
  250. border-bottom-left-radius:90px;
  251. -moz-border-bottom-left-radius:90px;
  252. -webkit-border-bottom-left-radius:90px;}
  253.  
  254. .entry:hover .perma2{
  255. margin-left: 0px;
  256. right:5px;
  257. overflow:visible;
  258. opacity:0.85;
  259. -webkit-transition: all .7s ease;
  260. -moz-transition: all .7s ease;
  261. -o-transition: all .7s ease;
  262. transition: all .7s ease;
  263. }
  264.  
  265. #posts {
  266.  
  267. width:440px;
  268. margin-top:1px;
  269. z-index:99;
  270. margin-left:183px;
  271. right:auto;
  272. background:transparent;
  273. margin-right:auto;
  274. position:relative;
  275. overflow-y: hidden;
  276. }
  277.  
  278.  
  279. #sidebar{
  280. position:fixed !important;
  281. width:180px;
  282. background:white;
  283. height:100%;
  284. padding:5px;
  285. margin-top:4px;
  286. padding-top:140px;
  287. margin-left:626px;
  288. text-align:center;
  289. line-height:8px;
  290. opacity:0.85;
  291. border:2px solid {color:borders};
  292. -webkit-transition: all .7s ease;
  293. -moz-transition: all .7s ease;
  294. -o-transition: all .7s ease;
  295. transition: all .7s ease;
  296. }
  297.  
  298.  
  299. #sidebar:hover{
  300. opacity:1;
  301. }
  302.  
  303. #desc{
  304. position:fixed;
  305. width:180px;
  306. height:10px;
  307. margin-left:-5px;
  308. margin-top:4px;
  309. line-height:9px;
  310. overflow:hidden;
  311. padding:5px;
  312. background:white;
  313. border-top:1px dotted #ddd;
  314. border-bottom:1px dotted #ddd;
  315. -webkit-transition: all .7s ease;
  316. -moz-transition: all .7s ease;
  317. -o-transition: all .7s ease;
  318. transition: all .7s ease;
  319. }
  320.  
  321.  
  322.  
  323. #links{
  324. width:180px;
  325. height:10px;
  326. background:white;
  327. margin-top:0px;
  328. position:fixed;
  329. opacity:0;
  330. -webkit-transition: all .7s ease;
  331. -moz-transition: all .7s ease;
  332. -o-transition: all .7s ease;
  333. transition: all .7s ease;
  334. }
  335.  
  336. #sidebar:hover #links{
  337. opacity:1;
  338. }
  339.  
  340. #sidebarpic{
  341. width:180px;
  342. -webkit-transition: all .7s ease;
  343. -moz-transition: all .7s ease;
  344. -o-transition: all .7s ease;
  345. transition: all .7s ease;
  346. }
  347.  
  348. #sidebarpic img{
  349. width:180px;
  350. }
  351.  
  352. #sidebar:hover #sidebarpic{
  353. -webkit-filter:grayscale(100%);
  354. }
  355.  
  356.  
  357. @font-face {
  358. font-family: "jenna";
  359. src: url('http://static.tumblr.com/jdjsstr/W6qm7fotz/simpleronde-regular_1_.ttf');
  360. }
  361.  
  362. .title{
  363. font-family:codystar;
  364. font-size: 17px;
  365. line-height: 17px;
  366. color:{color:Title};
  367. text-transform:lowercase;
  368. letter-spacing: 0px;
  369. font-weight: normal;
  370. padding:0px 0px 0px 0px;
  371. }
  372.  
  373.  
  374. @font-face { font-family: "dixel"; src: url('http://static.tumblr.com/jdjsstr/8ovm78cbb/pf_arma_five_1_.ttf'); }
  375.  
  376. #blogtitle{
  377. color:{color:blogtitle};
  378. width:180px;
  379. z-index:999;
  380. letter-spacing:0px;
  381. margin-left:0px;
  382. margin-top:-26px;
  383. position:fixed;
  384. font-family:codystar;
  385. font-size:{text:blogtitle size}px;
  386. text-transform:;
  387. line-height:27px;
  388. letter-spacing:0px;
  389. text-align:center;
  390. -webkit-transform: rotate(0deg);
  391. -moz-transform: rotate(0deg);
  392.  
  393. }
  394.  
  395. .permalink{
  396. text-transform: normal;
  397. display: block;
  398. text-align: right;
  399. text-decoration: none;
  400. }
  401.  
  402. #infscr-loading{
  403. bottom: -70px;
  404. position: absolute;
  405. left: 50%;
  406. margin-left:-8px;
  407. width:16px;
  408. height:11px;
  409. overflow:hidden;
  410. margin-bottom: 50px;
  411. }
  412.  
  413. #postnotes{
  414. text-align: justify;}
  415.  
  416. #postnotes blockquote{
  417. border: 0px;}
  418.  
  419. blockquote{
  420. padding:0px 0px 2px 5px;
  421. margin:0px 0px 2px 10px;
  422. border-left: 1px dotted #555555;
  423. }
  424.  
  425. blockquote p, ul{
  426. margin:0px;
  427. padding:0px;
  428. }
  429.  
  430. a img{border: 0px;}
  431.  
  432.  
  433. ul, ol, li{list-style:none; margin:0px; padding:0px;}
  434.  
  435. .user_1 .label, .user_2 .label, .user_3 .label, .user_4 .label, .user_5 .label, .user_6 .label,
  436. .user_7 .label, .user_8 .label, .user_9 .label {color:{color:text};}
  437.  
  438. .notes img{width:10px; position:relative; top:3px;}
  439. <--ses-->
  440. small{font-size: 90%;}
  441.  
  442. {CustomCSS}
  443.  
  444. </style>
  445.  
  446. {block:IndexPage}
  447. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  448. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  449.  
  450. <script type="text/javascript">
  451. $(window).load(function(){
  452. var $wall = $('#posts');
  453. $wall.imagesLoaded(function(){
  454. $wall.masonry({
  455. itemSelector: '.entry, .entry_photo',
  456. isAnimated : false
  457. });
  458. });
  459.  
  460. $wall.infinitescroll({
  461. navSelector : '#pagination',
  462. nextSelector : '#pagination a',
  463. itemSelector : '.entry, .entry_photo',
  464. bufferPx : 2000,
  465. debug : false,
  466. errorCallback: function() {
  467. $('#infscr-loading').fadeOut('normal');
  468. }},
  469. function( newElements ) {
  470. var $newElems = $( newElements );
  471. $newElems.hide();
  472. $newElems.imagesLoaded(function(){
  473. $wall.masonry( 'appended', $newElems,{isAnimated: false}, function(){$newElems.fadeIn('slow');} );
  474. });
  475. }); $('#posts').show(500);
  476. });
  477. </script>
  478.  
  479.  
  480. {/block:IndexPage}
  481.  
  482.  
  483. <title>{title}</title>
  484.  
  485. <link rel="shortcut icon" href="{favicon}" />
  486. <meta name="viewport" content="width=820" />
  487. </head>
  488.  
  489. <body>
  490. <BODY onselectstart="return false;" ondragstart="return false;">
  491. <div class="wrapper">
  492. <div class="header">
  493. </div>
  494.  
  495. <div id="cage">
  496. <div id="center">
  497.  
  498. <div id="sidebar">
  499.  
  500. <center><div id="blogtitle">{title}</div>
  501. <div id="sidebarpic"><a href="/"><img src="{image:sidebar}"></a></div><div id="desc"><div id="links">
  502. <a href="{text:link one}">{text:link one title}</a> {text:link separation} <a href="{text:link two}">{text:link two title}</a> {text:link separation} <a href="{text:link three}">{text:link three title}</a>{block:iflinkfourtitle} {text:link separation} <a href="{text:link four}">{text:link four title}</a>{/block:iflinkfourtitle}{block:iflinkfivetitle} {text:link separation} <a href="{text:link five}">{text:link five title}</a>{/block:iflinkfivetitle}
  503. </div>
  504. {description}
  505. </div></div>
  506. </center>
  507.  
  508.  
  509. <div class="left">
  510. <div id="posts">
  511. {block:Posts}
  512. <div class="entry">
  513.  
  514. {block:Answer}
  515. <div style="margin-top:2px; margin-bottom:0px; overflow:auto;height:40px; padding: 4px; background-color:#fff;border:1px solid #ddd;border-radius:4px;">
  516. <img src="{AskerPortraitURL-40}" width="40" align="left" style="margin-right:3.5px;"/><askname>{asker}</askname>: {Question}</div>
  517. <div style="margin-top:2px; margin-bottom:4px; background: transparent;">{Answer}</div>
  518. <div class="permalink"> <a href="{permalink}">{notecountwithlabel}</a> </div>
  519. {/block:Answer}
  520.  
  521. {block:Text}{block:Title}<span class="title">{Title}</span>{/block:Title}<span class="body">{Body}</span><p align=right><span class="permalink"><a
  522.  
  523. href="{Permalink}"><a href="{Permalink}"><a href="{Permalink}">{notecountwithlabel}</a></a><br>{/block:HasTags}</span></align>
  524. {/block:Text}
  525.  
  526. {block:Link}<a href="{URL}" class="title">{Name}</a>{block:Description}<div class="body">{Description}</div>{/block:Description} <p align=right><span
  527.  
  528. class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"></span></align>{block:Link}
  529.  
  530. {block:Photo}
  531. {block:IndexPage}
  532. <center>
  533. <div class="perma2">
  534. <a href="{Permalink}"> {notecount}</a> </div>
  535. <div class="perma">
  536. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  537. <div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  538. {/block:IndexPage}
  539. {block:PermalinkPage}
  540. {LinkOpenTag}<div class="photo"><a href="{permalink}"><img class="photo" src="{PhotoURL-HighRes}" alt="{PhotoAlt}" width="100%"/></a></div>
  541.  
  542. {LinkCloseTag}
  543. {/block:PermalinkPage}
  544. {/block:Photo}
  545.  
  546. {block:Photoset}
  547. {block:IndexPage}
  548. <center>
  549. <div class="perma2">
  550. <a href="{Permalink}"> {notecount}</a> </div>
  551. <div class="perma">
  552. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  553. {Photoset-250}</center>
  554. {/block:IndexPage}
  555. {block:PermalinkPage}
  556. <center>
  557. {Photoset-500}</center>
  558. {/block:PermalinkPage}
  559. {/block:Photoset}
  560.  
  561. {block:Quote}<span class="title">"{Quote}"</span> — {block:Source}<b>{Source}</b>{/block:Source}<br><p align=right><span class="permalink"><a
  562.  
  563. href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </span>{/block:Quote}
  564.  
  565. {block:Chat}{block:Title}<span class="title">{Title}</span>{/block:Title}
  566. <ul class="chat">
  567. {block:Lines}
  568. <li class="user_{UserNumber}">
  569. {block:Label}
  570. <span class="label">{Label}</span>
  571. {/block:Label}
  572.  
  573. {Line}
  574. </li>
  575. {/block:Lines}
  576. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}">
  577. {/block:Chat}
  578.  
  579. {block:Audio}
  580. <div style="width:200px; height:30px;">
  581. {AudioPlayerBlack}
  582. </div>
  583. {block:IndexPage}<span class="permalink">
  584. <p align=right><span class="permalink"><a href="{Permalink}">{notecountwithlabel}</a> <a href="{Permalink}"> </a>
  585. </span>{/block:IndexPage}
  586. {/block:Audio}
  587.  
  588. {block:Video}
  589. {block:IndexPage}
  590. <center>
  591. <div class="perma2">
  592. <a href="{Permalink}"> {notecount}</a> </div>
  593. <div class="perma">
  594. <a href="{ReblogURL}" target="_blank"> reblog </a> </div>
  595. {Video-250}</center>
  596. {/block:IndexPage}
  597. {block:PermalinkPage}
  598. <center>
  599. {Video-400}</center>
  600. {/block:PermalinkPage}
  601. {block:Video}
  602.  
  603.  
  604. {block:PostNotes}<div align="middle">{caption}</div>
  605. <center>
  606.  
  607. {block:NoteCount}{NoteCountWithLabel}<br>{/block:NoteCount}
  608.  
  609. {block:HasTags}
  610. tags: {block:Tags}<a href="{TagURL}">{Tag}. </a>{/block:Tags}<br> {/block:HasTags}
  611. {block:RebloggedFrom}
  612. reblogged from <a href="{ReblogParentURL}">{ReblogParentName}</a><br>
  613. posted by <a href="{ReblogRootURL}">{ReblogRootName}</a>
  614.  
  615. {/block:RebloggedFrom}
  616. </center></span>
  617. <br>
  618. <div id="postnotes">{PostNotes}</div><br>
  619.  
  620. <center>{block:ContentSource}
  621. <br><a href="{SourceURL}">
  622. {lang:Source}:
  623. {block:SourceLogo}
  624. <img src="{BlackLogoURL}" width="{LogoWidth}"
  625. height="{LogoHeight}" alt="{SourceTitle}" />
  626. {/block:SourceLogo}
  627. {block:NoSourceLogo}
  628. {SourceLink}
  629. {/block:NoSourceLogo}
  630. </a>
  631. {/block:ContentSource}</center>
  632.  
  633. {/block:PostNotes}
  634. </div>
  635. {/block:Posts}
  636. </div></div>
  637.  
  638. {block:IndexPage}
  639. {block:Pagination}
  640. <div id="pagination">
  641. {block:NextPage}
  642. <a id="nextPage" href="{NextPage}"></a>
  643. {/block:NextPage}
  644. {block:PreviousPage}
  645. <a href="{PreviousPage}"></a>
  646. {/block:PreviousPage}
  647. </div>
  648. {/block:Pagination}
  649. {/block:IndexPage}
  650. </body>
  651. <div style="position:fixed;bottom:5px;right:5px;"><a href="http://twistedmiracles.tumblr.com">theme</a></div>
  652. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement