Advertisement
gwentee

Prince Daehyun Theme (with popup)

Jul 23rd, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.24 KB | None | 0 0
  1. <!---
  2.  
  3. Theme #2: Bubble Tea ft Oh Sehun
  4. Theme by Gwendolyn @ luhands-themes
  5. Please do NOT remove the credit
  6. You are free to customize theme
  7. Any questions? Ask here:
  8. getyourluhandsonme.tumblr.com/faq
  9. or
  10. luhandsthemes.tumblr.com/faq
  11. PLEASE Like or Reblog
  12. I'd Love to see what you've done
  13. --->
  14.  
  15.  
  16.  
  17. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  18.  
  19. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  20. <head>
  21. <title>{Title}</title>
  22. <link rel="shortcut icon" href="{Favicon}">
  23.  
  24.  
  25.  
  26. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  27. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  28.  
  29.  
  30. <meta name="color:bg" content="#FFFFFF">
  31. <meta name="color:blogtitlebackground" content="#b1ebe6" />
  32. <meta name="color:blogtitle" content="#ee6446" />
  33. <meta name="color:postbg" content="FFFFFF">
  34. <meta name="color:border" content="#e2e1e1">
  35. <meta name="color:infobg" content="#F9F9F9">
  36. <meta name="color:links hover" content="#f7f5f5">
  37. <meta name="color:links" content="#c2c2c2">
  38. <meta name="color:title" content="#f7f5f5">
  39. <meta name="color:scrollbar" content="#dddada">
  40. <meta name="color:scrollbar bg" content="#f7f5f5">
  41. <meta name="color:tags" content="#d3d0d0">
  42. <meta name="color:text" content="#c0bfbf">
  43. <meta name="image:sidebar" content=""/>
  44.  
  45.  
  46. <meta name="text:linkA" content="">
  47. <meta name="text:linkA url" content="/">
  48. <meta name="text:linkB" content="">
  49. <meta name="text:linkB url" content="/">
  50. <meta name="text:linkC" content="">
  51. <meta name="text:linkC url" content="/">
  52. <meta name="text:linkD" content="">
  53. <meta name="text:linkD url" content="/">
  54.  
  55. <meta name="if:InfiniteScrolling" content="0" />
  56. <style type="text/css">
  57.  
  58. ::-webkit-scrollbar {background-color:{color:scrollbar bg}; height:8px; width:5px}
  59. ::-webkit-scrollbar-thumb:vertical {background-color:{color:scrollbar}; height:50px}
  60. ::-webkit-scrollbar-thumb:horizontal {background-color:{color:scrollbar}; height:10px!important}
  61.  
  62.  
  63. @font-face { font-family: "masexy"; src: url('http://static.tumblr.com/q54tzar/4Ugm21ggi/ma_sexy_1_.ttf'); }
  64.  
  65.  
  66.  
  67.  
  68. body {
  69. background:{color:bg};
  70. color:{color:text};
  71. font-family: New York;
  72. font-size:10px;
  73. }
  74.  
  75.  
  76. a {
  77. color:{color:links};
  78. text-decoration:none
  79. }
  80.  
  81.  
  82. a:hover {
  83. opacity:1;
  84. font-family: New York;
  85. color:{color:links hover};
  86. letter-style:bold}
  87.  
  88. img {
  89. border:none;
  90. }
  91.  
  92.  
  93. h1 {
  94. font-weight:normal;
  95. font-size:10px;
  96. text-align:center;
  97. font-style:normal;
  98. line-height:80%;
  99. letter-spacing:1px;
  100. text-transform:uppercase;
  101. color:{color:text};
  102. }
  103.  
  104.  
  105. blockquote {
  106. border-left:1px solid {color:text};
  107. padding-left:5px;
  108. margin:5px;
  109. }
  110.  
  111. #theme {
  112. background-color:{color:bg};
  113. width:700px;
  114. margin: 0 auto -12px auto;
  115. text-align: center;
  116. }
  117.  
  118.  
  119. h2 {
  120. font-size:15px;
  121. text-align:center;
  122. line-height:100%;
  123. letter-spacing:-0.5px;
  124. color:{color:text};
  125. font-weight:normal;
  126. padding:5px;
  127. padding-bottom:2px;
  128. }
  129.  
  130.  
  131.  
  132. #sidebar {
  133. color:{color:text};
  134. position:fixed;
  135. width:150px;
  136. height:auto;
  137. margin-top:200px;
  138. margin-left:-150px;
  139. text-align:center;
  140. }
  141.  
  142. #title {
  143. position: fixed;
  144. display:block;
  145. width: 195px;
  146. margin-left: 194px;
  147. margin-top: -185px;
  148. font-size: 20px;
  149. letter-spacing: 0px;
  150. text-transform:uppercase;
  151. text-align: center;
  152. color: {color:blogtitle};
  153. background-color: {color:blogtitlebackground};
  154. }
  155.  
  156.  
  157.  
  158. #sidebar img {
  159. display:block;
  160. float: left;
  161. width:150px; /*changing this will disturb the other boxes*/
  162. height:150px;
  163. margin-left: 228px;
  164. margin-top: -155px;
  165. padding:3px;
  166. border: 3px solid;
  167. position:fixed;
  168. }
  169.  
  170. #sidebar img {
  171. max-width:150px;
  172. height: auto;}
  173.  
  174.  
  175. .links {
  176. position:fixed;
  177. display: block;
  178. float:left;
  179. margin-top: 45px;
  180. margin-left:45px;
  181. width:10px;
  182. height: 145px;
  183. padding: 8px;
  184. text-align:center;
  185. text-transform:uppercase;
  186. font-size: 30px;
  187. background-color:{color:blogtitlebackground};
  188. color:{color:links};
  189. }
  190.  
  191. .links a {
  192. font-size: 10px;
  193. color:{color:links};
  194. }
  195.  
  196. .links a:hover {
  197. color:{color:links hover};
  198. letter-spacing:1px;
  199. }
  200.  
  201. .link {
  202. position: fixed;
  203. margin-top: 285px;
  204. margin-left: 38px;
  205. width: 175px;
  206. padding: 8px;
  207. word-spacing: 2px;
  208. text-transform: uppercase;
  209. color: {color: links};
  210. }
  211.  
  212. .link a {
  213. font-size: 10px;
  214. color: {color: links};
  215. }
  216.  
  217. .link a: hover {
  218. color:{color:links hover};
  219. letter-spacing:1px;
  220. }
  221.  
  222.  
  223.  
  224. .description {
  225. margin-top:215px;
  226. margin-left: 45px;
  227. text-align:justify;
  228. font-size:10px;
  229. width:183px;
  230. color:{color:text};
  231. letter-spacing:1px;
  232. line-height:120%;
  233. border: 3px solid;
  234. padding: 3px;
  235. position: fixed;
  236. }
  237.  
  238. .description a {
  239. color:{color:text};
  240. }
  241.  
  242.  
  243.  
  244. .pagination {
  245. width:180px;
  246. height:20px;
  247. text-transform:lowercase;
  248. letter-spacing:0px;
  249. text-align:right;
  250. margin-left:30px;
  251. margin-top: 15px;
  252. font-family:new york;
  253. font-size:10px;
  254. padding-top:5px;
  255. padding-bottom:3px;
  256. opacity:1;
  257. position:fixed;
  258. -moz-transition-duration:0.7s;
  259. -webkit-transition-duration:0.7s;
  260. -o-transition-duration:0.7s;
  261. }
  262.  
  263. .pagination a {
  264. color:{color:text};
  265. }
  266.  
  267. .pagination a:hover{
  268. color:{color:link};
  269. }
  270.  
  271.  
  272.  
  273. #entries {
  274. float:left;
  275. margin-left:150px;
  276. margin-top:40px;
  277. text-align:justify;
  278. background-color:{color:bg};
  279. color:{color:text};
  280. margin-bottom: 30px;
  281. }
  282.  
  283.  
  284. #posts {
  285. width:500px;
  286. margin-top:75px;
  287. text-align:justify;
  288. font-size:11px;
  289. line-height:100%;
  290. letter-spacing:0x;
  291. color:{color:text};
  292. padding:10px;
  293. }
  294.  
  295. .caption {
  296. width:500px;
  297. text-align:justify;
  298. line-height:120%;
  299. }
  300.  
  301.  
  302.  
  303.  
  304. #ask {
  305. background-color:{color:infobg};
  306. text-align:justify;
  307. line-height:160%;
  308. color:{color:text};
  309. padding:5px;
  310. padding-bottom:10px;
  311. padding-top:3px;
  312. }
  313.  
  314.  
  315. #asker img {
  316. margin-left:-2px;
  317. margin-bottom:-15px;
  318. padding:3px;
  319. padding-bottom:5px;
  320. }
  321.  
  322. #ans {
  323. text-align:left;
  324. padding:0px;
  325. color:{color:text};
  326. }
  327.  
  328.  
  329. .playerbuttonbg {
  330. position: absolute;
  331. left: 20px;
  332. top: 20px;
  333. width: 19px;
  334. height: 19px;
  335. background-color: #ffffff;
  336. padding: 10px;
  337. -webkit-border-radius: 40px;
  338. -moz-border-radius: 40px;
  339. border-radius: 40px;
  340. opacity: .4;
  341. filter: alpha(opacity=40);
  342. opacity: 0.4;
  343. -khtml-opacity: 0.4;
  344. transition: opacity .7s ease-in-out;
  345. -moz-transition: opacity .7s ease-in-out;
  346. -webkit-transition: opacity .7s ease-in-out;
  347. }
  348.  
  349. .playerbuttonbg:hover {
  350. opacity: 1;
  351. filter: alpha(opacity=100);
  352. -moz-opacity: 1;
  353. -khtml-opacity: 1;
  354. }
  355.  
  356. .newplayerbutton {
  357. position: relative;
  358. width: 19px;
  359. height: 19px;
  360. overflow: hidden;
  361. }
  362.  
  363. .playerbuttonhug {
  364. position: absolute;
  365. top: -18px;
  366. left: -7px;
  367. }
  368.  
  369. .tumblr_audio_player {
  370. height: 90px;
  371. width: 270px;
  372. -moz-transform: scale(0.60, 0.60);
  373. -webkit-transform: scale(0.60, 0.60);
  374. -o-transform: scale(0.60, 0.60);
  375. -ms-transform: scale(0.60, 0.60);
  376. transform: scale(0.60, 0.60);
  377. -moz-transform-origin: top left;
  378. -webkit-transform-origin: top left;
  379. -o-transform-origin: top left;
  380. -ms-transform-origin: top left;
  381. transform-origin: top left;
  382. }
  383.  
  384. .audioimgwrapper {
  385. position: absolute;
  386. left: 0px;
  387. top: 0px;
  388. -webkit-border-radius: 40px;
  389. -moz-border-radius: 40px;
  390. border-radius: 40px;
  391. overflow: hidden;
  392. width: 79px;
  393. height: 79px;
  394. }
  395.  
  396. .audioimgwrapper img {
  397. width: 100%;
  398. height: auto;
  399. -webkit-border-radius: 40px;
  400. -moz-border-radius: 40px;
  401. border-radius: 40px;
  402. }
  403.  
  404. .trackdetails {
  405. width: auto;
  406. display:inline-block;
  407. margin-left: 90px;
  408. min-height: 85px;
  409. }
  410.  
  411. .audiowrapper {
  412. position: relative;
  413. display:inline-block;
  414. }
  415.  
  416. #postinfo {
  417. padding:2px;
  418. margin-top:12px;
  419. font-size:10px;
  420. color:{color:link};
  421. text-transform:lowercase;
  422. font-style:italic;
  423. letter-spacing:1px;
  424. text-align:left;
  425. border-top:1px solid {color:border};
  426. -moz-transition-duration:0.5s;
  427. -webkit-transition-duration:0.5s;
  428. -o-transition-duration:0.5s;
  429. }
  430.  
  431. #postinfo a {
  432. color:{color:link};
  433. font-style:italic;
  434. letter-spacing:1px;
  435. }
  436.  
  437. #postinfo a:hover {
  438. color:{color:hover};
  439. }
  440.  
  441.  
  442.  
  443.  
  444. .tags {
  445. font-style:normal;
  446. width:500px;
  447. text-transform:uppercase;
  448. font-style:normal;
  449. color:{color:tags};
  450. line-height:120%;
  451. font-size:8px;
  452. text-align:left;
  453. padding:2px;
  454. -moz-transition-duration:0.5s;
  455. -webkit-transition-duration:0.5s;
  456. -o-transition-duration:0.5s;
  457. }
  458.  
  459. .tags a {
  460. color:{color:tags};
  461. letter-spacing:0px;
  462. padding:1px;
  463. }
  464.  
  465. .tags a:hover {
  466. color:{color:link};
  467. }
  468.  
  469.  
  470.  
  471. ul.chat, .chat ol, .chat li {
  472. list-style:none;
  473. margin:0px;
  474. padding:3px;
  475. }
  476.  
  477. .label {
  478. text-decoration:underline;
  479. font-weight:700;
  480. margin-right:5px;
  481. }
  482.  
  483. {CustomCSS}
  484.  
  485. #fade {
  486. display:none;
  487. background:#000;
  488. position:fixed;
  489. left:0; top:0;
  490. width:100%; height:100%;
  491. opacity:.80;
  492. z-index:9999; }
  493. .popup_block {
  494. display:none;
  495. background:#fff;
  496. padding:20px;
  497. border:20px solid #ddd;
  498. float:left;
  499. font-size:1.2em;
  500. position:fixed;
  501. top:50%; left:50%;
  502. z-index:99999;
  503. -webkit-box-shadow: 0px 0px 20px #000; -moz-box-shadow: 0px 0px 20px #000; box-shadow: 0px 0px 20px #000; -webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; }
  504. img.btn_close {
  505. float:right;
  506. margin:-5px -5px 0 0; }
  507. *html #fade { position:absolute; }
  508. *html .popup_block { position:absolute; }
  509.  
  510. </style>
  511.  
  512. <script type="text/javascript"
  513. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  514. <script>
  515. $(document).ready(function() {
  516. //
  517. $('a.poplight[href^=#]').click(function() {
  518. var popID = $(this).attr('rel'); //Get Popup Name
  519. var popURL = $(this).attr('href'); //Get Popup href to define size
  520. var query= popURL.split('?');
  521. var dim= query[1].split('&');
  522. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  523. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://i46.tinypic.com/2ue7aki.png" class="btn_close" title="Close" alt="Close" /></a>');
  524. var popMargTop = ($('#' + popID).height() + 80) / 2;
  525. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  526. //Apply Margin to Popup
  527. $('#' + popID).css({
  528. 'margin-top' : -popMargTop,
  529. 'margin-left' : -popMargLeft
  530. });
  531. $('body').append('<div id="fade"></div>');
  532. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'})
  533. return false;
  534. });
  535. $('a.close, #fade').live('click', function() {
  536. $('#fade , .popup_block').fadeOut(function() {
  537. $('#fade, a.close').remove(); //fade them both out
  538. });
  539. return false;
  540. });
  541. });
  542. </script>
  543. </head>
  544.  
  545. {block:IfInfiniteScrolling}
  546. <script type="text/javascript" src="http://codysherman.com/tools/infinite-scrolling/code"></script>{/block:IfInfiniteScrolling}
  547.  
  548. <body>
  549.  
  550. <div id="03" class="popup_block">
  551.  
  552. Add Links Here! Or Add a longer Descripton! maybe about me~
  553.  
  554. </div>
  555.  
  556.  
  557. <div id="theme">
  558. <div id="sidebar">
  559. <div id="sidebar">
  560. <div id="title">{Title}</div>
  561. <img src="{image:sidebar}"></div>
  562.  
  563. <div class="links">
  564. <a href="/" title="home">H</a>
  565. <a href="/ask" title= "ask">M</a>
  566. <a href="http://getyourluhandsonme.tumblr.com/" title="theme">C</a>
  567. <a href="#?w=500" rel="03" class="poplight" title="More">+</a>
  568. </div>
  569. <div class= "link">
  570. {block:IfLinkA}
  571. <a href="{text:linkA url}">{text:linkA}</a>
  572. {/block:IfLinkA}
  573. {block:IfLinkB}
  574. <a href="{text:linkB url}">{text:linkB}</a>
  575. {/block:IfLinkB}
  576. {block:IfLinkC}
  577. <a href="{text:linkC url}">{text:linkC}</a>
  578. {/block:IfLinkC}
  579. <a href="{text:linkD url}">{text:linkD}</a>
  580. {/block:IfLinkD}</center>
  581. </div>
  582. <div class="description">
  583. {Description}
  584. </div>
  585. {/block:IfNotInfiniteScrolling}
  586. {block:Pagination}
  587. <div class="pagination">
  588. {block:PreviousPage}
  589. <a href="{PreviousPage}">prev</a>
  590. {/block:PreviousPage}
  591. {block:NextPage} -
  592. <a href="{NextPage}">forth</a>
  593. {/block:NextPage}
  594. </div>
  595. {/block:Pagination}
  596. {/block:IfNotInfiniteScrolling}
  597. </div>
  598.  
  599.  
  600. <div id="entries">
  601.  
  602. {block:Posts}
  603.  
  604. <div id="posts">
  605.  
  606. {block:Text}{block:Title}<h2>{Title}</h2>{/block:Title}{Body}{/block:Text}
  607.  
  608. {block:Quote}<h2>“{Quote}”</h2><h1>{Source}</h1>{/block:Quote}
  609.  
  610. {block:Link}<a href="{URL}"><h2>{Name}</h2></a>
  611. {block:Description}<p>{Description}</p>{/block:Description}{/block:Link}
  612.  
  613. {block:Photo}<center><img src="{PhotoURL-500}"/></center>{block:Caption}{Caption}{/block:Caption}{/block:Photo}
  614.  
  615. {block:Photoset}<center>{Photoset-500}</center>
  616. {block:Caption}{Caption}{/block:Caption}{/block:Photoset}
  617.  
  618. {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}
  619.  
  620. {block:Video}{Video-500}{block:Caption}{Caption}{/block:Caption}{/block:Video}
  621.  
  622. {block:Answer}<div id="ask"><div id="asker"><img src="{AskerPortraitURL-24}"> {Asker}asked: {Question}</div></div><div id="ans">{Answer}</div>{/block:answer}
  623.  
  624. {block:Audio}{block:AudioPlayer}
  625. <div class="audiowrapper">
  626. {block:AlbumArt}
  627. <div class="audioimgwrapper"><img src="{AlbumArtURL}"></div>
  628. {/block:AlbumArt}
  629.  
  630. <div class="playerbuttonbg">
  631. <div class="newplayerbutton">
  632. <div class="playerbuttonhug">
  633.  
  634. {AudioPlayerWhite}
  635.  
  636. </div>
  637. </div>
  638. </div>
  639.  
  640. <div class="trackdetails">
  641.  
  642. {block:TrackName}{TrackName}{/block:TrackName}<br/>
  643. {block:Artist}Artist: {Artist}{/block:Artist}<br/>
  644. {block:Album}Album: {Album}{/block:Album}<br/>
  645. {PlayCountWithLabel}
  646.  
  647. </div>
  648. </div>
  649. {/block:AudioPlayer}
  650.  
  651. {block:Caption}{Caption}{/block:Caption}{/block:Audio}
  652.  
  653.  
  654. {block:Date}<div id="postinfo"><a href="{Permalink}">{TimeAgo}</a>{block:NoteCount} with <a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}{block:RebloggedFrom} via <a href="{ReblogParentURL}">{ReblogParentName}</a>{/block:RebloggedFrom}
  655. {block:ContentSource} from <a href="{SourceURL}">{SourceTitle}</a>{/block:ContentSource}</div>{/block:Date}
  656. {block:HasTags}
  657. <div class="tags">
  658. {block:Tags}<a href="{TagURL}">#&nbsp;{Tag}</a>{/block:Tags}</div>
  659. {/block:HasTags}
  660. <div class="note">
  661. {block:PostNotes}{PostNotes}{/block:PostNotes}
  662. </div>
  663. </div>
  664. {/block:Posts}
  665.  
  666.  
  667. </div>
  668. {block:ifinfinitescroll}
  669. {block:indexpage}
  670. {block:NextPage}<div id="page-nav"><a href="{NextPage}"></a></div>{/block:NextPage}
  671.  
  672. <div id="credit"> <a href="http://luhandsthemes.tumblr.com">luhands themes</a></div>
  673.  
  674. </div>
  675. </div>
  676. </div>
  677. </body>
  678. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement