Advertisement
ciralism

Love Letters

Dec 1st, 2015
5,028
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 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. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <!--
  4.  
  5. Love Letters
  6. FAQ page by ciralism
  7.  
  8. ::enjoy respectfully and follow the rules!::
  9.  
  10. //love letters is the last in a series of pages by ciralism
  11. //see also, Introducing Me, The Crew, Compass Rose, The Circus, and Allow Me to Introduce
  12.  
  13. //ask box not working?
  14. 1. make sure to change YOUR URL HERE to your actual URL
  15. 2. make sure your ask box is enabled for this blog
  16. -->
  17. <head>
  18. <link href='http://fonts.googleapis.com/css?family=Lato:100,300,400,700,900' rel='stylesheet' type='text/css'>
  19. <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
  20. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
  21.  
  22. <style type="text/css">
  23. body {background-color:#f3f3f3;height:100%;width:100%;font-family:Lato, Helvetica,Sans-Serif;font-size:10px;}
  24. a {font-weight:300;letter-spacing:1px;border-bottom:1px solid #eee;text-decoration:none;color:#000;-webkit-transition-duration:500ms;-moz-transition-duration:500ms;-o-transition-duration:500ms;-ms-transition-duration:500ms;transition-duration:500ms;}
  25. a:hover {border-bottom-color:#7da8c3;}
  26. b, em, strong {font-weight:600;}
  27. i {font-style:italic;font-weight:400;}
  28. pre {font-family:Inconsolas;}
  29. blockquote {padding:13px;background-color:#eee;color:#666;font-weight:300;line-height:180%;margin-left:10px auto!important;border:1px solid #e5e5e5;}
  30. header {width:500px;padding:20px 15px;background-color:rgba(0,0,0,.9);color:#fff;margin:70px auto 10px auto;text-align:center;text-transform:uppercase;font-weight:700;letter-spacing:3px;font-size:12px;}
  31. section {width:500px;background-color:#fff;margin:10px auto;padding: 10px 15px 12px 15px;text-align:center;border-bottom:1px solid #e1e1e1;}
  32. .links a {display: inline-block;width: 100px;text-transform: uppercase;font-size: 8px;border: none;letter-spacing: 2px;font-weight: 300;}
  33. .links a:hover {font-weight:600;}
  34. .credit {position:fixed;right:5px;bottom:5px;text-transform:uppercase;font-size:7px;font-weight:600;}
  35. .q {text-align:left;}
  36. .question {border:none;cursor:pointer;font-weight:600;}
  37. .question2 {border:none;font-weight:600;}
  38. .angle {display:inline-block;float:right;margin-top:2px;-webkit-transition-duration:500ms;-moz-transition-duration:500ms;-o-transition-duration:500ms;-ms-transition-duration:500ms;transition-duration:500ms;}
  39. .answer,.answer2 {margin:10px 0;font-weight:300;line-height:200%;}
  40. .asktitle {text-transform:uppercase;font-size:9px;letter-spacing:1px;font-weight:900;margin-top:10px;}
  41. .asksub {margin-bottom:15px;font-weight:300;letter-spacing:1px;margin-top:5px;}
  42. </style>
  43. </head>
  44. <script type="text/javascript">
  45. jQuery(document).ready(function() {
  46. jQuery(".answer").hide();
  47. //toggle the componenet with class msg_body
  48. jQuery(".question").click(function()
  49. {
  50. jQuery(this).next(".answer").slideToggle(600);
  51. });});
  52. </script>
  53. <body>
  54. <header>YOUR TITLE HERE <!--TITLE GOES HERE--></header>
  55. <section>
  56. <div class="links">
  57. <a href="/">home</a>
  58. <a href="/">link</a>
  59. <a href="/">archive</a>
  60. <a href="http://ciralism.tumblr.com">© THEME</a><!--DO NOT REMOVE--->
  61. </div>
  62. </section>
  63.  
  64. <!---QUESTION WITH HIDDEN ANSWER--->
  65. <section class="q">
  66. <a class="question">Sir, how do I get to the moon?<div class="angle"><i class="fa fa-angle-down"></i></div></a>
  67. <div class="answer">I wish I knew, my dear! Unfortunately, I know not. Try asking <a href="http://google.com">Google</a>.</div>
  68. </section>
  69.  
  70. <!---QUESTION WITH UNHIDDEN ANSWER--->
  71. <section class="q">
  72. <div class="question2">What if I don't want my answer hidden?</div>
  73. <div class="answer2">That's perfectly alright! If you would like your answer to be visible without clicking on the question, simply call your answer div "answer2" instead of "answer". This is a good idea for your most important FAQ's - the things that people definitely should not miss before they send you a question.</div>
  74. </section>
  75.  
  76. <!---SECTION CONTAINING INBOX--->
  77. <section class="box">
  78. <div class="asktitle">inbox</div>
  79. <div class="asksub">If you've thoroughly read my FAQ, feel free to send a message!</div>
  80. <p><iframe frameborder="0" scrolling="no" width="100%" height="190" src="http://www.tumblr.com/ask_form/YOUR URL HERE.tumblr.com" style="background-color:transparent; overflow:hidden;" id="ask_form"></iframe><!--[if IE]><script type="text/javascript">document.getElementById('ask_form').allowTransparency=true;</script><![endif]--></p>
  81. </section>
  82.  
  83.  
  84. <a class="credit" href="http://ciralism.tumblr.com">ciralism</a>
  85. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement