sofiiayala

FAQ page #1 for tumblr

Jan 30th, 2015
3,094
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.19 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. <head><title>{Title}</title>
  4. <link rel="shortcut icon" href="{Favicon}">
  5.  
  6. <script type="text/javascript">
  7. WebFontConfig = {
  8. google: { families: [ 'Lato:300,400:latin' ] }
  9. };
  10. (function() {
  11. var wf = document.createElement('script');
  12. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  13. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  14. wf.type = 'text/javascript';
  15. wf.async = 'true';
  16. var s = document.getElementsByTagName('script')[0];
  17. s.parentNode.insertBefore(wf, s);
  18. })(); </script>
  19.  
  20. <!---- FAQ page #1 by Sofi (castiiel.tumblr.com). DON'T REMOVE THE CREDIT OR CLAIM THE THEME AS YOURS. DON'T USE IT AS A BASE --->
  21.  
  22. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
  23. <script>
  24. $(document).ready(function(){
  25. $(".ask").click(function(){
  26. $("#submit").hide();
  27. });
  28. $(".ask").click(function(){
  29. $("#askbox").show();
  30. });
  31. });
  32. </script>
  33.  
  34. <script>
  35. $(document).ready(function(){
  36. $(".submit").click(function(){
  37. $("#askbox").hide();
  38. });
  39. $(".submit").click(function(){
  40. $("#submit").show();
  41. });
  42. });
  43. </script>
  44.  
  45. <style type="text/css">
  46.  
  47. .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop {
  48.  
  49. display: none;
  50.  
  51. }
  52.  
  53. ::-webkit-scrollbar {width: 2px; height: 2px; background: transparent; }
  54. ::-webkit-scrollbar-thumb { background-color: #ccc; -webkit-border-radius: 0ex; }
  55.  
  56. body{
  57. font-family:Arial;
  58. background: #f3f3f3;
  59. margin:-10px;
  60. overflow-x:hidden;
  61. }
  62.  
  63. a{
  64. text-decoration:none;
  65. -webkit-transition-duration:.6s;
  66. -moz-transition-duration:.6s;
  67. -o-transition-duration:.6s;
  68. -ms-transition-duration:.6s;
  69. }
  70.  
  71. a:hover{
  72. -webkit-transition-duration:.6s;
  73. -moz-transition-duration:.6s;
  74. -o-transition-duration:.6s;
  75. -ms-transition-duration:.6s;
  76. }
  77.  
  78. h1 {
  79. font-family:'lato', sans-serif;
  80. text-transform:uppercase;
  81. font-size:10px;
  82. font-weight:bolder;
  83. text-align:left;
  84. line-height:150%;
  85. margin-top:15px;
  86. }
  87.  
  88. #content {
  89. margin:auto;
  90. margin-top:50px;
  91. width:770px;
  92. text-align:center;
  93. }
  94.  
  95. #tabz {
  96. width:330px;
  97. margin-bottom:10px;
  98. }
  99.  
  100. #tabz a {
  101. padding:10px;
  102. border:1px solid #dfdfdf;
  103. background:#fff;
  104. text-align: center;
  105. display:inline-block;
  106. width:135px;
  107. font-size:11px;
  108. font-family: trebuchet ms, consolas, 'lato', sans-serif;
  109. text-transform:uppercase;
  110. letter-spacing:1.4px;
  111. color:#000;
  112. margin:0px;
  113. transition: all 0.1s linear;
  114. -moz-transition-duration:0.1s;
  115. -webkit-transition-duration:0.1s;
  116. -o-transition-duration:0.1s;
  117. cursor:help!Important;
  118. }
  119.  
  120. #tabz a:hover {
  121. letter-spacing:2px;
  122. transition: all 0.1s linear;
  123. -moz-transition-duration:0.1s;
  124. -webkit-transition-duration:0.1s;
  125. -o-transition-duration:0.1s;
  126. }
  127.  
  128. #right {
  129. width:330px;
  130. height:400px;
  131. margin-top:-400px;
  132. margin-left:390px;
  133. }
  134.  
  135. #faq {
  136. max-height:383px;
  137. overflow:auto;
  138. border:1px solid #dfdfdf;
  139. background:#fff;
  140. padding:0px 15px 15px;
  141. letter-spacing:1.2px;
  142. font-size:10px;
  143. font-family:'lato', sans-serif;
  144. line-height:150%;
  145. text-align:left;
  146. }
  147.  
  148. #left {
  149. width:330px;
  150. height: 400px;
  151. margin-left:50px;
  152. }
  153.  
  154. #askbox {
  155. border:1px solid #dfdfdf;
  156. background:#fff;
  157. padding:15px;
  158. }
  159.  
  160. #submit {
  161. overflow-x:hidden;
  162. overflow-y:auto;
  163. border:1px solid #dfdfdf;
  164. background:#fff;
  165. padding:15px;
  166. max-height: 324px;
  167. display:none;
  168. }
  169.  
  170. #topbar {
  171. width: 100%;
  172. margin:auto;
  173. background:#fff;
  174. border-bottom:1px solid #dfdfdf;
  175. font-size:14px;
  176. font-family: trebuchet ms, consolas, 'lato', sans-serif;
  177. text-transform:uppercase;
  178. padding: 25px 0px 15px;
  179. letter-spacing:1.4px;
  180. color:#000;
  181. text-align:right;
  182. }
  183.  
  184. #topbar a {
  185. color: #000;
  186. font-size:10px;
  187. margin-right:15px;
  188. }
  189.  
  190. #uptownfunk {
  191. margin:auto;
  192. margin-top:50px;
  193. width:770px;
  194. text-align:center;
  195. font-family: trebuchet ms, 'lato', sans-serif;
  196. margin-bottom:50px;
  197. font-size: 10px;
  198. letter-spacing:2px;
  199. text-transform:uppercase;
  200. }
  201.  
  202. #uptownfunk a {
  203. color:#000;
  204. }
  205.  
  206. </style>
  207. </head>
  208. <body>
  209.  
  210. <div id="topbar">
  211. <a href="http://tumblr.com">dash</a>
  212. <a href="/">index</a>
  213. <a href="/ask">mail</a>
  214. <a href="/">tags</a>
  215. <b><span style="margin-right:25px;">Frequently asked questions</span></b>
  216. </div>
  217.  
  218. <div id="content">
  219.  
  220. <div id="left">
  221. <div id="tabz">
  222. <a class="ask" style="margin-right:10px;">ask box</a>
  223. <a class="submit">submit box</a>
  224. </div>
  225.  
  226. <div id="askbox"><iframe frameborder="0" scrolling="no" width="100%" height="260" src="http://www.tumblr.com/ask_form/{Name}.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]--></div>
  227.  
  228. <div id="submit"><iframe frameborder="0" border="0" scrolling="no" width="298px" height="535px" allowtransparency="true" src="http://www.tumblr.com/submit_form/{Name}.tumblr.com" style="background-color:transparent;"></iframe></div>
  229. </div>
  230.  
  231. <div id="right">
  232. <div id="faq">
  233. <h1>This is how you wrap a question</h1>
  234. This is an answer.
  235.  
  236. <h1>Why didn't you reply?</h1>
  237. I'm sorry if I didn't! Tumblr must have eaten your message or I am very busy at the moment. Anyway, don't doubt to send it again!
  238.  
  239. <h1>Can you tag something for me?</h1>
  240. Sure! I can always tag anything that bothers you :)
  241.  
  242. <h1>Vote for me in a poll?</h1>
  243. Yes, sure. Just send me the link.
  244.  
  245. <h1>Can you recommend me good blogs?</h1>
  246. Every blog I follow is very good, so you can check out my blogroll.
  247.  
  248. <h1>Do you take requests?</h1>
  249. Not at the moment, but I will put it in my updates tab when they are opened.
  250.  
  251. <h1>Can I talk to you about random stuff, tell you about my day, ask for an advice or just be friends?</h1>
  252. Yes, PLEASE! I love meeting people here ♥
  253. </div>
  254.  
  255. </div>
  256.  
  257. <div id="uptownfunk"><a href="http://castiiel.tumblr.com">theme by castiiel</a></div>
  258.  
  259. </body>
  260. </html>
Advertisement
Add Comment
Please, Sign In to add comment