reatsui

theme 33: pill

Jul 27th, 2015
1,039
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.43 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2.  
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  
  5. <!----------
  6.  
  7. THEME 33: PILL
  8. THIS THEME IS DESINGED AND CODED BY YFIAN.TUMBLR.COM.
  9. PLEASE DO NOT STEAL, REDISTRIBUTE, REMOVE THE CREDIT OR USE AS BASE.
  10. MESSAGE ME IF YOU'RE HAVING PROBLEMS WITH THE THEME.
  11.  
  12. ---------->
  13.  
  14. <head>
  15.  
  16. <title>{Title}</title>
  17. <link rel="shortcut icon" href="{Favicon}">
  18. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  19.  
  20. <!--Default Variables-->
  21. <!--Colors-->
  22.  
  23. <meta name="color:Background" content="#f5f5f5"/>
  24. <meta name="color:Container Background" content="#ffffff"/>
  25. <meta name="color:Caption Background" content="#f8f8f8"/>
  26. <meta name="color:Title" content="#000000"/>
  27. <meta name="color:Asker" content="#fafafa"/>
  28. <meta name="color:Border" content="#000000"/>
  29. <meta name="color:Icon Border" content="#f4f4f4"/>
  30. <meta name="color:Link" content="#817e7e"/>
  31. <meta name="color:Accent" content="#eeeeee"/>
  32. <meta name="color:Sidelink" content="#000000"/>
  33. <meta name="color:Blog Title" content="#000000"/>
  34. <meta name="color:Hover" content="#cfcfcf"/>
  35. <meta name="color:Description" content="#000000"/>
  36. <meta name="color:Scrollbar" content="#000000"/>
  37. <meta name="color:Hover" content="#cfcfcf"/>
  38. <meta name="color:Text" content="#000000"/>
  39. <meta name="color:Credit Link" content="#a80000"/>
  40. <meta name="color:Credit Hover" content="#474747"/>
  41.  
  42. <!--Titles-->
  43.  
  44. <meta name="text:Title" content="just like a pill"/>
  45. <meta name="text:Subtitle" content="you're my addiction"/>
  46.  
  47. <!--Links-->
  48.  
  49. <meta name="text:Link1" content="/" />
  50. <meta name="text:Link1 Title" content="link 1" />
  51. <meta name="text:Link2" content="/" />
  52. <meta name="text:Link2 Title" content="link 2" />
  53. <meta name="text:Link3" content="/" />
  54. <meta name="text:Link3 Title" content="link 3" />
  55. <meta name="text:Link4" content="/" />
  56. <meta name="text:Link4 Title" content="link 4" />
  57. <meta name="text:Link5" content="/" />
  58. <meta name="text:Link5 Title" content="link 5" />
  59.  
  60. <!--Images-->
  61.  
  62. <meta name="image:Icon" content="http://ic.pics.livejournal.com/thulian/71619560/7812/7812_original.png"/>
  63.  
  64. <!--Modal Script-->
  65.  
  66. <script type="text/javascript"
  67. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  68. <script>
  69. $(document).ready(function() {
  70. //
  71. $('a.poplight[href^=#]').click(function() {
  72. var popID = $(this).attr('rel'); //Get Popup Name
  73. var popURL = $(this).attr('href'); //Get Popup href to define size
  74. var query= popURL.split('?');
  75. var dim= query[1].split('&');
  76. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  77. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"></a>');
  78. var popMargTop = ($('#' + popID).height() + 80) / 2;
  79. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  80. //Apply Margin to Popup
  81. $('#' + popID).css({
  82. 'margin-top' : -popMargTop,
  83. 'margin-left' : -popMargLeft
  84. });
  85. $('body').append('<div id="fade"></div>');
  86. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  87. return false;
  88. });
  89. $('a.close, #fade').live('click', function() {
  90. $('#fade , .popup_block').fadeOut(function() {
  91. $('#fade, a.close').remove(); //fade them both out
  92. });
  93. return false;
  94. });
  95. });
  96. </script>
  97.  
  98. <style type="text/css">
  99.  
  100. ::-webkit-scrollbar-thumb:vertical {
  101. background:{color:Scrollbar};
  102. height: 81px;
  103. }
  104.  
  105. ::-webkit-scrollbar {
  106. height: 8px;
  107. width: 3px;
  108. }
  109.  
  110. body {
  111. background-color:{color:Background};
  112. margin:0px;
  113. font-family:Arial, Helvetica, sans-serif;
  114. font-size:11px;
  115. color:{color:Text};
  116. text-align:justify;
  117. text-transform:none;
  118. letter-spacing:0px;
  119. line-height:110%;
  120. cursor: url(http://media.tumblr.com/tumblr_lqs4idHqTZ1qfoi4t.png), progress;
  121. }
  122.  
  123. a {
  124. color:{color:Link};
  125. text-decoration:none;
  126. -webkit-transition: all 0.5s ease;
  127. -moz-transition: all 0.5s ease;
  128. -o-transition: all 0.5s ease;
  129. }
  130.  
  131. img {
  132. max-width:100%;
  133. height:auto;
  134. }
  135.  
  136. h1 {
  137. font-size:12px;
  138. text-transform:none;
  139. font-style:none;
  140. font-family:Arial;
  141. font-weight:normal;
  142. line-height:140%;
  143. text-align:center;
  144. }
  145.  
  146. a:hover {
  147. color:{color:Hover};
  148. }
  149.  
  150. small{
  151. font-size:8px;
  152. line-height:140%;
  153. }
  154.  
  155. big {
  156. font-size:8px;
  157. line-height:140%;
  158. }
  159.  
  160. b, strong{
  161. color:{color:Text};
  162. font-weight:bold;
  163. letter-spacing:0px;
  164. }
  165.  
  166. i, em {
  167. color:{color:Text};
  168. font-style:italic;
  169. }
  170.  
  171. p {
  172. margin-top:5px;
  173. margin-bottom:5px;
  174. }
  175.  
  176. blockquote {
  177. padding:1px;
  178. padding-left:5px;
  179. margin:5px;
  180. border-left:1px solid {color:Border};
  181. }
  182.  
  183. blockquote img {
  184. max-width:200px;
  185. height:auto;
  186. }
  187.  
  188. blockquote blockquote {
  189. padding-left:5px;
  190. border-left:1px solid;
  191. }
  192.  
  193. #quote {
  194. padding:8px;
  195. margin-bottom:5px;
  196. text-align:left;
  197. font-size:15px;
  198. font-weight:none;
  199. font-family:Arial;
  200. font-style:none;
  201. letter-spacing:-1px;
  202. text-transform:none;
  203. line-height:110%;
  204. }
  205.  
  206. #chat {
  207. text-transform:none;
  208. font-size:11px;
  209. }
  210.  
  211. #website {
  212. font-family:Arial;
  213. font-style:none;
  214. text-align:left;
  215. font-size:13px;
  216. color:{color:Text};
  217. }
  218.  
  219. .icon {
  220. background:{color:Icon Border};
  221. width:40px;
  222. height:40px;
  223. padding:8px;
  224. }
  225.  
  226. .question {
  227. padding:15px;
  228. margin-top:-60px;
  229. margin-left:60px;
  230. }
  231.  
  232. .asker {
  233. text-transform:uppercase;
  234. font-weight:bold;
  235. font-size:8px;
  236. }
  237.  
  238. .audio { height:60px; padding:5px; margin-bottom:5px;}
  239. .audio-album { position:absolute; width:60px; }
  240. .audio-player { position:absolute; width:25px; height:25px; margin-left:15px; margin-top:15px; opacity:0.9; overflow:hidden; border:2px solid {color:Border}; }
  241. .audio-info { margin-top:-2px; position:relative; margin-left:70px; padding:5px; }
  242.  
  243. #container {
  244. width:440px;
  245. margin-left:auto;
  246. margin-right:auto;
  247. background:{color:Container Background};
  248. padding:40px;
  249. padding-top:20px;
  250. padding-bottom:20px;
  251. }
  252.  
  253. .entries {
  254. width:400px;
  255. border:1px solid {color:Accent};
  256. background:{color:Container Background};
  257. padding:20px;
  258. }
  259.  
  260. #caption {
  261. margin-top:5px;
  262. background:{color:Caption Background};
  263. padding:10px;
  264. }
  265.  
  266. #posts{
  267. width:400px;
  268. margin-top:80px;
  269. margin-left:0px;
  270. padding-bottom:0px;
  271. }
  272.  
  273. #header {
  274. width:200px;
  275. margin-left:auto;
  276. margin-right:auto;
  277. margin-top:100px;
  278. }
  279.  
  280. #title {
  281. color:{color:Text};
  282. font-size:12px;
  283. font-weight:700;
  284. text-transform:uppercase;
  285. line-height:100%;
  286. text-align:center;
  287. font-family:Consolas;
  288. }
  289.  
  290. #links {
  291. font-size:11px;
  292. margin-top:5px;
  293. letter-spacing:0px;
  294. text-transform:lowercase;
  295. text-align:center;
  296. font-family:Arial;
  297. margin-left:0px;
  298. padding-top:10px;
  299. }
  300.  
  301. #links a {
  302. display:inline-block;
  303. color:{color:Sidelink};
  304. margin-right:5px;
  305. margin-left:5px;
  306. margin-bottom:5px;
  307. border-bottom:1px solid {color:Accent};
  308. text-align:center;
  309. }
  310.  
  311. #links a:first-letter {
  312. text-transform:uppercase;
  313. }
  314.  
  315. #links a:hover {
  316. color:{color:Hover};
  317. }
  318.  
  319. .popup_block{
  320. display:none;
  321. background:{color:Container Background};
  322. padding:20px;
  323. float:left;
  324. position:fixed;
  325. top:50%;
  326. left:50%;
  327. z-index:99999;
  328. }
  329.  
  330. *html #fade {
  331. position:absolute;
  332. }
  333.  
  334. *html .popup_block {
  335. position:absolute;
  336. }
  337.  
  338. #fade {
  339. display:none;
  340. position:fixed;
  341. left:0px;
  342. top:0px;
  343. width:100%;
  344. height:100%;
  345. z-index:9999;
  346. background:{color:Background};
  347. }
  348.  
  349. #background {
  350. background:{color:Container Background};
  351. padding:20px;
  352. }
  353.  
  354. #icon img {
  355. width:65px;
  356. height:65px;
  357. border:3px solid {color:Accent};
  358. }
  359.  
  360. #subtitle {
  361. margin-top:15px;
  362. font-family:Arial;
  363. font-size:8px;
  364. font-style:none;
  365. text-align:justify;
  366. letter-spacing:1px;
  367. text-transform:uppercase;
  368. margin-top:15px;
  369. font-weight:bold;
  370. display:inline-block;
  371. padding:10px;
  372. padding-bottom:8px;
  373. border:1px solid {color:Accent};
  374. }
  375.  
  376. #description {
  377. font-family:Arial;
  378. font-size:8px;
  379. font-style:none;
  380. text-align:justify;
  381. letter-spacing:1px;
  382. text-transform:uppercase;
  383. margin-top:12px;
  384. }
  385.  
  386. #sublinks {
  387. margin-top:15px;
  388. font-family:Arial;
  389. font-size:8px;
  390. font-style:none;
  391. text-align:left;
  392. letter-spacing:1px;
  393. text-transform:uppercase;
  394. padding-top:15px;
  395. border-top:1px solid {color:Accent};
  396. }
  397.  
  398. #sublinks a {
  399. color:{color:Sidelink};
  400. margin-right:10px;
  401. }
  402.  
  403. #sublinks a:hover {
  404. color:{color:Hover};
  405. }
  406.  
  407. .pagination {
  408. width:400px;
  409. padding:20px;
  410. text-align:center;
  411. font-style:none;
  412. font-size:9px;
  413. font-family:Arial;
  414. text-transform:uppercase;
  415. margin-left:0px;
  416. margin-top:0px;
  417. letter-spacing:0px;
  418. margin-bottom:100px;
  419. }
  420.  
  421. .pagination a {
  422. display:inline-block;
  423. margin-right:0px;
  424. padding:0px;
  425. color:{color:Text};
  426. }
  427.  
  428. .pagination a:hover {
  429. color:{color:Hover};
  430. }
  431.  
  432. #info {
  433. font-family:Arial;
  434. font-size:8px;
  435. font-style:none;
  436. text-align:left;
  437. letter-spacing:0px;
  438. text-transform:uppercase;
  439. margin-bottom:70px;
  440. width:400px;
  441. padding:20px;
  442. padding-bottom:18px;
  443. background:{color:Container Background};
  444. border-left:1px solid {color:Accent};
  445. border-right:1px solid {color:Accent};
  446. border-bottom:1px solid {color:Accent};
  447. }
  448.  
  449. #info a {
  450. color:{color:Sidelink};
  451. }
  452.  
  453. #info a:hover {
  454. color:{color:Hover};
  455. }
  456.  
  457. #tags {
  458. font-family:Arial;
  459. font-style:none;
  460. letter-spacing:0px;
  461. text-transform:uppercase;
  462. text-align:left;
  463. font-size:8px;
  464. margin-top:0px;
  465. font-weight:normal;
  466. }
  467.  
  468. #tags a {
  469. color:{color:Sidelink};
  470. }
  471.  
  472. #tags a:hover {
  473. color:{color:Hover};
  474. }
  475.  
  476. #notes {
  477. font-family:Arial;
  478. font-size:8px;
  479. font-weight:normal;
  480. font-style:none;
  481. letter-spacing:0px;
  482. text-transform:uppercase;
  483. }
  484.  
  485. #notes a {
  486. color:{color:Sidelink};
  487. }
  488.  
  489. #notes a:hover {
  490. color:{color:Hover};
  491. }
  492.  
  493. #notes img {
  494. display:none;
  495. }
  496.  
  497. #credit {
  498. font-family:Arial;
  499. font-size:8px;
  500. letter-spacing:0px;
  501. float:right;
  502. position:fixed;
  503. bottom:25px;
  504. right:20px;
  505. }
  506.  
  507. #credit a {
  508. color:{color:Credit Link};
  509. padding:5px;
  510. text-transform:uppercase;
  511. }
  512.  
  513. #credit a:hover {
  514. opacity:0.5;
  515. color: transparent;
  516. text-shadow:0 0 2px {color:Credit Hover};
  517. text-decoration:none;
  518. background:none;
  519. -moz-transition-duration:0.5s;
  520. -webkit-transition-duration:0.5s;
  521. -o-transition-duration:0.5s;
  522. }
  523.  
  524. {CustomCSS}</style></head><body>
  525.  
  526. <div id="container">
  527.  
  528. <div id="header">
  529. <div id="title"><div style="padding:5px;padding-bottom:4px;display:inline-block;border:1px solid {color:Accent};">{text:Title}</div></div>
  530. <div id="links">
  531. <a href="/">home</a>
  532. <a href="/ask">ask</a>
  533. <a href="#?w=300" rel="content" class="poplight">info</a>
  534. <a href="/archive">archive</a>
  535. </div>
  536. </div>
  537.  
  538. <div id="content" class="popup_block">
  539. <div id="background">
  540. <div id="icon"><img src="{image:Icon}"/></div>
  541. <div id="subtitle">{text:Subtitle}</div>
  542. <div id="description">{Description}</div>
  543. <div id="sublinks">
  544. {block:ifLink1}<a href="{text:Link1}">{text:Link1 Title}</a>{/block:ifLink1}
  545. {block:ifLink2}<a href="{text:Link2}">{text:Link2 Title}</a>{/block:ifLink2}
  546. {block:ifLink3}<a href="{text:Link3}">{text:Link3 Title}</a>{/block:ifLink3}
  547. {block:ifLink4}<a href="{text:Link4}">{text:Link4 Title}</a>{/block:ifLink4}
  548. {block:ifLink5}<a href="{text:Link5}">{text:Link5 Title}</a>{/block:ifLink5}
  549. </div>
  550. </div>
  551. </div>
  552.  
  553. <div id="posts">
  554. {block:Posts}
  555. <div class="entries">
  556.  
  557. {block:Photo}<img src="{PhotoURL-400}">
  558. {block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
  559. {/block:Photo}
  560.  
  561. {block:Photoset}{Photoset-400}
  562. {block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
  563. {/block:Photoset}
  564.  
  565. {block:Text}<h1>{block:Title}{Title}{/block:Title}</h1>{Body}{/block:Text}
  566.  
  567. {block:Quote}<div id="quote">❝{Quote}</i>❞{block:Source} — {Source}</div>{/block:Source}{/block:Quote}
  568.  
  569. {block:Link}<div id="website"><a href="{URL}" {Target}>{Name}</a></div>{block:Description}{Description}{/block:Description}{/block:Link}
  570.  
  571. <div id="chat">
  572. {block:Chat}
  573. {block:Title}
  574. <h1>{Title}</h1>
  575. {/block:Title}
  576. {block:Lines}
  577. {block:Label}<b>{Label}</b>{/block:Label} -
  578. {Line}<br>
  579. {/block:Lines}{/block:Chat}
  580. </div>
  581.  
  582. {block:Audio}
  583. <div class="audio">
  584. {block:AlbumArt}<img class="audio-album" src="{AlbumArtURL}">{/block:AlbumArt}
  585. <div class="audio-player">{block:AudioPlayer}{AudioPlayerWhite}{/block:AudioPlayer}</div>
  586. <div class="audio-info">
  587. {block:TrackName}<b>Title:</b> {TrackName}<br>{/block:TrackName}
  588. {block:Artist}<b>Artist:</b> {Artist}<br>{/block:Artist}
  589. {block:Album}<b>Album:</b> {Album}<br>{/block:Album}
  590. {block:PlayCount}<b>Plays:</b> {PlayCount}<br>{/block:PlayCount}
  591. </div></div>{block:Caption}{Caption}{/block:Caption}
  592. {/block:Audio}
  593.  
  594. {block:Video}
  595. {Video-500}
  596. {block:Caption}<div id="caption">{Caption}</div>{/block:Caption}
  597. {/block:Video}
  598.  
  599. {block:Answer}<div class="icon"><img src="{AskerPortraitURL-40}" /></div>
  600. <div class="question"><span class="asker"><a href="{AskerURL}">{Asker}</a> asked:</span><br>{Question}</div><br>{Answer}{/block:Answer}
  601. </div>
  602.  
  603.  
  604. {block:Date}<div id="info"> <a href="{Permalink}">{NoteCount}</a> notes {/block:Date} {block:RebloggedFrom} via <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom} {block:ContentSource}(orig <a href="{SourceURL}">{SourceLink}</a>){/block:ContentSource}{block:RebloggedFrom} <a href="{ReblogParentURL}" target="_blank"></a>{/block:RebloggedFrom}
  605.  
  606. {block:HasTags}<div id="tags">{block:Tags}#<a href="{TagURL}">{Tag}</a> {/block:Tags}</div>{/block:HasTags}
  607. {block:PostNotes}<div id="notes">{PostNotes}</div>{/block:PostNotes}</div>
  608.  
  609. {/block:Posts}
  610.  
  611. </div>
  612.  
  613. <div class="pagination">
  614. {block:PreviousPage}
  615. <a href="{PreviousPage}">newer</a> /
  616. {/block:PreviousPage}
  617. {block:NextPage}
  618. <a href="{NextPage}">older</a>
  619. {/block:NextPage}</div>
  620.  
  621. </div>
  622.  
  623. <div id="credit"><a href="http://yfian.tumblr.com/">yfian</a></div>
  624.  
  625. </body>
  626. </html>
Advertisement
Add Comment
Please, Sign In to add comment