Advertisement
hor4ny

"Beautiful" theme v2 - twistedmiracles

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