Advertisement
cornetespoir

{FAQ:1} Sunset

Jan 22nd, 2016
1,112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.14 KB | None | 0 0
  1. <!--
  2. // {FAQ:1}
  3.  
  4. Sunset
  5.  
  6. by espoirthemes //
  7.  
  8. + basic html and css knowledge is required to customize this page
  9. + follow the instructions in the code to help you make edits
  10. + please do not move or remove the credit
  11.  
  12.  
  13. -->
  14.  
  15.  
  16. <!DOCTYPE html>
  17.  
  18. <html>
  19.  
  20. <head>
  21.  
  22.  
  23.  
  24. <!--change FAQ to whatever you want the title to be -->
  25. <title>FAQ</title>
  26. <link rel="shortcut icon" href="{Favicon}">
  27. <link href="https://fonts.googleapis.com/css?family=ABeeZee" rel="stylesheet">
  28. <link href="//dl.dropbox.com/s/50g6fbds3rh4m0j/saturnicons.css" rel="stylesheet">
  29. </head>
  30.  
  31.  
  32. <style type="text/css">
  33.  
  34.  
  35. /* body styling */
  36. body {
  37. margin: 0;
  38. font-family: ABeeZee, sans-serif;
  39. /* if you want to change the background a single color or image, replace the background line with this:
  40. background: #f8f8f8 url('');
  41. */
  42. background: linear-gradient(to bottom, #74819D, #FCA699, #F8D28B);
  43. background-attachment: fixed;
  44. word-wrap: break-word;
  45. font-size: 16px; /* please keep the font size above 12px */
  46. overflow-x:hidden;
  47. color: #151515;
  48.  
  49. }
  50.  
  51. /*links*/
  52.  
  53. a {
  54. color:#FEF0A5; /* color of the links */
  55. text-decoration: none; /* removes default underline */
  56. }
  57.  
  58. /* ask sections */
  59. article {
  60. position:relative;
  61. width:40%; /* you can change this to make the overall size of the sections bigger or smaller */
  62. color:white;
  63. margin:100px auto;
  64. }
  65.  
  66. /* Question bubble */
  67.  
  68. .bubble {
  69. position:relative;
  70. background:rgba(0,0,0,.098); /* semi transparent black background */
  71. padding:20px; /* change space around edges */
  72. width:50%;
  73. transform:translate(20%,0); /* do not touch this, it's important to the positioning */
  74. border-radius:10px; /* erase this if you do not want rounded corners */
  75. border-top-left-radius:0px;
  76.  
  77. }
  78.  
  79. /* question icon */
  80.  
  81. .bubble span {
  82. color:rgba(255,255,255,.8);
  83. border-radius:100%; /* erase this if you want it to be a square */
  84. transform:translate(-60px, -12px);
  85. padding:4px 4px 0px 4px;
  86. border:2px solid rgba(255,255,255,.8); /* border around icon */
  87. position:absolute;
  88. }
  89.  
  90. /* Answer bubble */
  91.  
  92. .bubbleb {
  93. position:relative;
  94. background:rgba(0,0,0, .098);
  95. padding:20px;
  96. transform:translate(20%, 0);
  97. margin:20px auto;
  98. width:50%;
  99. border-radius:10px;
  100. border-top-right-radius:0px;
  101.  
  102. }
  103.  
  104. .bubbleb span {
  105. color:rgba(255,255,255,.8);
  106. border-radius:100%;
  107. right:0px;
  108. transform:translate(40px, -12px);
  109. padding:6px 6px 2px 6px;
  110. border:2px solid rgba(255,255,255,.8);
  111. position:absolute;
  112. }
  113.  
  114.  
  115.  
  116. /*here's where you can change the askbox's appearance*/
  117. #askbox{position:relative; margin:100px auto; padding:10px; width:400px; background:rgba(0,0,0,.098);}
  118.  
  119.  
  120.  
  121. /* top bar */
  122. header {
  123. position:fixed;
  124. width:100%;
  125. top:0px;
  126. background:rgba(0,0,0,.04); /* semi transparent background */
  127. padding:20px;
  128. }
  129.  
  130. nav a {
  131. margin:10px;
  132. }
  133.  
  134. #egg { opacity:.8;left:10px; bottom:10px; position:fixed;bottom:4px;display:block; width: 14px; height: 18px; background-color:rgba(255,255,255,1); border:1px solid rgba(0,0,0,.4); -webkit-border-radius: 63px 63px 63px 63px / 108px 108px 72px 72px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  135. z-index:4;
  136.  
  137. }
  138. #egg:hover { animation-name: egg;
  139. animation-duration: 1s;
  140. animation-iteration-count: infinite;}
  141. @keyframes egg{
  142. 0%{}
  143. 10%{transform:rotate(20deg)}
  144. 80%{transform:rotate(-20deg)}
  145. 100%{}
  146. }
  147.  
  148. </style>
  149.  
  150. <body>
  151.  
  152. <header>
  153. <nav>
  154. <a href="http://.tumblr.com">Home</a>
  155. <a href="/archive">Archive</a>
  156. <a href="http://tumblr.com/">Dashboard</a>
  157. <!-- to add a link, copy and paste one of the above links, and replace the info with the new link -->
  158. </nav>
  159. </header>
  160.  
  161. <!-- actual faq starts here
  162. to erase a question, erasae from <article> to </article>
  163. -->
  164.  
  165. <!-- first question and answer set -->
  166. <article>
  167.  
  168. <!-- question -->
  169. <div class="bubble">
  170. <!-- icon -->
  171. <span class="sf sf-question-mark"></span>
  172. <!-- here's where your first question goes -->
  173. What is the name of this page?
  174. </div> <!-- end question -->
  175.  
  176. <!-- answer -->
  177. <div class="bubbleb">
  178. <!-- icon -->
  179. <span class="sf sf-chat-o"></span>
  180. <!-- here's where your answer goes -->
  181. This is a revamp of Faq 01.
  182. </div> <!-- end answer -->
  183.  
  184. </article> <!-- end q and a -->
  185.  
  186. <!-- second q and a set -->
  187. <article>
  188. <!-- question -->
  189. <div class="bubble">
  190. <span class="sf sf-question-mark"></span>
  191. <!-- question goes here -->
  192. Why did you revamp it?
  193. </div> <!-- end question -->
  194.  
  195. <!-- answer -->
  196. <div class="bubbleb">
  197. <span class="sf sf-chat-o"></span>
  198. <!-- answer goes here -->
  199. The font was too small, and it was the first page I ever made. The code was messy.
  200. </div>
  201. </article> <!-- end q and a -->
  202.  
  203. <!-- start q and a -->
  204. <article>
  205. <div class="bubble">
  206. <span class="sf sf-question-mark"></span>
  207. Where can I get this page?
  208. </div>
  209.  
  210. <div class="bubbleb">
  211. <span class="sf sf-chat-o"></span>
  212. <a href="https://pastebin.com/ZeUwuzj5">This pastebin link has the code</a>
  213. </div>
  214. </article> <!-- end q an a -->
  215.  
  216. <!-- template for a new question -->
  217.  
  218. <!--
  219. <article>
  220. <div class="bubble">
  221. <span class="sf sf-question-mark"></span>
  222. Question
  223. </div>
  224.  
  225. <div class="bubbleb">
  226. <span class="sf sf-chat-o"></span>
  227. Answer
  228. </div>
  229. </article>
  230. -->
  231.  
  232. <!-- askbox -->
  233. <div id="askbox"><iframe id="ask_form" style="background-color: transparent;margin-left:200px overflow: hidden;" src="http://www.tumblr.com/ask_form/{name}.tumblr.com" frameborder="0" scrolling="no" width="400px" height="250"></iframe></div>
  234.  
  235.  
  236. <a href="http://espoirthemes.tumblr.com" title="credit"><div id="egg"></div></a>
  237.  
  238. </body>
  239. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement