Advertisement
cornetespoir

FAQ page #3

Sep 5th, 2016
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.84 KB | None | 0 0
  1. <!--
  2.  
  3. // FAQ #3
  4.  
  5. by espoirthemes //
  6.  
  7. -->
  8.  
  9. <html>
  10. <head>
  11. <link rel="shortcut icon" href="{Favicon}" />
  12. <link rel="alternate" type="application/rss+xml" href="{RSS}" />
  13. <title>{name}'s faq</title>
  14. <link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
  15. <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
  16. </head>
  17. <style type="text/css">
  18.  
  19. .tmblr-iframe.tmblr-iframe--desktop-logged-in-controls.iframe-controls--desktop {
  20. white-space:nowrap; -webkit-filter: invert(100%); -moz-filter: invert(100%); -o-filter: invert(100%); -ms-filter: invert(100%); filter: invert(100%);
  21. position:fixed;
  22. top:6px;
  23. opacity:.4;
  24.  
  25. /*to make the tumblr controls not show up, just add "display:none;"*/
  26.  
  27. }
  28.  
  29.  
  30. /*scrollbar*/
  31. ::-webkit-scrollbar {
  32. width:12px;
  33. background:#ccc;
  34. border:5px solid #fefefe;
  35.  
  36. }
  37.  
  38. ::-webkit-scrollbar-thumb {
  39. border:5px solid #fefefe;
  40. background:#888;
  41. }
  42.  
  43.  
  44. body {
  45. margin:0;
  46. background:#fefefe; /*background color */
  47. font-family:Roboto; /*font */
  48. font-size:.9em;
  49. color:#686868; /*font color */
  50. }
  51.  
  52. a {
  53. color:#5ccccb; /*link color */
  54. border-bottom:1px solid black; /*link underline */
  55. text-decoration:none;
  56. transition:.6s;
  57. }
  58.  
  59. a:hover {
  60. color:#eee; /*hover link */
  61. transition:.6s;
  62. }
  63.  
  64. #faq {
  65. position:relative;
  66. width:100%;
  67. padding-top:40px;
  68. padding-bottom:20px;
  69. margin:10px auto;
  70. overflow-x:hidden;
  71.  
  72. }
  73.  
  74.  
  75. /* question bubble */
  76. .bub {
  77. margin-top:40px;
  78. position: relative;
  79. width: 320px;
  80. left:-20px;
  81. height: auto;
  82. text-align:center;
  83. padding: 0px;
  84. background: #FFFFFF; /*bubble background */
  85. border-radius: 2px;
  86. padding:20px;
  87. border: #aaa solid 1px; /*bubble border*/
  88. }
  89.  
  90. .bub:after
  91. {
  92. content: '';
  93. position: absolute;
  94. border-style: solid;
  95. border-width: 12px 17px 12px 0;
  96. border-color: transparent #FFFFFF; /*must be same color as bubble background */
  97. display: block;
  98. width: 0;
  99. z-index: 1;
  100. left: -17px;
  101. top: 23px;
  102. }
  103.  
  104. .bub:before
  105. {
  106.  
  107. content: '';
  108. position: absolute;
  109. border-style: solid;
  110. border-width: 12px 17px 12px 0;
  111. border-color: transparent #5cccc6; /*speech bubble triangle border */
  112. display: block;
  113. width: 0;
  114. z-index: 0;
  115. left: -18px;
  116. top: 23px;
  117. }
  118.  
  119. /*answer bubble */
  120. .bub2 {
  121. padding:4px;
  122. left:20px;
  123. position: relative;
  124. width: 320px;
  125. bottom:20px;
  126. margin-top:40px;
  127. text-align:left;
  128. height: auto;
  129. min-height:24px;
  130. padding: 20px;
  131. background: #FFFFFF; /*bubble background */
  132. border-radius: 2px;
  133. border: #5cccc6 solid 1px; /*bubble border */
  134. }
  135.  
  136. .bub2:after
  137. {
  138. content: '';
  139. position: absolute;
  140. border-style: solid;
  141. border-width: 10px 0 10px 17px;
  142. border-color: transparent #FFFFFF; /*bubble background */
  143. display: block;
  144. width: 0;
  145. z-index: 1;
  146. right: -17px;
  147. top: 38px;
  148. }
  149.  
  150. .bub2:before
  151. {
  152. content: '';
  153. position: absolute;
  154. border-style: solid;
  155. border-width: 10px 0 10px 17px;
  156. border-color: transparent #aaa; /*bubble triangle border */
  157. display: block;
  158. width: 0;
  159. z-index: 0;
  160. right: -18px;
  161. top: 38px;
  162. }
  163.  
  164. .top {
  165. position:fixed;
  166. z-index:9999;
  167.  
  168. }
  169.  
  170. .top a {
  171. margin:8px;
  172. text-decoration:none;
  173. border:none;
  174. color:#888;
  175. }
  176.  
  177.  
  178.  
  179. #egg { opacity:.8;left:10px; bottom:10px; position:fixed;display:block; width: 14px; height: 18px; background-color:#FFFEFC; -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  180. font-family: "up";
  181. border:1px solid #888; z-index:4;
  182.  
  183. }
  184.  
  185. #egg:hover { animation-name: egg;
  186. animation-duration: 1s;
  187. animation-iteration-count: infinite;}
  188. @keyframes egg{
  189. 0%{}
  190. 10%{transform:rotate(6deg)}
  191. 80%{transform:rotate(-6deg)}
  192. 100%{}
  193. }
  194. </style>
  195.  
  196. <body>
  197. <div class="top">
  198. <a href="/"> <i class="fa fa-arrow-left"></i> back</a>
  199. <a href="/archive"> <i class="fa fa-history"></i> archive </a>
  200. <a href="/"> <i class="fa fa-navicon"></i> extra link</a>
  201.  
  202. </div>
  203.  
  204. <div id="faq">
  205. <center>
  206. <!-- to add more questions,
  207. copy and paste the question bubble
  208. and answer bubble
  209. -->
  210.  
  211. <!--question bubble -->
  212. <div class="bub">
  213.  
  214. this is a question?
  215.  
  216. </div>
  217. <!--end bubble-->
  218.  
  219. <!--answer bubble -->
  220. <div class="bub2">
  221.  
  222. this is an answer!
  223.  
  224. </div>
  225. <!--end bubble -->
  226.  
  227. <div class="bub">
  228. Sed sapien diam, mollis lobortis auctor vel, bibendum a nisl. Cras eleifend nibh accumsan lorem suscipit vehicula. Donec non leo lorem.
  229. </div>
  230.  
  231. <div class="bub2">
  232. Vestibulum interdum rhoncus eros, ac semper ex tristique sit amet.
  233. </div>
  234.  
  235. <div class="bub">
  236. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam vitae lectus vitae ante convallis consequat non vitae tellus. Curabitur rutrum, magna eget gravida lobortis, tortor libero aliquet ex, quis tempus nulla nibh at lectus.
  237. </div>
  238.  
  239. <div class="bub2">
  240. Integer tempor convallis magna, et porta neque efficitur id.
  241. </div>
  242.  
  243. <iframe frameborder="0" border="0" scrolling="no" width="400" height="240" allowtransparency="true" src="http://www.tumblr.com/ask_form/{name}.tumblr.com" style="background-color:transparent; overflow:hidden;"></iframe>
  244.  
  245. </center>
  246. </div>
  247. <br>
  248. <a href="http://espoirthemes.tumblr.com" title="credit"><div id="egg"></div></a>
  249.  
  250. </body>
  251. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement