Advertisement
themesbyjerry

theme 4: cleanse

Nov 29th, 2014
3,006
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.78 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <head>
  3.  
  4.  
  5. <title>{Title}</title>
  6.  
  7. <link rel="shortcut icon" href="{Favicon}">
  8. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  9. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  10.  
  11. <!---THEME 4 BY ELYSIUM THEMES. PLEASE DO NOT REMOVE THE CREDIT OR CLAIM ANY PART OF THE CODE AS YOUR OWN. THANK YOU AND I HOPE YOU GUYS ENJOY THIS THEME!
  12.  
  13. <!--Default Variables-->
  14.  
  15. <meta name="color:Background" content="#ffffff"/>
  16. <meta name="color:Text" content="#626262"/>
  17. <meta name="color:Link" content="#9a9a9a"/>
  18.  
  19. <meta name="image:Sidebar Image" content=""/>
  20.  
  21. <meta name="text:Link 1 URL" content="" />
  22. <meta name="text:Link 1" content="" />
  23. <meta name="text:Link 2 URL" content="" />
  24. <meta name="text:Link 2" content="" />
  25. <meta name="text:Link 3 URL" content="" />
  26. <meta name="text:Link 3" content="" />
  27.  
  28. <meta name="text:ask title" content="" />
  29.  
  30. <meta name="if:Pop Up Ask" content="1" />
  31.  
  32. <link href='http://fonts.googleapis.com/css?family=Lato:300' rel='stylesheet' type='text/css'>
  33.  
  34. <style>
  35. @font-face {
  36. font-family: ‘Calibri’;
  37. src: url(‘http://static.tumblr.com/3dkvxpf/r0Ond1ujn/calibri.ttf’) format(‘truetype’);
  38. font-weight: normal;
  39. font-style: normal;
  40.  
  41. }
  42. </style>
  43.  
  44. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
  45.  
  46. <!-- jquery for tooltips-->
  47.  
  48.  
  49. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  50.  
  51. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  52.  
  53. <script>
  54.  
  55. (function($){
  56.  
  57. $(document).ready(function(){
  58.  
  59. $("a[title]").style_my_tooltips({
  60.  
  61. tip_follows_cursor:true,
  62.  
  63. tip_delay_time:30,
  64.  
  65. tip_fade_speed:300,
  66.  
  67. attribute:"title"
  68.  
  69. });
  70.  
  71. });
  72.  
  73. })(jQuery);
  74.  
  75. </script>
  76.  
  77. <script>
  78. $(document).ready(function() {
  79. //
  80. $('a.poplight[href^=#]').click(function() {
  81. var popID = $(this).attr('rel'); //Get Popup Name
  82. var popURL = $(this).attr('href'); //Get Popup href to define size
  83. var query= popURL.split('?');
  84. var dim= query[1].split('&');
  85. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  86. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  87. var popMargTop = ($('#' + popID).height() + 80) / 2;
  88. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  89. //Apply Margin to Popup
  90. $('#' + popID).css({
  91. 'margin-top' : -popMargTop,
  92. 'margin-left' : -popMargLeft
  93. });
  94. $('body').append('<div id="fade"></div>');
  95. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  96. return false;
  97. });
  98. $('a.close, #fade').live('click', function() {
  99. $('#fade , .popup_block').fadeOut(function() {
  100. $('#fade, a.close').remove(); //fade them both out
  101. });
  102. return false;
  103. });
  104. });
  105. </script>
  106.  
  107. <!--CSS customization here. -->
  108.  
  109. <style type="text/css">
  110.  
  111. ::-webkit-scrollbar-thumb {
  112. height:auto;
  113. background-color:black;
  114. }
  115.  
  116. ::-webkit-scrollbar {
  117. height:9px;
  118. width:4px;
  119. background-color:white;
  120. }
  121.  
  122. #s-m-t-tooltip{
  123. position:absolute;
  124. margin-top: 15px;
  125. z-index:9999;
  126. background:white;
  127. border:1px solid #E0E0E0;
  128. padding:3px;
  129. text-transform:uppercase;
  130. z-index:10000;
  131. font-size:9px;
  132. font-family: 'Lato', sans-serif;
  133. }
  134.  
  135.  
  136.  
  137. /*basics*/
  138. .caption blockquote {
  139. margin:-5px 15px;
  140. }
  141. blockquote {
  142. margin:5px 30px 5px 30px;
  143. border-left:1px solid #E0E0E0;
  144. padding-left: 5px;
  145. }
  146.  
  147. body {
  148. background:{color:background};
  149. color:{color:text};
  150. font-family:'Calibri';
  151. font-size:11px;
  152. text-align:justify;
  153. margin:0;
  154. line-height:16px;}
  155.  
  156.  
  157. a {
  158. color:{color:link};
  159. text-decoration:none;
  160. -webkit-transition: all .7s ease;
  161. -moz-transition: all .7s ease;
  162. -o-transition: all .7s ease;
  163. -ms-transition: all .7s ease;
  164. transition: all .7s ease
  165. }
  166.  
  167. a:hover {
  168. color:#E0E0E0;
  169. -webkit-transition: all .7s ease;
  170. -moz-transition: all .7s ease;
  171. -o-transition: all .7s ease;
  172. -ms-transition: all .7s ease;
  173. transition: all .7s ease;
  174.  
  175. }
  176.  
  177. #fade { /*--Transparent background layer--*/
  178. display: none; /*--hidden by default--*/
  179. background: #000;
  180. position: fixed; left: 0; top: 0;
  181. width: 100%; height: 100%;
  182. opacity: 0.8;
  183. z-index: 9999;
  184. }
  185.  
  186. .popup_block {
  187. display: none; /*--hidden by default--*/
  188. padding: 10px;
  189. float: left;
  190. font-size: 10;
  191. position: fixed;
  192. top: 50%; left: 52.3%;
  193. z-index: 99999;
  194. }
  195.  
  196. .heading {
  197. font-family:'Calibri';
  198. font-weight:lighter;
  199. font-size:15px;
  200. margin-bottom:10px;
  201. text-transform:uppercase;
  202. color:#fff;
  203. letter-spacing:2px;
  204. }
  205.  
  206. img{opacity:1;
  207. border:none;
  208. text-decoration:none}
  209.  
  210.  
  211. small {
  212. font-size:9px;}
  213.  
  214. big {
  215. font-size:12px;}
  216.  
  217.  
  218. #title {font-size:12px;
  219. line-height:18px;
  220. font-weight:bold;
  221. margin-bottom:10px;
  222. text-transform:uppercase;
  223. text-align:left;}
  224.  
  225. #blogt {
  226. font-size:17px;
  227. text-transform:uppercase;
  228. padding-top:15px;
  229. margin-right:-10px;
  230. letter-spacing:3px;
  231. font-family: 'Lato', sans-serif;
  232. text-align:right;
  233. }
  234.  
  235.  
  236. /*header*/
  237. #header {
  238. width:700px;
  239. margin-left:-275px;
  240. padding:40px 20px 10px 20px;
  241. border-bottom:1px solid #E0E0E0;
  242. position:fixed;
  243. background:white;
  244. text-align:center;
  245. }
  246.  
  247. #sidebar {
  248. height:100%;
  249. border-right:1px solid #E0E0E0;
  250. padding:20px;
  251. margin-left:350px;
  252. position:fixed;
  253. z-index:1;
  254. }
  255.  
  256. #sidebarim {
  257. margin-top:30px;
  258. margin-left:-30px;
  259.  
  260.  
  261. }
  262.  
  263. #sidebarim img {
  264. width: 150px;
  265. height: 150px;
  266. background:#fafafa;
  267. border:1px solid #E0E0E0;
  268. padding:5px;
  269. }
  270.  
  271. #links {
  272. margin-top:-5px;
  273. font-size:9px;
  274. text-transform:uppercase;
  275. font-family:arial;
  276. letter-spacing:2px;
  277. float:right;
  278. -webkit-transition: all .7s ease;
  279. -moz-transition: all .7s ease;
  280. -o-transition: all .7s ease;
  281. -ms-transition: all .7s ease;
  282. transition: all .7s ease;
  283. }
  284.  
  285. #links a {
  286. background:#fff;
  287. color:#444;
  288. padding:5px;
  289. text-decoration:none;
  290. -webkit-transition: all .7s;
  291. -moz-transition: all .7s;
  292. -o-transition: all .7s;
  293. -ms-transition: all .7s;
  294. transition: all .7s;
  295. }
  296.  
  297. #links a:hover {
  298. color:#E0E0E0;
  299. -webkit-transition: all .7s ease;
  300. -moz-transition: all .7s ease;
  301. -o-transition: all .7s ease;
  302. -ms-transition: all .7s ease;
  303. transition: all .7s ease;
  304. }
  305.  
  306. #description {
  307. margin-top:10px;
  308. width:150px;
  309. border-top:1px solid #eee;
  310. padding-top:10px;
  311. margin-left:-30px;
  312. text-align:center;
  313. padding-right:10px;
  314. }
  315.  
  316.  
  317. /*pagination*/
  318. #pagination {
  319. width:440px;
  320. margin-left:-1px;
  321. bottom:0px;
  322. font-family: 'Lato', sans-serif;
  323. background:{color:background};
  324. padding-top:15px;
  325. height:25px;
  326. text-align:center;
  327. text-transform:uppercase;
  328. font-weight:normal;
  329. font-size:12px;
  330. letter-spacing:1px;
  331. position:fixed;
  332. }
  333.  
  334. /*container*/
  335. #con {
  336. top:0px;
  337. width:600px;
  338. margin-left:530px;
  339. position:absolute;
  340. }
  341.  
  342.  
  343.  
  344. /*posts*/
  345.  
  346. #entries {
  347. margin-top:100px;
  348. width:400px;
  349. margin-left:25px;
  350. }
  351.  
  352.  
  353.  
  354. #posts {
  355. width:400px;
  356. margin-bottom:75px;
  357. margin-bottom:50px;
  358. border:1px solid #E0E0E0;
  359. padding:15px;
  360. }
  361.  
  362. #posts img {
  363. max-width:400px;
  364. }
  365.  
  366. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  367. .caption {width:100%;
  368. margin-top:10px;
  369.  
  370. }
  371.  
  372. /*quote*/
  373.  
  374. #titlequote{
  375. text-align:left;
  376. font-size:14px;
  377. line-height:18px;
  378. font-family: 'Lato', sans-serif;
  379. text-transform:uppercase;
  380. }
  381. #source {
  382. margin-top:15px;
  383. margin-left:15px;
  384. text-align:right;
  385. }
  386.  
  387. /*audio*/
  388.  
  389. .player {
  390. width:25px;
  391. height:25px;
  392. overflow:hidden;
  393. position:absolute;
  394. background:white;}
  395.  
  396. .audioinfo {
  397. margin-left:50px;
  398. }
  399.  
  400.  
  401. /*asks*/
  402. #question{
  403. padding: 5px;
  404. min-height: 30px;
  405. }
  406.  
  407. #question img{
  408. float: left;
  409. padding: 3px;
  410. border:1px solid #E0E0E0;
  411. }
  412.  
  413. #message{
  414. margin-top: 8px;
  415. }
  416.  
  417. /*chat*/
  418.  
  419. .chat ol {
  420. padding:0;
  421. list-style:none;
  422. }
  423. .line {padding:5px 0;}
  424.  
  425. .label {font-weight:bold;
  426. }
  427.  
  428.  
  429.  
  430.  
  431.  
  432. /*permalink and notes*/
  433.  
  434. #permalink {
  435. margin-top:15px;
  436. font-size:9px;
  437. text-transform:uppercase;
  438. border-top:1px solid #eee;
  439. padding-top:7px;
  440. }
  441.  
  442. #permalink a {
  443. margin-right:10px;
  444. text-decoration:none;
  445. }
  446.  
  447. #permalink a:hover {
  448. color:#E0E0E0;
  449. -webkit-transition: all .7s ease;
  450. -moz-transition: all .7s ease;
  451. -o-transition: all .7s ease;
  452. -ms-transition: all .7s ease;
  453. transition: all .7s ease;
  454. }
  455.  
  456.  
  457. .tags {
  458. word-break:break-all;
  459. font-size:9px;
  460. }
  461.  
  462. .pagenotes {
  463. {block:IndexPage}
  464. display: none!important;
  465. {/block:IndexPage}
  466. width:400px;
  467. text-align:left;
  468.  
  469. }
  470. .pagenotes img {
  471. display:none!important;}
  472. .pagenotes li {
  473. list-style-type:none;
  474. padding:5px 0px;
  475. text-align:left;
  476. margin:0 0 0 -40px;
  477. }
  478.  
  479. .credit {
  480. font-size: 15px;
  481. bottom:7px;
  482. position:fixed;
  483. right:13px;
  484. color:#626262;
  485. float:right;
  486. letter-spacing:1px
  487. }
  488.  
  489. .credit a {
  490. text-decoration:none;
  491. color:#E0E0E0;
  492. }
  493.  
  494. {CustomCSS}
  495.  
  496.  
  497. </style>
  498.  
  499.  
  500.  
  501. </head>
  502.  
  503. <body>
  504.  
  505.  
  506. <div id="sidebar">
  507. <div id="blogt">{Title}</div>
  508. <div id="sidebarim"><img src="{image:Sidebar Image}"></div>
  509. <div id="description">{Description}</div>
  510. </div>
  511.  
  512. <div id="con">
  513.  
  514. <div id="header">
  515. <div id="links">
  516. <a href="/">home</a>
  517. {block:ifnotpopupask}<a href="/ask">ask</a>{/block:ifnotpopupask}
  518. {block:ifpopupask}<a href="#?w=500" rel="02" class="poplight">ask</a>{/block:ifpopupask}
  519. {block:ifLink1}<a href="{text:Link 1 URL}">{text:Link 1}</a>{/block:ifLink1}
  520. {block:ifLink2}<a href="{text:Link 2 URL}" >{text:Link 2}</a>{/block:ifLink2}
  521. {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a> {/block:ifLink3}
  522. </div>
  523.  
  524.  
  525.  
  526.  
  527. </div>
  528.  
  529.  
  530. <div id="entries">
  531.  
  532. {block:Posts}
  533. <div id="posts">
  534.  
  535.  
  536. {block:Quote}
  537.  
  538.  
  539. <div id="titlequote">“{Quote}”</div>
  540. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  541. {/block:Quote}
  542.  
  543.  
  544.  
  545. {block:Text}
  546.  
  547. {block:Title}
  548. <div id="title">{Title}</div>{/block:Title}
  549. {Body}
  550. {/block:Text}
  551.  
  552. {block:Link}
  553. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  554. {/block:Link}
  555.  
  556. {block:Chat}
  557. {block:Title}
  558. <h1>{Title}</h1>
  559. {/block:Title}
  560. <div class="chat">
  561. <ol>{block:Lines}
  562. <li class="line {Alt}">
  563. {block:Label}
  564. <span class="label">
  565. {Label}</span>
  566. {/block:Label}{Line}</li>
  567. {/block:Lines}
  568. </ol></div>
  569. {/block:Chat}
  570.  
  571. {block:Photo}
  572. {LinkOpenTag}<img src="{PhotoURL-400}" alt="{PhotoAlt}"/>{LinkCloseTag}
  573. {/block:Photo}
  574.  
  575. {block:Photoset}
  576. {Photoset-400}
  577. {/block:Photoset}
  578.  
  579. {block:Video}
  580. {Video-400}
  581. {/block:Video}
  582.  
  583. {block:Audio}
  584. <div class="player">{AudioPlayerWhite}</div>
  585. <div class="audioinfo">
  586. {block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  587. </div>
  588. {/block:Audio}
  589.  
  590. {block:Answer}
  591. <div id="question"><img src="{AskerPortraitURL-30}">
  592. <div id="message">&nbsp;&nbsp;<em>{Asker}</em> asked:</br>&nbsp;&nbsp;{Question}</div></div>
  593. {Answer}{/block:Answer}
  594.  
  595. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  596.  
  597. {block:Date}
  598. <div id="permalink">
  599. <a href="{Permalink}" title="{ShortMonth} {DayOfWeekNumber}, {Year}">{TimeAgo}</a>{block:NoteCount}<a href="{Permalink}">+ {NoteCount}</a>{/block:NoteCount}{block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}
  600. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">#{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  601. </div>
  602. {/block:Date}
  603.  
  604.  
  605.  
  606. </div>
  607.  
  608.  
  609. {block:PostNotes}
  610. <div class="pagenotes">
  611. {PostNotes}
  612. </div>
  613. {/block:PostNotes}
  614.  
  615.  
  616. {/block:Posts}
  617.  
  618. {block:Pagination}
  619. <div id="pagination">
  620. {block:PreviousPage}
  621. <a href="{PreviousPage}">back - </a>
  622. {/block:PreviousPage}
  623.  
  624.  
  625. {block:NextPage}
  626. <a href="{NextPage}">forth</a>
  627. {/block:NextPage}
  628. </div>
  629. {/block:Pagination}
  630.  
  631. <div class="credit">
  632. <a href="http://rxvenclaw.tumblr.com/" title="elysium themes" style="color:#020202;"><i class="fa fa-spinner"></i></a></div>
  633.  
  634. </div>
  635.  
  636. </div>
  637.  
  638.  
  639. {block:ContentSource}
  640. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  641. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  642. {/block:SourceLogo}
  643. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  644. {/block:ContentSource}
  645.  
  646. </body>
  647.  
  648. <div id="02" class="popup_block">
  649.  
  650. <center><div class="heading">{text:ask title}</div><iframe frameborder="0" scrolling="yes" width="100%" height="190" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form">
  651. </center></div>
  652.  
  653. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement