Advertisement
mayayo

theme 02 ; overjoyed

Apr 19th, 2014
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.58 KB | None | 0 0
  1. <!--THEME BY MQLFOY-->
  2. <!--please do not
  3. remove credit
  4. claim as your own
  5. redistribute as your own
  6. enjoy!-->
  7. <!--if you have any theme questions (about the ask box or anything) feel free to ask me-->
  8. <!DOCTYPE html>
  9. <head>
  10.  
  11.  
  12. <title>{Title}</title>
  13.  
  14. <link rel="shortcut icon" href="{Favicon}">
  15. <link rel="alternate" type="application/rss+xml" href="{RSS}">
  16. {block:Description}<meta name="description" content="{MetaDescription}" />{/block:Description}
  17.  
  18. <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,900' rel='stylesheet' type='text/css'>
  19.  
  20. <link href='http://fonts.googleapis.com/css?family=Inconsolata:400,700' rel='stylesheet' type='text/css'>
  21.  
  22. <link href='http://fonts.googleapis.com/css?family=Libre+Baskerville:400,400italic,700' rel='stylesheet' type='text/css'>
  23.  
  24. <!--Default Variables-->
  25.  
  26. <meta name="color:background" content="#ffffff"/>
  27. <meta name="color:text" content="#000000"/>
  28. <meta name="color:link" content="#000000"/>
  29. <meta name="color:title" conent="#000000" />
  30. <meta name="if:400px" content="1"/>
  31. <meta name="if:500px" content="0"/>
  32.  
  33.  
  34. <meta name="text:Link 1 URL" content="" />
  35. <meta name="text:Link 1" content="" />
  36. <meta name="text:Link 2 URL" content="" />
  37. <meta name="text:Link 2" content="" />
  38. <meta name="text:Link 3 URL" content="" />
  39. <meta name="text:Link 3" content="" />
  40. <meta name="text:Link 4 URL" content="" />
  41. <meta name="text:Link 4" content=""/>
  42.  
  43. <!-- jquery for tooltips-->
  44.  
  45.  
  46. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  47.  
  48. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  49.  
  50. <script>
  51.  
  52. (function($){
  53.  
  54. $(document).ready(function(){
  55.  
  56. $("a[title]").style_my_tooltips({
  57.  
  58. tip_follows_cursor:true,
  59.  
  60. tip_delay_time:30,
  61.  
  62. tip_fade_speed:300,
  63.  
  64. attribute:"title"
  65.  
  66. });
  67.  
  68. });
  69.  
  70. })(jQuery);
  71.  
  72. </script>
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79. <!--CSS customization here. -->
  80.  
  81. <style type="text/css">
  82.  
  83. #fade {
  84. display: none;
  85. background: #000;
  86. position: fixed;
  87. left: 0;
  88. top: 0;
  89. width: 100%;
  90. height: 100%;
  91. opacity: .80;
  92. z-index: 9999;
  93. }
  94.  
  95. .popup_block{
  96. display: none;
  97. background: #FFFFFF;
  98. padding: 20px;
  99. float: left;
  100. position: fixed;
  101. top: 50%;
  102. left: 50%;
  103. z-index: 99999;
  104. }
  105.  
  106. img.btn_close {
  107. float: right;
  108. margin: -55px -55px 0 0;
  109. }
  110.  
  111. *html #fade {
  112. position: absolute;
  113. }
  114.  
  115. *html .popup_block {
  116. position: absolute;
  117. }
  118.  
  119. img {
  120. -webkit-filter: grayscale(100%);
  121. z-index: -9999999999999999999999999px;
  122. -webkit-transition: all 0.9s ease-in-out;
  123. -moz-transition: all 0.9s ease-in-out;
  124. -o-transition: all 0.9s ease-in-out;
  125. -ms-transition: all 0.9s ease-in-out;
  126. transition: all 0.9s ease-in-out;
  127. }
  128.  
  129. img:hover {
  130. -webkit-filter: grayscale(0%);
  131. z-index: -9999999999999999999999999px;
  132. -webkit-transition: all 0.9s ease-in-out;
  133. -moz-transition: all 0.9s ease-in-out;
  134. -o-transition: all 0.9s ease-in-out;
  135. -ms-transition: all 0.9s ease-in-out;
  136. transition: all 0.9s ease-in-out;
  137. }
  138.  
  139. #title {
  140. font-family:'Gibson', sans-serif;
  141. display:inline-block;
  142. font-weight:bold;
  143. font-size:40px;
  144. letter-spacing:2px;
  145. margin-bottom:3px;
  146. margin-top:30px;
  147. color:transparent;
  148. margin-right:400px;
  149.  
  150. }
  151.  
  152. #title a:hover
  153. {
  154. letter-spacing:0px;
  155. color: transparent;
  156. text-shadow: 0 0 1px #000;
  157. letter-spacing:0px;
  158. font-family:'Gibson', sans-serif;
  159.  
  160. transition-duration: 0.6s;
  161. -moz-transition-duration: 0.6s;
  162. -webkit-transition-duration: 0.6s;
  163. -o-transition-duration: 0.6s;
  164.  
  165. }
  166.  
  167. #s-m-t-tooltip{
  168. position:absolute;
  169. margin-top: 15px;
  170. z-index:9999;
  171. background:{color:background};
  172. }
  173.  
  174.  
  175.  
  176. /*basics*/
  177. blockquote {padding:5px 0 5px 30px;
  178. border-left:1px solid {color:text};
  179. margin-left:30px;
  180. }
  181.  
  182. body {
  183. background:{color:background};
  184. color:{color:text};
  185. font-size:11px;
  186. text-align:justify;
  187. margin:0;
  188. line-height:16px;
  189. font-family:'Gibson', sans-serif;
  190. }
  191.  
  192.  
  193. a {
  194. color:{color:link};
  195. text-decoration:none;
  196. }
  197.  
  198. a:hover {
  199. opacity:10;
  200. color:#f2f2f2;
  201. -webkit-transition: all 0.7s ease;
  202. -moz-transition: all 0.7s ease;
  203. -o-transition: all 0.7s ease
  204. }
  205.  
  206. small {
  207. font-size:9px;}
  208.  
  209. big {
  210. font-size:12px;}
  211.  
  212. #sidebar {
  213. margin-left:auto;
  214. margin-right:auto;
  215. overflow: hidden;
  216. top: 1px;
  217. line-height:15px;
  218. width:500px;
  219. height:320px;
  220. position: float;
  221. margin-bottom: 15px;
  222. text-align: center;
  223. margin-top:170px;
  224. color:#000000;
  225. font-family:'Gibson', sans-serif;
  226. }
  227.  
  228. #sidebar:hover #description {
  229. opacity:1px;
  230. -moz-transition-duration:1s;
  231. -webkit-transition-duration:1s;
  232. -o-transition-duration:1s;
  233. }
  234.  
  235. #links {
  236. font-size:13px;
  237. line-height:-20px;
  238. padding-right:20px 20px 20px 20px;
  239. text-transform:lowercase;
  240. margin-left:170px;
  241. display:inline-block;
  242. font-family:'Gibson', sans-serif;
  243. height:50px;
  244. margin-top:-40px;
  245. position:relative;
  246. }
  247.  
  248. #links a:hover {
  249. padding:2px 2px 2px;
  250. color:#010101;
  251. background-color:#ffffff;
  252. text-shadow:2px 2px 6px #c7c7c7;
  253. -moz-transition-duration:1s;
  254. -webkit-transition-duration:1s;
  255. -o-transition-duration:1s;
  256.  
  257. border-bottom:1px solid #000;
  258. -moz-transition-duration: 0.8s;
  259. -webkit-transition-duration: 0.8s;
  260. -o-transition-duration: 0.8s;
  261. }
  262.  
  263.  
  264. #description {
  265. line-height:auto;
  266. font-family:'Gibson', sans-serif;
  267. display:inline-block;
  268. width:200px;
  269. height:auto;
  270. margin-bottom:400px;
  271. font-size:11px;
  272. background:#ffffff
  273. padding-top:auto;
  274. padding-bottom:auto;
  275. position:relative;
  276. color:#000000;
  277. margin-right:150px;
  278. word-wrap:break-word;
  279. margin:20px;
  280. margin-top:20px;
  281. border-top:1px solid #000000;
  282. border-bottom:1px solid #000000;
  283. }
  284. #description a {
  285. text-align:center;
  286. margin-top:15px;
  287.  
  288. }
  289.  
  290. /*pagination*/
  291. #pagination {
  292. margin-bottom:-200px 0;
  293. text-transform:lowercase;
  294. font-weight:bold;
  295. font-size:20px;
  296. color:#454545;
  297. margin-left:250px;
  298. }
  299. #pagination a {
  300. width:100px;
  301. padding:0 15px;
  302. margin-bottom:200px;
  303. margin-top:250px;
  304. margin-left:250px;
  305. font-size:15px;
  306. color:#454545;
  307. letter-spacing:3px;
  308. }
  309. #pagination a:hover {
  310. text-shadow:2px 2px 6px #c7c7c7;
  311. -moz-transition-duration:1s;
  312. -webkit-transition-duration:1s;
  313. -o-transition-duration:1s;
  314. }
  315.  
  316.  
  317. /*container*/
  318. #con {
  319. left:50%;
  320. margin-left:-200px;
  321. position:absolute;
  322. }
  323.  
  324.  
  325.  
  326. /*posts*/
  327.  
  328. #entries {
  329. margin-top:50px;
  330. width:500px;
  331. }
  332.  
  333.  
  334.  
  335. #posts {
  336. width:500px;
  337. {block:IndexPage}
  338. margin-bottom:75px;
  339. {/block:IndexPage}
  340. {block:PermalinkPage}
  341. margin-bottom:50px;
  342. {/block:PermalinkPage}
  343.  
  344. }
  345. #posts img {
  346. max-width:500px;
  347. }
  348.  
  349. #posts img, #posts li, #posts blockquote {max-width: 100%;}
  350. .caption {width:100%;
  351. margin-top:10px;
  352.  
  353. }
  354.  
  355. /*quote*/
  356.  
  357. #titlequote{text-align:left;
  358. font-size:14px;
  359. line-height:18px;
  360. font-weight:bold;
  361. }
  362. #source {
  363. margin-top:15px;
  364. margin-left:15px;}
  365.  
  366. /*audio*/
  367.  
  368. .player {
  369. width:25px;
  370. height:25px;
  371. overflow:hidden;
  372. position:absolute;
  373. background:white;}
  374.  
  375. .audioinfo {
  376. margin-left:50px;
  377. }
  378.  
  379.  
  380. /*asks*/
  381. .q {
  382. font-size:11px;
  383. font-family:helvetica;
  384. text-align:center;
  385. padding-bottom:10px;
  386. margin-bottom:10px;
  387. border-bottom:1px solid #eeeeee;
  388. }
  389. .as {
  390. font-size:11px;
  391. font-family:helvetica;
  392. text-align:center;
  393. color:#000000;
  394. text-transform:lowercase;
  395. }
  396. .a {
  397. font-size:11px;
  398. font-family:helvetica;
  399. padding-bottom:2px;
  400. text-align:center;
  401. margin-bottom:10px;
  402. border-bottom:1px solid #eeeeee;
  403. }
  404.  
  405.  
  406. /*chat*/
  407.  
  408. .chat ol {
  409. padding:0;
  410. list-style:none;
  411. }
  412. .line {padding:5px 0;}
  413.  
  414. .label {font-weight:bold;
  415. }
  416.  
  417.  
  418.  
  419.  
  420.  
  421. /*permalink and notes*/
  422.  
  423. #permalink {
  424. border-top:1px solid #eeeeee;
  425. padding:5px 10px 0 10px;
  426. margin-top:10px;
  427. font-size:8px;
  428. letter-spacing:1px;
  429. text-transform:uppercase;
  430. }
  431. #permalink a {
  432. border:none;
  433. margin-right:5px;
  434. text-decoration:none;
  435. }
  436.  
  437. #permalink a:hover {
  438. text-shadow: 0 0 1px #000;
  439. }
  440.  
  441.  
  442. .tags {
  443. word-break:break-all;
  444. padding:0 10px 3px 10px;
  445. border-bottom:1px solid #eeeeee;
  446. margin-right:-10px;
  447. margin-bottom:10px;
  448. margin-left:-10px;}
  449. .tags a:hover {
  450. text-shadow: 0 0 1px #000;
  451. }
  452.  
  453. .from {float:right;}
  454. .from a {margin-right:0;
  455. margin-left:5px;}
  456.  
  457. .pagenotes {
  458.  
  459. display: none!important;
  460.  
  461.  
  462.  
  463. width:400px;
  464.  
  465. text-align:left;
  466.  
  467. }
  468. .pagenotes img {
  469. display:none!important;}
  470. .pagenotes li {
  471. list-style-type:none;
  472. padding:5px 0px;
  473. text-align:left;
  474. margin:0 0 0 -40px;
  475. font-size:9px;
  476. text-transform:uppercase;
  477. }
  478. .t {
  479. font-size:12px;
  480. font-weight:bold;
  481. letter-spacing:1px;
  482. color:#000000;
  483. text-transform:lowercase;}
  484.  
  485. /*credit pls do not remove*/
  486. #credit {
  487. position:fixed;
  488. right:7px;
  489. bottom:10px;
  490. text-transform:uppercase;
  491. font-size:8px;
  492. letter-spacing:1px;
  493. -webkit-transition: all 0.3s ease;
  494. -moz-transition: all 0.3s ease;
  495. -ms-transition: all 0.3s ease;
  496. -o-transition: all 0.3s ease;
  497. transition: all 0.3s ease;
  498. }
  499.  
  500. #credit a:hover {
  501. color:#3b3b3b;
  502. -webkit-transition: all 0.3s ease;
  503. -moz-transition: all 0.3s ease;
  504. -ms-transition: all 0.3s ease;
  505. -o-transition: all 0.3s ease;
  506. transition: all 0.3s ease;
  507. }
  508.  
  509. {CustomCSS}
  510.  
  511. </style>
  512.  
  513. <script type="text/javascript"
  514. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  515.  
  516. <script>
  517.  
  518.  
  519.  
  520. $(document).ready(function() {
  521.  
  522. //
  523.  
  524.  
  525.  
  526. //When you click on a link with class of poplight and the href starts with a #
  527.  
  528. $('a.poplight[href^=#]').click(function() {
  529.  
  530. var popID = $(this).attr('rel'); //Get Popup Name
  531.  
  532. var popURL = $(this).attr('href'); //Get Popup href to define size
  533.  
  534.  
  535.  
  536. //Pull Query & Variables from href URL
  537.  
  538. var query= popURL.split('?');
  539.  
  540. var dim= query[1].split('&');
  541.  
  542. var popWidth = dim[0].split('=')[1]; //Gets the first query string value
  543.  
  544.  
  545.  
  546. //Fade in the Popup and add close button
  547.  
  548. $('#' + popID).fadeIn().css({ 'width': Number( popWidth ) }).prepend('<a href="#" class="close"><img src="http://tiny.cc/closeimg" class="btn_close" title="Close Window" alt="Close" /></a>');
  549.  
  550.  
  551. //Define margin for center alignment (vertical horizontal) - we add 80px to the height/width to accomodate for the padding and border width defined in the css
  552.  
  553. var popMargTop = ($('#' + popID).height() + 80) / 2;
  554.  
  555. var popMargLeft = ($('#' + popID).width() + 80) / 2;
  556.  
  557.  
  558.  
  559. //Apply Margin to Popup
  560.  
  561. $('#' + popID).css({
  562.  
  563. 'margin-top' : -popMargTop,
  564.  
  565. 'margin-left' : -popMargLeft
  566.  
  567. });
  568.  
  569.  
  570.  
  571. //Fade in Background
  572.  
  573. $('body').append('<div id="fade"></div>'); //Add the fade layer to bottom of the body tag.
  574.  
  575. $('#fade').css({'filter' : 'alpha(opacity=80)'}).fadeIn(); //Fade in the fade layer - .css({'filter' : 'alpha(opacity=80)'}) is used to fix the IE Bug on fading transparencies
  576.  
  577.  
  578.  
  579. return false;
  580.  
  581. });
  582.  
  583.  
  584.  
  585. //Close Popups and Fade Layer
  586.  
  587. $('a.close, #fade').live('click', function() { //When clicking on the close or fade layer...
  588.  
  589. $('#fade , .popup_block').fadeOut(function() {
  590.  
  591. $('#fade, a.close').remove(); //fade them both out
  592.  
  593. });
  594.  
  595. return false;
  596.  
  597. });
  598.  
  599.  
  600.  
  601.  
  602.  
  603. });
  604.  
  605. </script>
  606.  
  607. </head>
  608.  
  609. <body>
  610.  
  611. <div id="con">
  612.  
  613. <div id="sidebar">
  614. <div id="title"><a href="/">{Title}</a></div>
  615. <div id="description">{Description}</div>
  616. <div id="links">
  617. {block:ifLink1}<a href="#?w=500" rel="ask" class="poplight"> <!--change the ask link title here-->
  618. ask </a>{/block:ifLink1}
  619. {block:ifLink2}<a href="{text:Link 2 URL}">{text:Link 2}</a>{/block:ifLink2}
  620. {block:ifLink3}<a href="{text:Link 3 URL}">{text:Link 3}</a> {/block:ifLink3}
  621. {block:ifLink4}<a href="{text:Link 4 URL}">{text:Link 4}</a> {/block:ifLink4}
  622. {block:ifLink5}<a href="{text:Link 5 URL}">{text:Link 5}</a> {/block:ifLink5}
  623. </div>
  624.  
  625.  
  626.  
  627. </div>
  628.  
  629.  
  630.  
  631.  
  632. <div id="entries">
  633.  
  634. {block:Posts}
  635. <div id="posts">
  636.  
  637.  
  638. {block:Quote}
  639.  
  640.  
  641. <div id="titlequote">β€œ{Quote}”</div>
  642. {block:Source}<div id="source">&mdash; {Source}</div>{/block:Source}
  643. {/block:Quote}
  644.  
  645.  
  646.  
  647. {block:Text}
  648.  
  649. {block:Title}
  650. <div id="title">{Title}</div>{/block:Title}
  651. {Body}
  652. {/block:Text}
  653.  
  654. {block:Link}
  655. <div id="title"><a href="{URL}">{Name}</a></div>{block:Description}{Description}{/block:Description}
  656. {/block:Link}
  657.  
  658. {block:Chat}
  659. {block:Title}
  660. <h1>{Title}</h1>
  661. {/block:Title}
  662. <div class="chat">
  663. <ol>{block:Lines}
  664. <li class="line {Alt}">
  665. {block:Label}
  666. <span class="label">
  667. {Label}</span>
  668. {/block:Label}{Line}</li>
  669. {/block:Lines}
  670. </ol></div>
  671. {/block:Chat}
  672.  
  673. {block:Photo}
  674. {LinkOpenTag}<img src="{PhotoURL-500}" alt="{PhotoAlt}"/>{LinkCloseTag}
  675. {/block:Photo}
  676.  
  677. {block:Photoset}
  678. {Photoset-500}
  679. {/block:Photoset}
  680.  
  681. {block:Video}
  682. {Video-500}
  683. {/block:Video}
  684.  
  685. {block:Audio}
  686. <div class="player">{AudioPlayerWhite}</div>
  687. <div class="audioinfo">
  688. {block:TrackName}{TrackName}{/block:TrackName}{block:Artist}<br>{Artist}{/block:Artist}
  689. </div>
  690. {/block:Audio}
  691.  
  692. {block:Answer}
  693. <div class="q"><span class="as"></span>{Question} <br><b> from: </b>{asker}</div>
  694. <div class="a"><span class="as"></span>{Answer}</div>
  695. {/block:Answer}
  696.  
  697. {block:Caption}<div class="caption">{Caption}</div>{/block:Caption}
  698.  
  699. {block:Date}
  700. <div id="permalink">
  701. {block:HasTags}<div class="tags">{block:Tags}<a href="{TagUrl}">{Tag}</a>{/block:Tags}</div>{/block:HasTags}
  702. <div class="from">
  703. {block:RebloggedFrom}<a href="{ReblogParentURL}" title="{ReblogParentName}">via</a>{block:ContentSource}<a href="{ReblogRootURL}" title="{ReblogRootName}">source</a>{/block:ContentSource}{/block:RebloggedFrom}</div>
  704. <a href="{Permalink}">{12Hour}:{Minutes} {AmPm}</a>{block:NoteCount}<a href="{Permalink}">{NoteCountWithLabel}</a>{/block:NoteCount}
  705. </div>
  706. {/block:Date}
  707.  
  708. </div>
  709.  
  710.  
  711. {block:PostNotes}
  712. <div class="pagenotes">
  713. {block:NoteCount}<div class="t">Notes</div>{/block:NoteCount}
  714. {PostNotes}
  715. </div>
  716. {/block:PostNotes}
  717.  
  718.  
  719. {/block:Posts}
  720.  
  721. <div id="pagination">
  722. {block:Pagination}
  723. {block:PreviousPage}
  724. <a href="{PreviousPage}">regress</a>
  725. {/block:PreviousPage}
  726.  
  727. {block:NextPage}
  728. <a href="{NextPage}">progress</a>
  729. {/block:NextPage}
  730. {/block:Pagination}
  731. </div>
  732.  
  733.  
  734. </div>
  735.  
  736. </div>
  737.  
  738. <div id="credit">
  739. <a title="mqlfoy" href="http://mqlfoy.tumblr.com/">
  740. mq
  741. </a> </div>
  742. </div>
  743.  
  744.  
  745. {block:ContentSource}
  746. <!-- {SourceURL}{block:SourceLogo}<img src="{BlackLogoURL}"
  747. width="{LogoWidth}" height="{LogoHeight}" alt="{SourceTitle}" />
  748. {/block:SourceLogo}
  749. {block:NoSourceLogo}{SourceLink}{/block:NoSourceLogo} -->
  750. {/block:ContentSource}
  751.  
  752. </body>
  753. <!--POP UP ASK BOX pls replace YOURURL.tumblr.com with your url-->
  754. <div id="ask" class="popup_block">
  755. <iframe frameborder="0"
  756. height="200"
  757. id="ask_form"
  758. scrolling="no"
  759. src="http://www.tumblr.com/ask_form/YOUR URL.tumblr.com"
  760. width="100%">
  761. </iframe>
  762. </center>
  763. </div>
  764. </div>
  765. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement