sofiiayala

FAQ #2 for tumblr

Feb 18th, 2015
3,633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.84 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. <!---- FAQ #2 by Sofi (castiiel.tumblr.com). DON'T REMOVE THE CREDIT OR CLAIM THE THEME AS YOURS. DON'T USE IT AS A BASE --->
  7.  
  8. <script type="text/javascript">
  9. WebFontConfig = {
  10. google: { families: [ 'Lato:300,400:latin' ] }
  11. };
  12. (function() {
  13. var wf = document.createElement('script');
  14. wf.src = ('https:' == document.location.protocol ? 'https' : 'http') +
  15. '://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
  16. wf.type = 'text/javascript';
  17. wf.async = 'true';
  18. var s = document.getElementsByTagName('script')[0];
  19. s.parentNode.insertBefore(wf, s);
  20. })(); </script>
  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. <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  46. <script src="http://static.tumblr.com/iuw14ew/VSQma1786/jquery.style-my-tooltips.js"></script>
  47. <script>
  48. (function($){
  49. $(document).ready(function(){
  50. $("[title]").style_my_tooltips({
  51. tip_follows_cursor:true,
  52. tip_delay_time:90,
  53. tip_fade_speed:600,
  54. attribute:"title"
  55. });
  56. });
  57. })(jQuery);
  58. </script>
  59.  
  60. <style type="text/css">
  61.  
  62. #s-m-t-tooltip {
  63. padding:7px;
  64. padding-right: 5px;
  65. padding-top: 4px;
  66. padding-bottom: 4px;
  67. margin-left:20px;
  68. margin-top: 0px;
  69. background: #fff; /* change the background color */
  70. border:1px solid #000; /* change the border color */
  71. font-family: calibri; /* change the font */
  72. font-size:8px; /* change the font size */
  73. letter-spacing:1.5px; /* change the letter spacing */
  74. text-transform:uppercase; /* can be uppercase, lowercase, none*/
  75. color:#000; /* change the text color */
  76. z-index:999999999999999999999999999999999999;
  77. border-radius: 3px;
  78. }
  79.  
  80. .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop {
  81.  
  82. display: none;
  83.  
  84. }
  85.  
  86. body {
  87. background-image:url("https://farm6.staticflickr.com/5512/9319373740_02243839ce_o.jpg");
  88. background-size:cover;
  89. background-attachment: fixed;
  90. background-position: bottom left;
  91. }
  92.  
  93. ::-webkit-scrollbar {width: 2px; height: 2px; background: transparent; }
  94. ::-webkit-scrollbar-thumb { background-color:#000; -webkit-border-radius: 0ex; }
  95.  
  96. .header{
  97. border-bottom: 1px solid #000;
  98. background:rgba(222,222,222,0.2);
  99. text-align: center;
  100. padding: 25px;
  101. padding-top: 35px;
  102. padding-bottom: 15px;
  103. font-family: 'Lato', sans-serif;
  104. font-size: 10px;
  105. text-transform: uppercase;
  106. font-weight: 300;
  107. }
  108.  
  109. a {
  110. text-decoration: none;
  111. margin-top: 10px;
  112. display: inline;
  113. }
  114.  
  115. .t1 {
  116. font-family: 'Lato', sans-serif;
  117. font-size: 28px;
  118. font-weight: 300;
  119. margin-top: -10px;
  120. text-transform: none;
  121. letter-spacing:1px;
  122. margin-bottom:20px;
  123. }
  124.  
  125. h1 {
  126. font-family: 'Lato', sans-serif;
  127. font-size: 15px;
  128. font-weight: 300;
  129. margin-top:23px;
  130. margin-bottom: 8px;
  131. line-height: 140%;
  132. padding: 10px 15px;
  133. margin-left: -10px;
  134. margin-right: -10px;
  135. background:rgba(222,222,222,0.3);
  136. }
  137.  
  138. .cont {
  139. width: 850px;
  140. border: 4px double #000;
  141. margin: auto;
  142. margin-top: -210px;
  143. top:50%;
  144. left:50%;
  145. margin-left:-425px;
  146. position:fixed;
  147. height: 420px;
  148. display: block;
  149. font-family: 'Lato', sans-serif;
  150. font-size: 12px;
  151. color: #000;
  152. font-weight:300;
  153. }
  154.  
  155. .cont a {
  156. color: #000;
  157. text-decoration: underline;
  158. }
  159.  
  160. .left {
  161. width: 339px;
  162. border-left: 1px solid #000;
  163. height: 400px;
  164. padding: 0px 30px 20px;
  165. background:rgba(225,225,225,0.3);
  166. position: absolute;
  167. margin-left: 450px;
  168. letter-spacing: 0.6px;
  169. overflow: auto;
  170. line-height:140%;
  171. }
  172.  
  173. .right {
  174. width: 450px;
  175. height: 420px;
  176. background:rgba(225,225,225,0.3);
  177. position: absolute;
  178. }
  179.  
  180. #ask {
  181. background-color:transparent;
  182. margin:25px;
  183. height: 265px;
  184. overflow:hidden;
  185. }
  186.  
  187. #submit {
  188. background-color:transparent;
  189. margin:25px;
  190. height: 265px;
  191. overflow:scroll;
  192. display:none;
  193. }
  194.  
  195. #links a {
  196. text-decoration: none;
  197. margin: 10px;
  198. display: inline;
  199. font-weight:bold;
  200. }
  201.  
  202. #uptownfunk a {
  203. width:10px;
  204. height:10px;
  205. background:#fff;
  206. opacity:.5;
  207. position:fixed;
  208. bottom:10px;
  209. right:10px;
  210. border:solid 1px #000;
  211. }
  212.  
  213. </style>
  214. </head>
  215. <body>
  216.  
  217. <div class="cont">
  218.  
  219. <div class="right">
  220.  
  221. <div class="header">
  222. <div class="t1">Ask me something!</div>
  223. <div id="links">
  224. <a href="/">go back</a> //
  225. <a class="ask" style="cursor:help!Important;">ask</a> //
  226. <a class="submit" style="cursor:help!Important;">submit</a> //
  227. <a href="/">link</a>
  228. </div><!--links-->
  229. </div><!--header-->
  230.  
  231. <div id="askbox">
  232. <iframe frameborder="0" border="0" scrolling="no" width="400px" height="265" allowtransparency="true" opacity="1" src="http://www.tumblr.com/ask_form/{Name}.tumblr.com" style="margin:25px"></iframe>
  233. </div>
  234.  
  235. <div id="submit"><iframe frameborder="0" border="0" scrolling="no" width="398px" height="535px" allowtransparency="true" src="http://www.tumblr.com/submit_form/{Name}.tumblr.com"></iframe>
  236. </div>
  237.  
  238. </div><!--right-->
  239.  
  240. <div class="left">
  241.  
  242. <h1>This is how you wrap a question</h1>
  243. This is an answer. <b>Bold</b>, <i>italics</i>, <s>strike</s> and <u>underline</u>.
  244.  
  245. <h1>Who took your background photo?</h1>
  246. <a href="https://www.flickr.com/photos/pedromoriyama/">This wonderful artist.</a>
  247.  
  248. <h1>Why didn't you reply?</h1>
  249. 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!
  250.  
  251. <h1>Can you tag something for me?</h1>
  252. Sure! I can always tag anything that bothers you :)
  253.  
  254. <h1>Vote for me in a poll?</h1>
  255. Yes, sure. Just send me the link.
  256.  
  257. <h1>Can you recommend me good blogs?</h1>
  258. Every blog I follow is very good, so you can check out my blogroll.
  259.  
  260. <h1>Do you take requests?</h1>
  261. Not at the moment, but I will put it in my updates tab when they are opened.
  262.  
  263. <h1>Can I talk to you about random stuff, tell you about my day, ask for an advice or just be friends?</h1>
  264. Yes, PLEASE! I love meeting people here ♥
  265.  
  266. </div><!--left-->
  267.  
  268. </div><!--cont-->
  269.  
  270. <div id="uptownfunk"><a href="http://castiiel.tumblr.com" title="Theme by castiiel"></a></div>
  271.  
  272. </body>
  273. </html>
Advertisement
Add Comment
Please, Sign In to add comment