Advertisement
Ahannahh

swlft Theme 03

Aug 19th, 2013
213
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.41 KB | None | 0 0
  1. <!-- THEME BY SWLFT.TUMBLR.COM DO NOT REMOVE CREDIT -->
  2.  
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  4.  
  5.  
  6. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  7.  
  8.  
  9. <head>
  10.  
  11.  
  12. <meta name="color:background" content="#FFFFFF">
  13. <meta name="color:links" content="#c5d7e4">
  14. <meta name="color:linkshover" content="#e2e2e2">
  15. <meta name="color:text" content="#a3a2a2">
  16. <meta name="color:borders" content="#c5d7e4">
  17.  
  18. <meta name="image:header" content=""/>
  19.  
  20. <meta name="text:linkA" content="ask">
  21. <meta name="text:linkA url" content="/ask">
  22. <meta name="text:linkB" content="">
  23. <meta name="text:linkB url" content="/">
  24. <meta name="text:linkC" content="">
  25. <meta name="text:linkC url" content="/">
  26. <meta name="text:linkD" content="">
  27. <meta name="text:linkD url" content="/">
  28.  
  29. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  30. <title>{Title}</title> {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  31. <link rel="shortcut icon" href="{Favicon}" />
  32. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  33.  
  34. <script type="text/javascript" src="http://static.tumblr.com/qlfmldj/1H6mmbwdm/jquery-1.7.1.min.js"></script>
  35.  
  36.  
  37. <script type="text/javascript">
  38.  
  39. $(function(){
  40.  
  41. var stickyTop = $('.links').offset().top;
  42.  
  43. $(window).scroll(function(){
  44.  
  45. var windowTop = $(window).scrollTop();
  46.  
  47. if (stickyTop < windowTop) {
  48. $("#linkyblock").css({ position: 'fixed', top: 0, zIndex: 9999});
  49. }
  50. else {
  51. $("#linkyblock").css('position','static');
  52. }
  53.  
  54. });
  55.  
  56. });
  57.  
  58. </script>
  59.  
  60. <style type="text/css">
  61.  
  62. a {
  63. color:{color:links};
  64. text-decoration:none;
  65. -moz-transition-duration:0.5s;
  66. -webkit-transition-duration:0.5s;
  67. -o-transition-duration:0.5s;
  68. }
  69.  
  70. a:hover {
  71. color:{color:linkshover};
  72. text-decoration:none;
  73. -moz-transition-duration:0.5s;
  74. -webkit-transition-duration:0.5s;
  75. -o-transition-duration:0.5s;
  76. }
  77.  
  78.  
  79. ::-webkit-scrollbar {background-color:{color:background}; height:8px; width:8px}
  80. ::-webkit-scrollbar-thumb:vertical {background-color:{color:borders}; height:50px}
  81. ::-webkit-scrollbar-thumb:horizontal {background-color:{color:borders}; height:8px!important}
  82.  
  83. body {
  84. background-color:{color:background};
  85. font-family:'Calibri', sans-serif;
  86. font-weight:normal;
  87. }
  88.  
  89.  
  90.  
  91.  
  92. h1 {
  93. font-weight:normal;
  94. font-size:9px;
  95. text-align:center;
  96. font-style:normal;
  97. line-height:100%;
  98. text-transform:uppercase;
  99. letter-spacing:1px;
  100. color:{color:text};
  101. }
  102.  
  103. h2 {
  104. font-size:15px;
  105. text-align:center;
  106. line-height:120%;
  107. letter-spacing:0px;
  108. font-family:'Times New Roman';
  109. font-style:italic;
  110. color:{color:text};
  111. font-weight:normal;
  112. padding:5px;
  113. padding-bottom:2px;
  114. }
  115.  
  116.  
  117. blockquote {
  118. border-left:2px solid {color:text};
  119. padding-left:5px;
  120. margin:5px;
  121. }
  122.  
  123. #theme {
  124. background-color:transparent;
  125. width:500px;
  126. margin: 0 auto -12px auto;
  127. text-align: center;
  128. }
  129.  
  130. #header {
  131. top:0px;
  132. margin-top:-8px;
  133. width:500px;
  134. height:225px;
  135. background-image:url('{image:header}');
  136. }
  137.  
  138. #title {
  139. width:500px;
  140. text-align:center;
  141. letter-spacing:2px;
  142. font-size:20px;
  143. font-style:italic;
  144. font-family:'Times New Roman';
  145. position:absolute;
  146. margin-top:205px;
  147. }
  148.  
  149. #linkyblock {
  150. }
  151.  
  152. .links {
  153. width:500px;
  154. background-color:#ffffff;
  155. border-style:double;
  156. border-width:4px;
  157. border-color:{color:borders};
  158. border-left:none;
  159. border-right:none;
  160. border-top:none;
  161. }
  162.  
  163. .links a {
  164. margin-bottom:10px;
  165. display:inline-block;
  166. text-transform:uppercase;
  167. letter-spacing:2px;
  168. padding:2px;
  169. padding-left:6px;
  170. padding-right:6px;
  171. font-size:9px;
  172. color:#ffffff;
  173. border-style:double;
  174. border-width:4px;
  175. border-color:#ffffff;
  176. background-color:{color:borders};
  177. margin-top:10px;
  178. }
  179. .links a:hover {
  180. color:{color:borders};
  181. border-style:double;
  182. border-width:4px;
  183. border-color:{color:borders};
  184. background-color:#ffffff;
  185. }
  186.  
  187. .desc {
  188. width:500px;
  189. margin-top:224px;
  190. text-align:center;
  191. font-size:10px;
  192. color:{color:text};
  193. letter-spacing:1px;
  194. line-height:100%;
  195. position:absolute;
  196. }
  197.  
  198. .desc a {
  199. color:{color:links};
  200. }
  201.  
  202. .pagi {
  203. font-size:11px;
  204. text-transform:uppercase;
  205. font-style:normal;
  206. text-align:center;
  207. margin-bottom:30px;
  208. }
  209.  
  210. .pagi a {
  211. display:inline-block;
  212. color:{color:links};
  213. padding:5px;
  214. }
  215.  
  216. .pagi a:hover {
  217. color:{color:linkshover};
  218. }
  219.  
  220. #stuffcontainer {
  221. float:left;
  222. margin-left:0px;
  223. margin-bottom:0px;
  224. text-align:justify;
  225. background-color:{color:background};
  226. color:{color:text};
  227. }
  228.  
  229.  
  230. #stuff {
  231. width:500px;
  232. margin-top:90px;
  233. margin-bottom:35px;
  234. text-align:justify;
  235. font-size:11px;
  236. line-height:90%;
  237. letter-spacing:0x;
  238. color:{color:text};
  239. }
  240.  
  241. .caption {
  242. width:500px;
  243. text-align:justify;
  244. line-height:120%;
  245. }
  246.  
  247. .ask {
  248. padding:10px;
  249. line-height:120%;
  250. text-align:center;
  251. color:{color:text};
  252. border:4px double {color:borders};
  253. }
  254. .asked {
  255. font-family:'Times New Roman';
  256. font-style:italic;
  257. letter-spacing:2px;
  258. font-size:12px;
  259. }
  260.  
  261. .ans {
  262. text-align:left;
  263. padding:10px;
  264. color:{color:text};
  265. }
  266.  
  267. .audio {
  268. width:492px;
  269. height:60px;
  270. background-color:transparent;
  271. border:4px double {color:borders};
  272. }
  273.  
  274. .albumart {
  275. position:absolute;
  276. margin-top:0px;
  277. }
  278.  
  279. .albumart img {
  280. width:60px;
  281. height:60px;
  282. float:left;
  283. }
  284.  
  285. .playercontainer {
  286. padding-top:17px;
  287. margin-left:17px;
  288. width:26px;
  289. height:26px;
  290. overflow:hidden;
  291. opacity:0.5
  292. }
  293.  
  294. .player {
  295. width:60px;
  296. height:60px;
  297. position:absolute;
  298. background-color:#fff;
  299. opacity:0.6;
  300. -moz-transition-duration:0.5s;
  301. -webkit-transition-duration:0.5s;
  302. -o-transition-duration:0.5s;
  303. }
  304.  
  305. .player:hover {
  306. opacity:0.5;
  307. -moz-transition-duration:0.5s;
  308. -webkit-transition-duration:0.5s;
  309. -o-transition-duration:0.5s;
  310. }
  311.  
  312. .audioinfo {
  313. padding:10px;
  314. padding-top:20px;
  315. font-family:'Times New Roman';
  316. letter-spacing:1px;
  317. font-style:italic;
  318. text-align:center;
  319. line-height:120%;
  320. }
  321.  
  322. #postinfo {
  323. width:482px;
  324. font-size:8px;
  325. padding:5px;
  326. border-style:double;
  327. border-width:4px;
  328. border-color:#ffffff;
  329. background-color:{color:borders};
  330. color:#ffffff;
  331. text-transform:uppercase;
  332. font-style:normal;
  333. letter-spacing:2px;
  334. text-align:center;
  335. }
  336.  
  337. #postinfo a {
  338. color:#ffffff;
  339. text-align:center;
  340. letter-spacing:1px;
  341. font-style:normal;
  342. }
  343.  
  344. #postinfo a:hover {
  345. color:{color:linkshover};
  346. }
  347.  
  348. .tags {
  349. letter-spacing:0px;
  350. text-transform:none;
  351. font-size:10px;
  352. }
  353.  
  354. #buttons {
  355. opacity:0;
  356. float:right;
  357. margin-right:-15px;
  358. margin-top:10px;
  359. -moz-transition-duration:0.5s;
  360. -webkit-transition-duration:0.5s;
  361. -o-transition-duration:0.5s;
  362. }
  363.  
  364. #like {
  365. padding-top:3px;
  366. opacity:0.7;
  367. }
  368.  
  369. #like:hover {
  370. opacity:1;
  371. }
  372.  
  373. #reblog {
  374. padding:0px;
  375. opacity:0.7;
  376. }
  377.  
  378. #reblog:hover {
  379. opacity:1;
  380. }
  381.  
  382. #stuff:hover #buttons{
  383. opacity:1;
  384. float:right;
  385. margin-right:-25px;
  386. -moz-transition-duration:0.5s;
  387. -webkit-transition-duration:0.5s;
  388. -o-transition-duration:0.5s;
  389. }
  390.  
  391. .note {
  392. text-transform:uppercase;
  393. font-style:normal;
  394. letter-spacing:0px;
  395. font-size: 9px;
  396. text-align:left;
  397. line-height:90%;
  398. margin-left:-40px;
  399. }
  400.  
  401. .note li {
  402. list-style-type:none;
  403. border-bottom:1px solid {color:borders};
  404. padding:10px 25px 10px 25px;
  405. text-align:left;
  406. margin:0px;
  407. -moz-transition-duration:0.5s;
  408. -webkit-transition-duration:0.5s;
  409. -o-transition-duration:0.5s;
  410. }
  411.  
  412. ul.chat, .chat ol, .chat li {
  413. list-style:none;
  414. margin:0px;
  415. padding:2px;
  416. }
  417.  
  418. .label {
  419. text-decoration:none;
  420. font-weight:700;
  421. background-color:{color:background};
  422. margin-right:5px;
  423. }
  424.  
  425. #cred {
  426. position:fixed;
  427. font-size:8px;
  428. font-weight:normal;
  429. line-height:150%;
  430. letter-spacing:2px;
  431. right:10px;
  432. bottom:10px;
  433. text-transform:uppercase;
  434. text-align:center;
  435. font-family:'Times New Roman';
  436. }
  437.  
  438. #cred a {
  439. padding:3px;
  440. background-color:transparent;
  441. color:{color:links};
  442. -moz-transition-duration:0.5s;
  443. -webkit-transition-duration:0.5s;
  444. -o-transition-duration:0.5s;
  445. border:1px solid;
  446. }
  447.  
  448. #cred a:hover {
  449. color:{color:background};
  450. background-color:{color:links};
  451. border:1px solid;
  452. }
  453.  
  454. {CustomCSS}
  455.  
  456. </style></head>
  457.  
  458. <body>
  459. <div id="theme">
  460.  
  461. <div id="header"><div id="title"><a href="/">{title}</a></div><div class="desc">{Description}</div></div>
  462.  
  463.  
  464. <div id="linkyblock">
  465. <div class="links">
  466.  
  467. {block:IfLinkA}
  468. <a href="{text:linkA url}">{text:linkA}</a>
  469. {/block:IfLinkA}
  470. {block:IfLinkB}
  471. <a href="{text:linkB url}">{text:linkB}</a>
  472. {/block:IfLinkB}
  473. {block:IfLinkC}
  474. <a href="{text:linkC url}">{text:linkC}</a>
  475. {/block:IfLinkC}
  476. {block:IfLinkD}
  477. <a href="{text:linkD url}">{text:linkD}</a>
  478. {/block:IfLinkD}
  479. </div>
  480.  
  481. </div>
  482.  
  483. <div id="stuffcontainer">
  484.  
  485. {block:Posts}
  486.  
  487. <div id="stuff">
  488.  
  489. <div id="buttons"><div id="reblog">{ReblogButton size="15"}</div><div id="like">{LikeButton size="15"}</div></div>
  490.  
  491. {block:Text}{block:Title}<h2>{Title}</h2>{/block:Title}{Body}{/block:Text}
  492.  
  493. {block:Quote}<h2>“{Quote}”</h2><h1>{Source}</h1>{/block:Quote}
  494.  
  495. {block:Link}<a href="{URL}"><h2>{Name}</h2></a>
  496. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  497.  
  498. {block:Photo}<center><img src="{PhotoURL-500}"/></center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  499.  
  500. {block:Photoset}<center>{Photoset-500}</center>
  501. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  502.  
  503. {block:Chat}<ul class="chat">{block:Title}<h2>{Title}</h2>{/block:Title}{block:Lines}<li>{block:Label}<span class="label">{Label}</span>{/block:Label}&nbsp;{Line}</li>{/block:Lines}</ul>{/block:Chat}
  504.  
  505. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  506.  
  507. {block:Answer}<div class="ask"><div class="asked">{Asker} asked:</div> {Question}</div><div class="ans">{Answer}</div>{/block:answer}
  508.  
  509. {block:Audio}
  510. <div class="audio">{block:AlbumArt}<div class="albumart"><img src="{AlbumArtURL}"/></div>{/block:AlbumArt}<div class="player"><div class="playercontainer">{AudioPlayerWhite}</div></div>
  511. <div class="audioinfo">{block:TrackName}{TrackName}{/block:TrackName}{block:Artist} <b>by</b> {Artist} •{/block:Artist}
  512. {/block:ExternalAudio} {PlayCountWithLabel}</div>
  513. </div>
  514. {block:Caption}{Caption}{/block:Caption}{/block:Audio}
  515.  
  516.  
  517.  
  518. {block:Date}<div id="postinfo"> <a href="{Permalink}">{TimeAgo}</a>{/block:Date}{block:NoteCount} • <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom} • <a href="{ReblogParentURL}">via</a>{/block:RebloggedFrom}
  519. {block:ContentSource} • <a href="{SourceURL}">source</a>{/block:ContentSource}
  520.  
  521. {block:HasTags}<div class="tags">
  522. {block:Tags}<a href="{TagURL}"> #{Tag}</a>{/block:Tags}</div>
  523. {/block:HasTags}
  524. <div class="note">
  525. {block:PostNotes}{PostNotes}{/block:PostNotes}</div>
  526. </div></div>
  527. {/block:posts}
  528.  
  529. {block:Pagination}
  530. <div class="pagi">
  531. {block:PreviousPage}
  532. <a href="{PreviousPage}">«</a>
  533. {/block:PreviousPage}
  534. {block:JumpPagination length="5"}
  535. {block:CurrentPage}
  536. <span class="current_page" style="padding:2px;padding-left:5px; padding-right:5px; background-color:{color:borders}; color:#ffffff;">{PageNumber}</span>
  537. {/block:CurrentPage}
  538. {block:JumpPage}
  539. <a class="jump_page" href="{URL}">{PageNumber}</a>
  540. {/block:JumpPage}
  541. {/block:JumpPagination}
  542. {block:NextPage}
  543. <a href="{NextPage}">»</a>
  544. {/block:NextPage}
  545. </div>
  546. {/block:Pagination}
  547.  
  548. </div>
  549. </div>
  550. <div id="cred"><a href="http://swlft.tumblr.com/">Theme</a></div>
  551. </div>
  552.  
  553. </body>
  554. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement