Advertisement
ameliasdreams

theme 28 - déjà entendu

Sep 20th, 2014
2,878
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.88 KB | None | 0 0
  1. <!---
  2.  
  3. theme no. 28 - déjà entendu, by ohstrax.tumblr.com
  4.  
  5. terms:
  6. > do not remove, change, or move credit to another page
  7. > do not cover it with anything or make it invisible
  8. > do not steal this code and claim it as your own
  9. > do not use this as a base or take parts of the code
  10.  
  11. please like or reblog the post! enjoy (◡‿◡✿)
  12.  
  13. --->
  14.  
  15. <!DOCTYPE html>
  16.  
  17. <html>
  18.  
  19. <head>
  20.  
  21. <title>{Title}</title>
  22.  
  23. <link rel="shortcut icon" href="{Favicon}">
  24.  
  25. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  26.  
  27. {block:Description}
  28. <meta name="description" content="{MetaDescription}" />
  29. {/block:Description}
  30.  
  31. <meta name="image:sidebar" content="" />
  32.  
  33. <meta name="color:background" content="#ffffff" />
  34. <meta name="color:text" content="#333333" />
  35. <meta name="color:link" content="#333333" />
  36. <meta name="color:link hover" content="#000000" />
  37. <meta name="color:border" content="#f4f4f4" />
  38. <meta name="color:info background" content="#f4f4f4" />
  39.  
  40. <meta name="text:link 1" content="" />
  41. <meta name="text:link 1 url" content="" />
  42. <meta name="text:link 2" content="" />
  43. <meta name="text:link 2 url" content="" />
  44. <meta name="text:link 3" content="" />
  45. <meta name="text:link 3 url" content="" />
  46. <meta name="text:link 4" content="" />
  47. <meta name="text:link 4 url" content="" />
  48.  
  49. <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
  50.  
  51. <style type="text/css">
  52.  
  53. body {
  54. background:{color:background};
  55. color:{color:text};
  56. font-size:9px;
  57. font-family:'Arial', sans-serif;
  58. letter-spacing:1px;
  59. line-height:140%;
  60. }
  61.  
  62. a {
  63. color:{color:link};
  64. text-decoration:none;
  65. -webkit-transition-duration:0.3s;
  66. -moz-transition-duration:0.3s;
  67. -o-transition-duration:0.3s;
  68. }
  69.  
  70. a:hover { color:{color:link hover}; }
  71.  
  72. h1 {
  73. font-size:10px;
  74. margin:0px;
  75. text-transform:uppercase;
  76. }
  77.  
  78. blockquote {
  79. border-left:1px solid {color:border};
  80. margin-left:20px;
  81. padding:0px 10px;
  82. }
  83.  
  84. ::-webkit-scrollbar {
  85. width:5px;
  86. background:{color:background};
  87. }
  88.  
  89. ::-webkit-scrollbar-thumb {
  90. background:{color:text};
  91. }
  92.  
  93. .sidebar {
  94. position:absolute;
  95. text-align:center;
  96. width:200px;
  97. left:200px;
  98. top:150px;
  99. }
  100.  
  101. .stick {
  102. position:fixed;
  103. top:0px;
  104. }
  105.  
  106. .sidebar img {
  107. width:200px;
  108. padding-top:50px;
  109. }
  110.  
  111. #title {
  112. padding:8px 0px;
  113. border-bottom:3px double {color:border};
  114. font-size:11px;
  115. font-style:italic;
  116. }
  117.  
  118. #desc {
  119. padding:10px 12px;
  120. text-align:justify;
  121. }
  122.  
  123. #links {
  124. width:90px;
  125. margin-left:55px;
  126. font-size:8px;
  127. font-style:italic;
  128. }
  129.  
  130. #links a {
  131. padding:3px 0px;
  132. border-bottom:1px solid {color:border};
  133. display:block;
  134. }
  135.  
  136. #links a:hover {
  137. background:{color:info background};
  138. }
  139.  
  140. #posts {
  141. position:absolute;
  142. width:400px;
  143. margin-left:550px;
  144. margin-top:60px;
  145. }
  146.  
  147. .post {
  148. margin-bottom:60px;
  149. }
  150.  
  151. .caption {
  152. padding:5px 0px;
  153. }
  154.  
  155. #quote {
  156. padding:10px;
  157. border:3px double {color:border};
  158. text-transform:uppercase;
  159. text-align:center;
  160. }
  161.  
  162. #source {
  163. font-size:8px;
  164. font-weight:bold;
  165. text-transform:uppercase;
  166. text-align:center;
  167. margin-bottom:10px;
  168. }
  169.  
  170. #chat {
  171. padding-bottom:5px;
  172. }
  173.  
  174. #chat li {
  175. padding:5px;
  176. border-bottom:1px solid {color:border};
  177. }
  178.  
  179. .newplayerbutton {
  180. position:relative;
  181. width:28px;
  182. height:27px;
  183. overflow:hidden;
  184. }
  185.  
  186. .playerbuttonhug {
  187. position:absolute;
  188. top:-11px;
  189. left:-12px;
  190. }
  191.  
  192. .tumblr_audio_player {
  193. border:none;
  194. padding:0px;
  195. padding-left:12.5px;
  196. margin:0px;
  197. height:50px;
  198. width:400px;
  199. }
  200.  
  201. .playerbuttonbg {
  202. top:20px;
  203. width:360px;
  204. background:#000;
  205. padding:20px;
  206. }
  207.  
  208. .trackdetails {
  209. font-size:9px;
  210. text-transform:uppercase;
  211. text-align:center;
  212. margin-bottom:5px;
  213. }
  214.  
  215. .audiowrapper {
  216. position:relative;
  217. display:inline-block;
  218. margin-bottom:10px;
  219. }
  220.  
  221. #asker {
  222. text-transform:uppercase;
  223. text-align:right;
  224. font-size:11px;
  225. font-weight:bold;
  226. }
  227.  
  228. #question {
  229. margin-top:5px;
  230. padding:15px;
  231. background:{color:info background};
  232. }
  233.  
  234. #permalink {
  235. padding:10px;
  236. background:{color:info background};
  237. text-align:center;
  238. text-transform:uppercase;
  239. font-size:7px;
  240. }
  241.  
  242. #permalink a {
  243. margin:0px 3px;
  244. }
  245.  
  246. #permalink a:hover {
  247. font-weight:bold;
  248. }
  249.  
  250. #notes {
  251. width:400px;
  252. margin-left:-40px;
  253. font-size:9px;
  254. text-transform:lowercase;
  255. }
  256.  
  257. #notes li {
  258. width:390px;
  259. padding:5px;
  260. list-style-type:none;
  261. border-bottom:1px solid {color:border};
  262. }
  263.  
  264. #notes img {
  265. display:none;
  266. }
  267.  
  268. #pagi {
  269. position:absolute;
  270. width:400px;
  271. margin-bottom:30px;
  272. text-align:center;
  273. font-size:7px;
  274. text-transform:uppercase;
  275. }
  276.  
  277. #pagi a {
  278. padding:5px;
  279. margin:0px 3px;
  280. background:{color:info background};
  281. }
  282.  
  283. #text {
  284. position:fixed;
  285. bottom:5px;
  286. right:5px;
  287. line-height:25px;
  288. width:25px;
  289. text-align:center;
  290. text-transform:uppercase;
  291. font-size:8px;
  292. color:#000;
  293. background:#f0f0f0;
  294. }
  295.  
  296. </style>
  297.  
  298. <script>
  299. $(document).ready(function(){
  300. $(window).bind('scroll', function(){
  301. if($(window).scrollTop() > 150){
  302. $('.sidebar').addClass('stick');
  303. }
  304. else{
  305. $('.sidebar').removeClass('stick');
  306. }
  307. });
  308. });
  309. </script>
  310.  
  311. </head><body>
  312.  
  313. <div class="sidebar">
  314. <img src="{image:sidebar}" />
  315. <div id="title">{Title}</div>
  316. <div id="desc">{Description}</div>
  317. <div id="links">
  318. <a href="{text:link 1 url}">{text:link 1}</a>
  319. <a href="{text:link 2 url}">{text:link 2}</a>
  320. <a href="{text:link 3 url}">{text:link 3}</a>
  321. <a href="{text:link 4 url}">{text:link 4}</a>
  322. </div>
  323. </div>
  324.  
  325. <div id="posts">
  326.  
  327. {block:Posts}
  328.  
  329. <div class="post">
  330.  
  331. {block:Text}
  332. {block:Title}
  333. <h1>{Title}</h1>
  334. {/block:Title}
  335. <div class="caption">{Body}</div>
  336. {/block:Text}
  337.  
  338. {block:Photo}
  339. {LinkOpenTag}
  340. <img src="{PhotoURL-400}" alt="{PhotoAlt}"/>
  341. {LinkCloseTag}
  342. {/block:Photo}
  343.  
  344. {block:Photoset}
  345. {Photoset-400}
  346. {/block:Photoset}
  347.  
  348. {block:Quote}
  349. <div id="quote">"{Quote}"</div><p>
  350. {block:Source}
  351. <div id="source">{Source}</div>
  352. {block:Source}
  353. {/block:Quote}
  354.  
  355. {block:Link}
  356. <h1><a href="{Link}">{Name}</a></h1>
  357. {block:Description}
  358. <div class="caption">{Description}</div>
  359. {/block:Description}
  360. {/block:Link}
  361.  
  362. {block:Chat}
  363. {block:Title}
  364. <h1>{Title}</h1>
  365. {/block:Title}
  366. <div id="chat">
  367. {block:Lines}
  368. <li style="list-style-type:none" class="{Alt}">
  369. {block:Label}{Label}{/block:Label}
  370. {Line}
  371. </li>
  372. {/block:Lines}
  373. </div>
  374. {/block:Chat}
  375.  
  376. {block:AudioPlayer}
  377. <div class="audiowrapper">
  378. <div class="trackdetails">
  379. {block:TrackName}<b>{TrackName}</b>{/block:TrackName};
  380. {block:Artist}{Artist}{/block:Artist};
  381. {PlayCountWithLabel}
  382. </div>
  383. <div class="playerbuttonbg">
  384. <div class="newplayerbutton">
  385. <div class="playerbuttonhug">
  386. {AudioPlayerBlack}
  387. </div>
  388. </div>
  389. </div>
  390. </div>
  391. {/block:AudioPlayer}
  392.  
  393. {block:Video}
  394. {Video-400}
  395. {/block:Video}
  396.  
  397. {block:Answer}
  398. <h1><a href="{AskerURL}">{Asker}:</a></h1>
  399. <div id="question">
  400. {Question}
  401. </div>
  402. <div class="caption">{Answer}</div>
  403. {/block:Answer}
  404.  
  405. {block:Caption}
  406. <div class="caption">{Caption}</div>
  407. {/block:Caption}
  408.  
  409. <div id="permalink">
  410. {block:Date}
  411. <a href="{Permalink}">{ShortMonth} {DayOfMonth}, {Year}</a>
  412. {/block:Date}
  413. {block:NoteCount}
  414. <a href="{Permalink}">+{NoteCount}</a>
  415. {/block:NoteCount}
  416. {block:RebloggedFrom}
  417. <a href="{ReblogParentURL}">via</a>
  418. {/block:RebloggedFrom}
  419. {block:ContentSource}
  420. <a href="{SourceURL}">org</a>
  421. {/block:ContentSource}
  422. <div id="tags">
  423. {block:HasTags}
  424. {block:Tags}
  425. <a href="{TagURL}">#{Tag} </a>
  426. {/block:Tags}
  427. {/block:HasTags}
  428. </div>
  429. </div>
  430.  
  431. {block:PostNotes}
  432. <div id="notes">{PostNotes}</div>
  433. {/block:PostNotes}
  434.  
  435. </div>
  436.  
  437. {/block:Posts}
  438.  
  439. <div id="pagi">
  440. {block:Pagination}
  441. {block:PreviousPage}
  442. <a href="{PreviousPage}">prev</a> -
  443. {/block:PreviousPage}
  444. {block:NextPage}
  445. <a href="{NextPage}">next</a>
  446. {/block:NextPage}
  447. </span>
  448. {/block:Pagination}
  449. </div>
  450.  
  451. </div>
  452.  
  453. <div id="text"><a href="http://ohstrax.tumblr.com/">mk</a></div>
  454.  
  455. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement