bangyixing

Theme #16 - Oxygen

Aug 19th, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.69 KB | None | 0 0
  1. <html>
  2. <head>
  3.  
  4. <script type="text/javascript" src="http://static.tumblr.com/qlfmldj/1H6mmbwdm/jquery-1.7.1.min.js"></script>
  5.  
  6.  
  7. <script type="text/javascript">
  8.  
  9. $(function(){
  10.  
  11. var stickyTop = $('#desc').offset().top;
  12.  
  13. $(window).scroll(function(){
  14.  
  15. var windowTop = $(window).scrollTop();
  16.  
  17. if (stickyTop < windowTop) {
  18. $('#desc').css({ position: 'fixed', top: 0 });
  19. }
  20. else {
  21. $('#desc').css('position','static');
  22. }
  23.  
  24. });
  25.  
  26. });
  27.  
  28. </script>
  29.  
  30. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  31.  
  32. <script>
  33. $(document).ready(function(){
  34.  
  35. $(".slidingDiv").hide();
  36. $(".show_hide").show();
  37.  
  38. $('.show_hide').toggle(function(){
  39. $(".slidingDiv").slideDown(
  40. function(){
  41. $("#navigation").text("navigation")
  42. }
  43. );
  44. },function(){
  45. $(".slidingDiv").slideUp(
  46. function(){
  47. $("#navigation").text("navigation")
  48. }
  49. );
  50. });
  51. });
  52. </script>
  53.  
  54. <!--
  55. THEME MADE BY ANDREA @ MILIKBOY
  56. PLEASE DON'T REMOVE THE CREDITS. THANK YOU.
  57. -->
  58.  
  59. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  60. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  61. <head><title>{Title}</title>
  62. <link rel="shortcut icon" href="{Favicon}">
  63. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  64. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  65. <link href='http://fonts.googleapis.com/css?family=Playfair+Display:400,700,400italic' rel='stylesheet' type='text/css'>
  66.  
  67. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/8mXm7q8vn/jquery.js"></script>
  68. <script type="text/javascript" src="http://static.tumblr.com/bmdsqsc/ogWm7q8w1/lazyload.js"></script>
  69. <script type="text/javascript" charset="utf-8">
  70. var $j = jQuery.noConflict();
  71. $j(function() {
  72. if (navigator.platform == "iPad" || navigator.platform == "iPhone") return;
  73. $j("img").lazyload({
  74. placeholder : "http://static.tumblr.com/twte3d7/RSvlio0k5/grey.gif",
  75. effect: "fadeIn",
  76. });
  77. });
  78. </script>
  79.  
  80. <!--Default Variables-->
  81. <!--Colors-->
  82.  
  83. <meta name="color:Background" content="#ffffff"/>
  84. <meta name="color:Title" content="#9c9c9c"/>
  85. <meta name="color:Border" content="#f7c2be"/>
  86. <meta name="color:Link" content="#242323"/>
  87. <meta name="color:Scrollbar" content="#fbfbfb"/>
  88. <meta name="color:Hover" content="#cfcfcf"/>
  89. <meta name="color:Description" content="#fafafa"/>
  90. <meta name="color:Asker" content="#fafafa"/>
  91. <meta name="color:Quote" content="#fafafa"/>
  92. <meta name="color:Info" content="#fafafa"/>
  93. <meta name="color:Info Border" content="#d5d5d5"/>
  94. <meta name="color:Info Background" content="#242323"/>
  95. <meta name="color:Letter" content="#fcdabf"/>
  96. <meta name="color:Hover" content="#cfcfcf"/>
  97. <meta name="color:Tags" content="#f7c2be"/>
  98. <meta name="color:Text" content="#242323"/>
  99.  
  100. <!--Images-->
  101.  
  102. <meta name="image:Background" content=""/>
  103. <meta name="image:Sidebar" content=""/>
  104.  
  105. <!--Links-->
  106.  
  107. <meta name="text:Link1" content="/" />
  108. <meta name="text:Link1 Title" content="link" />
  109. <meta name="text:Link2" content="/" />
  110. <meta name="text:Link2 Title" content="link" />
  111. <meta name="text:Link3" content="/" />
  112. <meta name="text:Link3 Title" content="link" />
  113. <meta name="text:Link4" content="/" />
  114. <meta name="text:Link4 Title" content="link" />
  115.  
  116. <style type="text/css">
  117.  
  118. ::-webkit-scrollbar-thumb:vertical {
  119. background: {color:Border};
  120. height: 80px;
  121. }
  122.  
  123. ::-webkit-scrollbar {
  124. height: 10px;
  125. width: 10px;
  126. background: {color:Scrollbar};
  127. }
  128.  
  129.  
  130. body {
  131. background-image: url("{image:background}");
  132. background-attachment: fixed;
  133. font-family:Arial;
  134. font-size:9px;
  135. margin:50px;
  136. text-align:justify;
  137. letter-spacing:0px;
  138. line-height:140%;
  139. background:{color:background};
  140. color:{color:text};
  141. }
  142.  
  143. a {
  144. text-decoration:none;
  145. outline:none;
  146. -moz-outline-style:none;
  147. color:{color:Text};
  148. -webkit-transition: all 0.5s ease;
  149. -moz-transition: all 0.5s ease;
  150. -o-transition: all 0.5s ease;
  151. }
  152.  
  153. img {
  154. border:none;
  155. }
  156.  
  157. blockquote blockquote {
  158. padding-left:5px;
  159. border-left:1px solid;
  160. }
  161.  
  162. h1 {
  163. font-size:20px;
  164. text-transform:lowercase;
  165. font-style:italic;
  166. line-height:140%;
  167. text-align:center;
  168. font-family:Playfair Display;
  169. color:{color:Title};
  170. }
  171.  
  172. a:hover {
  173. color: {color:Border};
  174. }
  175.  
  176. small{
  177. font-size:9px;
  178. line-height:140%;
  179. }
  180.  
  181. big {
  182. font-size:12px;
  183. line-height:140%;
  184. }
  185.  
  186. b, strong{
  187. color:{color:Text};
  188. }
  189. i, em {
  190. color:{color:Text};
  191. }
  192. p{
  193. margin-top:5px;
  194. margin-bottom:5px;
  195. }
  196.  
  197. blockquote {
  198. padding:0px;
  199. padding-left:5px;
  200. margin:5px;
  201. border-left:1px solid {color:Border};
  202. }
  203.  
  204. blockquote img {
  205. max-width:500px;
  206. }
  207.  
  208. .audio { height:60px; padding:5px; margin-bottom:5px;}
  209. .audio-album { position:absolute; width:60px; }
  210. .audio-player { position:absolute; width:25px; height:25px; margin-left:15px; margin-top:15px; opacity:0.9; overflow:hidden; border:2px solid {color:Border}; }
  211. .audio-info { margin-top:-2px; position:relative; margin-left:70px; padding:5px; }
  212.  
  213. #entries {
  214. overflow:hidden;
  215. margin-left:455px;
  216. letter-spacing:1px;
  217. margin-top:145px;
  218. }
  219.  
  220. #post {
  221. margin:15px;
  222. padding-left:15px;
  223. padding-right:15px;
  224. padding-top:25px;
  225. width:500px;
  226. }
  227.  
  228. #quote {
  229. padding:10px;
  230. margin-bottom:5px;
  231. background:{color:Quote};
  232. font-family:Times New Roman;
  233. font-size:12px;
  234. font-style:italic;
  235. letter-spacing:1px;
  236. -webkit-border-radius:2px;
  237. -moz-border-radius:2px;
  238. border-radius:2px;
  239. }
  240.  
  241. #chat {
  242. text-transform:lowercase;
  243. }
  244.  
  245. #website {
  246. font-style:italic;
  247. text-align:right;
  248. font-size:12px;
  249. color:{color:Text};
  250. }
  251.  
  252. #sidebar {
  253. position:fixed;
  254. margin-left:1100px;
  255. margin-top:-160px;
  256. }
  257.  
  258. #sidebarimage img {
  259. width:500px;
  260. height:100px;
  261. position:fixed;
  262. margin-top:10px;
  263. margin-left:-615px;
  264. border-bottom: 7px solid {color:Tags};
  265. }
  266.  
  267. #links {
  268. width:595px;
  269. height:auto;
  270. font-size:10px;
  271. font-family:Courier;
  272. font-style:none;
  273. text-align:center;
  274. text-transform:uppercase;
  275. opacity:1;
  276. position:fixed;
  277. word-spacing:0px;
  278. margin-left:-666px;
  279. margin-top:117px;
  280. letter-spacing:1px;
  281. }
  282.  
  283. #links a {
  284. display:inline-block;
  285. width:244px;
  286. padding:3px;
  287. margin-right:-7px;
  288. margin-bottom:0px;
  289. color:{color:Background};
  290. background-color:{color:Link};
  291. }
  292.  
  293. #links a:hover {
  294. background:{color:Description};
  295. color:{color:Link};
  296. -moz-transition-duration:0.5s;
  297. -webkit-transition-duration:0.5s;
  298. -o-transition-duration:0.5s;
  299. }
  300.  
  301. #description {
  302. font-size:12px;
  303. width:470px;
  304. height:74px;
  305. padding:5px;
  306. font-family:Courier;
  307. text-transform:none;
  308. position:fixed;
  309. text-align:justify;
  310. font-style:none;
  311. line-height:100%;
  312. margin-top:20px;
  313. margin-left:-605px;
  314. letter-spacing:-1px;
  315. opacity:0;
  316. position:fixed;
  317. background:{color:Description};
  318. -moz-transition-duration:1s;
  319. -webkit-transition-duration:1s;
  320. -o-transition-duration:1s;
  321. }
  322.  
  323. #description:first-letter {
  324. padding:5px;
  325. padding-bottom:6px;
  326. padding-left:5px;
  327. padding-right:6px;
  328. font-size:25px;
  329. font-style:none;
  330. margin-right:3px;
  331. line-height:140%;
  332. float:left;
  333. background:{color:Letter};
  334. color:{color:Background};
  335. border: 3px double {color:Background};
  336. }
  337.  
  338. #sidebar:hover #description {
  339. opacity:1;
  340. -moz-transition-duration:1s;
  341. -webkit-transition-duration:1s;
  342. -o-transition-duration:1s;
  343. }
  344.  
  345. #pagination {
  346. font-size:9px;
  347. margin-top:482px;
  348. text-align:center;
  349. color:{color:Text};
  350. padding:10px;
  351. opacity:1;
  352. position:fixed;
  353. font-style:none;
  354. font-style:italic;
  355. margin-left:-340px;
  356. letter-spacing:2px;
  357. }
  358.  
  359. #info {
  360. padding-right:3px;
  361. margin-top:2px;
  362. font-size:7px;
  363. font-family:Trebuchet MS;
  364. text-align:left;
  365. text-transform:uppercase;
  366. border:1px solid {color:Info Border};
  367. }
  368.  
  369. .info {
  370. display:inline-block;
  371. padding:3px 4px 2px 3px;
  372. background-color:{color:Info Background};
  373. color:{color:Background};
  374. }
  375. #tags {
  376. font-family:Trebuchet MS;
  377. font-style:none;
  378. text-transform:uppercase;
  379. font-style:none;
  380. color:{color:Tags};
  381. line-height:120%;
  382. font-size:7px;
  383. opacity:1;
  384. text-align:left;
  385. padding-top:5px;
  386. -moz-transition-duration:.5s;
  387. -webkit-transition-duration:.5s;
  388. -o-transition-duration:.5s;
  389. }
  390.  
  391.  
  392. #tags a {
  393. color:{color:Text};
  394. }
  395.  
  396. #tags a:hover {
  397. color:{color:Hover};
  398. }
  399.  
  400. #notes {
  401. text-transform:uppercase;
  402. font-size:8px;
  403. font-family:Calibri;
  404. }
  405.  
  406. #question {
  407. float:left;
  408. line-height:130%;
  409. }
  410.  
  411. #question img {
  412. margin-right:11px;
  413. border:1px solid {color:Border};
  414. padding:2px;
  415. border-radius:400px;
  416. }
  417.  
  418. #credit {
  419. font-family:Calibri;
  420. font-size:9px;
  421. letter-spacing:1px;
  422. float:right;
  423. position:fixed;
  424. bottom:15px;
  425. right:10px;
  426. }
  427.  
  428. #credit a {
  429. color:{color:Background};
  430. padding:5px;
  431. text-transform:uppercase;
  432. background:{color:Link};
  433. }
  434.  
  435. #credit a:hover {
  436. color:{color:Link};
  437. font-style:none;
  438. background:{color:Background};
  439. }
  440.  
  441. {CustomCSS}</style></head><body>
  442.  
  443. <div id="sidebar">
  444. <div id="sidebarimage"><img src="{image:Sidebar}"></div>
  445. <div id="links">
  446. <a href="/">home</a>
  447. <a href="/ask">ask</a>
  448. <a href="/archive">archive</a>
  449. <a href="#" class="show_hide">links</a><div class="slidingDiv">
  450. {block:ifLink1}<a href="{text:Link1}">{text:Link1 Title}</a>{/block:ifLink1}
  451. {block:ifLink2}<a href="{text:Link2}">{text:Link2 Title}</a>{/block:ifLink2}
  452. {block:ifLink3}<a href="{text:Link3}">{text:Link3 Title}</a>{/block:ifLink3}
  453. {block:ifLink4}<a href="{text:Link4}">{text:Link4 Title}</a>{/block:ifLink4}
  454. </div></div>
  455.  
  456. <div id="description">{Description}<p>
  457. <center>{block:Pagination}{block:PreviousPage}<a href="{PreviousPage}">fall</a>{/block:PreviousPage} — {block:NextPage}<a href="{NextPage}">jump</a>{/block:NextPage}{/block:Pagination}</center></div></div>
  458.  
  459. <div id="entries">
  460. {block:Posts}
  461. <div id="post">
  462.  
  463. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  464.  
  465. {block:Photo}{LinkOpenTag}<img src="{PhotoURL-500}">{LinkCloseTag}{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  466.  
  467. {block:Photoset}{Photoset-500}{block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  468.  
  469. {block:Quote}<div id="quote">❝{Quote}</i>❞{block:Source} — <i>{Source}</i></div>{/block:Source}{/block:Quote}
  470.  
  471. {block:Link}<div id="website"><a href="{URL}" {Target}>{Name}</a></div>{block:Description}{Description}{/block:Description}{/block:Link}
  472.  
  473. <div id="chat">
  474. {block:Chat}
  475. {block:Title}
  476. <h1>{Title}</h1>
  477. {/block:Title}
  478. {block:Lines}
  479. <blockquote>{block:Label}<b>{Label}</b>{/block:Label} -
  480. {Line}</blockquote><br>
  481. {/block:Lines}{/block:Chat}
  482. </div>
  483.  
  484. {block:Audio}
  485. <div class="audio">
  486. {block:AlbumArt}<img class="audio-album" src="{AlbumArtURL}">{/block:AlbumArt}
  487. <div class="audio-player">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div>
  488. <div class="audio-info">
  489. {block:TrackName}<b>Title:</b> {TrackName}<br>{/block:TrackName}
  490. {block:Artist}<b>Artist:</b> {Artist}<br>{/block:Artist}
  491. {block:Album}<b>Album:</b> {Album}<br>{/block:Album}
  492. {block:PlayCount}<b>Plays:</b> {PlayCount}<br>{/block:PlayCount}
  493. </div></div>
  494. {/block:Audio}
  495.  
  496. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  497.  
  498. {block:Answer}<div id="question"<div id="question"><img src="{AskerPortraitURL-24}"></div> "{Question}"<br>
  499. — <b><i>{Asker}</i></b><br><br>
  500. {Answer}<br>{/block:Answer}
  501.  
  502. <div id="info">
  503. {block:Date}<div class="info">{TimeAgo}{/block:Date}</div>
  504. {block:RebloggedFrom} <a href="{ReblogParentURL}" style="padding-left:3px;">via </a> ‧ {/block:RebloggedFrom} {block:ContentSource} <a href="{SourceURL}">source</a> {/block:ContentSource}{block:RebloggedFrom} <a href="{ReblogParentURL}" target="_blank"></a> {/block:RebloggedFrom}
  505. <div style="padding-top:3px; float:right;"><a href="{Permalink}">{NoteCountWithLabel}</a></div></div>
  506.  
  507. {block:HasTags}
  508. <div id="tags">
  509. {block:Tags} #<a href="{TagURL}">{Tag}</a>{/block:Tags}</div>
  510. {/block:HasTags}
  511. <div id="notes">
  512. {block:PostNotes}{PostNotes}{/block:PostNotes}
  513. </div>
  514. </div>
  515. {/block:Posts}
  516.  
  517. <div id="credit"><a href="http://mlikboy.tumblr.com/">mlikboy</a></div>
  518.  
  519. </body>
  520. </html>
Advertisement
Add Comment
Please, Sign In to add comment