thanksamber

Theme 007 - FAQ

Aug 10th, 2015
1,264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.12 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <!-- macfustythemes -->
  4. <head>
  5. <title>{block:PostTitle}{PostTitle} - {/block:PostTitle}{Title} </title>
  6. {block:Description}
  7. <meta name="description" content="{MetaDescription}">
  8. {/block:Description}
  9.  
  10. <link rel="shortcut icon" href="{Favicon}">
  11.  
  12. <link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
  13.  
  14. <!-- HTML5 Shiv -->
  15. <!--[if lt IE 9]>
  16. <script src="http://static.tumblr.com/hriofhd/Qj0m8pn7q/html5shiv.js"></script>
  17. <![endif]-->
  18.  
  19. <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
  20. <script src="http://static.tumblr.com/01wstkc/BAXnr15b7/jquery-ui.min.js" type="text/javascript"></script>
  21.  
  22. <script>
  23. $(document).ready(function() {
  24. $("#faq ul li").not(".show").find("ul").hide();
  25. $("#faq ul li").not(".show").find("#arrow").addClass("down");
  26. $("#faq ul li").click(function() {
  27.  
  28. if ($(this).find("ul").is(":hidden")) {
  29. $(this).find("ul").slideDown("slow");
  30. $(this).find("#arrow").removeClass("down");
  31. $(this).siblings().find("ul").slideUp("slow");
  32. $(this).siblings().find("#arrow").addClass("down");
  33. } else {
  34. $(this).find("ul").slideUp("slow");
  35. $(this).find("#arrow").addClass("down");
  36. }
  37.  
  38. });
  39. });
  40. </script>
  41.  
  42. <style>
  43.  
  44. body {
  45. background-color: #0f0f0f;
  46. background-image: url('{image:Background}');
  47. background-repeat: no-repeat;
  48. background-attachment: fixed;
  49. color: #000;
  50. font-size: 11px;
  51. font-family: 'Calibri', sans-serif;
  52. line-height: 18px;
  53. }
  54.  
  55. a {
  56. color: #f2992e;
  57. text-decoration: none;
  58. -moz-transition: all 0.5s ease;
  59. -o-transition: all 0.5s ease;
  60. -webkit-transition: all 0.5s ease;
  61. transition: all 0.5s ease;
  62. }
  63.  
  64. a:hover {
  65. color: #fff;
  66. letter-spacing: 1px;
  67. }
  68.  
  69. .clear {
  70. clear: both;
  71. }
  72.  
  73. blockquote {
  74. border-left: 1px solid {color:Border};
  75. padding: 5px 10px;
  76. }
  77.  
  78. h1 {
  79. font-weight: normal;
  80. text-transform: uppercase;
  81. text-align: center;
  82. font-size: 18px;
  83. letter-spacing: 3px;
  84. }
  85.  
  86. h3 {
  87. font-weight: normal;
  88. text-transform: uppercase;
  89. text-align: center;
  90. font-size: 14px;
  91. letter-spacing: 3px;
  92. }
  93.  
  94. h2 {
  95. background-color: #f2992e;
  96. width: 100%;
  97. padding: 5px 0;
  98. font-weight: normal;
  99. font-family: 'Roboto', sans-serif;
  100. text-transform: uppercase;
  101. text-align: center;
  102. color: #0f0f0f;
  103. }
  104.  
  105. /** HEADER **/
  106.  
  107. #header {
  108. position: fixed;
  109. width: 100%;
  110. top: 10%;
  111. left: 7.3%;
  112. font-family: 'Roboto', sans-serif;
  113. }
  114.  
  115. #header span {
  116. font-size: 22px;
  117. text-transform: uppercase;
  118. letter-spacing: 3px;
  119. color: #f2992e;
  120. padding-right: 1%;
  121. }
  122.  
  123. #header a {
  124. color: #707070;
  125. text-transform: lowercase;
  126. padding: 0 2%;
  127. }
  128.  
  129. #header a:hover {
  130. color: #f2992e;
  131. }
  132.  
  133. /** CONTAINER **/
  134.  
  135. #container {
  136. position: fixed;
  137. height: 77.5%;
  138. width: 85.4%;
  139. left: 7.3%;
  140. top: 15%;
  141. background-color: #fff;
  142. border: 1px solid #0f0f0f;
  143. overflow: auto;
  144. }
  145.  
  146. #container::-webkit-scrollbar
  147. {
  148. width: 4px;
  149. }
  150.  
  151. #container::-webkit-scrollbar-thumb
  152. {
  153. background-color: #f2992e;
  154. }
  155.  
  156. #content {
  157. width: 810px;
  158. margin: 4% auto;
  159. border: 1px solid #eaeaea;
  160. }
  161.  
  162. #faq {
  163. width: 400px;
  164. float: left;
  165. }
  166.  
  167. #faq ul {
  168. padding: 0;
  169. width: 400px;
  170. }
  171.  
  172. #faq ul li {
  173. list-style-type: none;
  174. width: 380px;
  175. padding: 0 10px;
  176. margin-bottom: 5px;
  177. }
  178.  
  179. #arrow {
  180. float: right;
  181. margin-top: -30px;
  182. border-radius: 100%;
  183. width: 10px;
  184. height: 10px;
  185. padding: 5px;
  186. border: 1px solid #fff;
  187. color: #fff;
  188. text-align: center;
  189. line-height: 13px;
  190. -moz-transition: all 0.5s ease;
  191. -o-transition: all 0.5s ease;
  192. -webkit-transition: all 0.5s ease;
  193. transition: all 0.5s ease;
  194. }
  195.  
  196. #arrow.down {
  197. -ms-transform: rotate(180deg); /* IE 9 */
  198. -webkit-transform: rotate(180deg); /* Chrome, Safari, Opera */
  199. transform: rotate(180deg);
  200. }
  201.  
  202. #faq ul li:hover > #arrow {
  203. color: #000;
  204. border: 1px solid #000;
  205. }
  206.  
  207. .label {
  208. width: 380px;
  209. padding: 10px;
  210. background-color: #f2992e;
  211. font-family: 'Roboto', sans-serif;
  212. font-size: 16px;
  213. text-transform: uppercase;
  214. letter-spacing: 2px;
  215. color: #fff;
  216. -moz-transition: all 0.5s ease;
  217. -o-transition: all 0.5s ease;
  218. -webkit-transition: all 0.5s ease;
  219. transition: all 0.5s ease;
  220. }
  221.  
  222.  
  223. #faq ul ul {
  224. padding: 0;
  225. }
  226.  
  227. #faq ul ul li {
  228. margin-bottom: 0;
  229. padding: 10px;
  230. background-color: #eaeaea;
  231. color: #000;
  232. font-size: 11px;
  233. font-family: 'Calibri', sans-serif;
  234. text-transform: none;
  235. text-align: justify;
  236. }
  237.  
  238. .q {
  239. text-transform: uppercase;
  240. font-size: 12px;
  241. text-align: right;
  242. font-weight: bold;
  243. margin-bottom: 5px;
  244. }
  245.  
  246. #title {
  247. padding-left: 10px;
  248. font-family: 'Roboto', sans-serif;
  249. font-size: 16px;
  250. text-transform: uppercase;
  251. letter-spacing: 2px;
  252. text-align: center;
  253. }
  254.  
  255. #ask {
  256. position: fixed;
  257. margin: 15px 10px 0 415px;
  258. width: 385px;
  259. }
  260.  
  261. /** CREDIT **/
  262.  
  263. a.macfustys {
  264. position: fixed;
  265. bottom: 2%;
  266. right: 1%;
  267. border: 1px solid #707070;
  268. padding: 2px;
  269. font-size: 12px;
  270. letter-spacing: 1px;
  271. color: #707070;
  272. }
  273.  
  274. a.macfustys:hover {
  275. color: #f2992e;
  276. letter-spacing: 1px;
  277. }
  278.  
  279. </style>
  280. <body>
  281.  
  282. <!-- HEADER -->
  283.  
  284. <div id="header">
  285. <span>{Title}</span>
  286. <a href="/">Home</a>
  287. <a href="/ask">Message</a>
  288. <a href="/">Link 2</a>
  289. <a href="/">Link 3</a>
  290. <a href="/">Link 4</a>
  291. <a href="/">Link 5</a>
  292. <a href="/">Link 6</a>
  293. </div>
  294.  
  295. <!-- CONTAINER -->
  296.  
  297. <div id="container">
  298. <div id="content">
  299. <div id="faq">
  300. <ul>
  301. <li class="show"><div class="label">Section 1</div>
  302. <div id="arrow">^</div>
  303. <ul>
  304. <li>
  305. <div class="q">What's this page about?</div>
  306. <p>This is an FAQ page.
  307. </li>
  308. <li>
  309. <div class="q">What's with the sections?</div>
  310. <p>Divide your FAQ into optional sections. Click the section header to open another section. Don't forget to add your URL in the ask box code.
  311. </li>
  312. </ul>
  313. </li>
  314. <li><div class="label">Section 2</div>
  315. <div id="arrow">^</div>
  316. <ul>
  317. <li>
  318. <div class="q">An sincerity so extremity he additions?</div>
  319. <p>Her yet there truth merit. Mrs all projecting favourable now unpleasing. Son law garden chatty temper. Oh children provided to mr elegance marriage strongly. Off can admiration prosperous now devonshire diminution law.
  320. </li>
  321. <li>
  322. <div class="q">Those an equal point no years do?</div>
  323. <p>Depend warmth fat but her but played. Shy and subjects wondered trifling pleasant. Prudent cordial comfort do no on colonel as assured chicken. Smart mrs day which begin. Snug do sold mr it if such. Terminated uncommonly at at estimating. Man behaviour met moonlight extremity acuteness direction.
  324.  
  325. <p>Be me shall purse my ought times. Joy years doors all would again rooms these. Solicitude announcing as to sufficient my. No my reached suppose proceed pressed perhaps he. Eagerness it delighted pronounce repulsive furniture no. Excuse few the remain highly feebly add people manner say. It high at my mind by roof. No wonder worthy in dinner.
  326. </li>
  327. <li>
  328. <div class="q">Unfeeling so rapturous discovery he exquisite?</div>
  329. <p>Reasonably so middletons or impression by terminated. Old pleasure required removing elegance him had. Down she bore sing saw calm high. Of an or game gate west face shed. no great but music too old found arose.
  330. </li>
  331. </ul>
  332. </li>
  333. <li><div class="label">Section 3</div>
  334. <div id="arrow">^</div>
  335. <ul>
  336. <li>
  337. <div class="q">Indulgence announcing uncommonly met she continuing two unpleasing terminated?</div>
  338. <p>Share walls stuff think but the arise guest. Course suffer to do he sussex it window advice. Yet matter enable misery end extent common men should. Her indulgence but assistance favourable cultivated everything collecting.
  339.  
  340. <p>Written enquire painful ye to offices forming it. Then so does over sent dull on. Likewise offended humoured mrs fat trifling answered. On ye position greatest so desirous. So wound stood guest weeks no terms up ought. By so these am so rapid blush songs begin. Nor but mean time one over.
  341. </li>
  342. </ul>
  343. </li>
  344. </ul>
  345. </div>
  346. <div id="ask">
  347. <div id="title">Frequently Asked Questions</div>
  348. <p><iframe frameborder="0" scrolling="no" width="100%" height="250" src="http://www.tumblr.com/ask_form/YOURURL.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>
  349. </div>
  350. <div class="clear"></div>
  351. </div>
  352. </div>
  353.  
  354. <!-- CREDIT -->
  355. <a target="new" class="macfustys" href="http://macfustythemes.tumblr.com/">
  356. MT
  357. </a>
  358. </body>
  359. </html>
Advertisement
Add Comment
Please, Sign In to add comment