Advertisement
Amanduhh7

Design&Code About/FAQ Page

Feb 6th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.77 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <!--[if IE 8]><html class="lt-ie10 lt-ie9"> <![endif]-->
  3. <!--[if IE 9]><html class="lt-ie10"> <![endif]-->
  4. <!--[if gt IE 9]><!--> <html> <!--<![endif]-->
  5. <head>
  6.  
  7. <!--DO NOT REMOVE THE CREDIT-->
  8. <!--DO NOT REMOVE THE CREDIT-->
  9. <!--DO NOT REMOVE THE CREDIT-->
  10. <!--DO NOT REMOVE THE CREDIT-->
  11.  
  12. <meta name="image:header" content"">
  13. <meta name="color:posttitle" content="#ffffff">
  14. <meta name="text:Custom Link One" content="Link One">
  15. <meta name="text:Custom Link One URL" content="Link One URL">
  16. <meta name="text:Custom Link Two" content="Link Two">
  17. <meta name="text:Custom Link Two URL" content="Link Two URL">
  18. <meta name="text:Custom Link Three" content="Link Three">
  19. <meta name="text:Custom Link Three URL" content="Link Three URL">
  20. <meta name="text:Custom Link Four" content="Link Four">
  21. <meta name="text:Custom Link Four URL" content="Link Four URL">
  22. <meta name="text:Custom Link Five" content="Link Five">
  23. <meta name="text:Custom Link Five URL" content="Link Five URL">
  24. <meta name="text:Custom Link Six" content="Link Six">
  25. <meta name="text:Custom Link Six URL" content="Link Six URL">
  26. <meta name="text:Custom Link Seven" content="Link Seven">
  27. <meta name="text:Custom Link Seven URL" content="Link Seven URL">
  28. <meta name="text:Custom Link Eight" content="Link Eight">
  29. <meta name="text:Custom Link Eight URL" content="Link Eight URL">
  30. <meta name="text:Custom Link Nine" content="Link Nine">
  31. <meta name="text:Custom Link Nine URL" content="Link Nine URL">
  32. <meta name="text:Custom Link Ten" content="Link Ten">
  33. <meta name="text:Custom Link Ten URL" content="Link Ten URL">
  34.  
  35. <meta name="image:container" content="">
  36.  
  37.  
  38. <script type="text/javascript"
  39. src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.1/jquery.min.js"></script>
  40.  
  41. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/iBElrgjim/jquerymasonry.js"></script>
  42.  
  43. <script type="text/javascript" src="http://static.tumblr.com/dbek3sy/Qyblrgjfn/jqueryinfintescroll.js"></script>
  44. <script type="text/javascript">
  45. $(window).load(function () {
  46. var $content = $('#content');
  47. $content.masonry({itemSelector: '.posts'}),
  48. $content.infinitescroll({
  49. navSelector : 'div#pagination',
  50. nextSelector : 'div#pagination a#nextPage',
  51. itemSelector : '.posts',
  52. loading: {
  53. finishedMsg: '',
  54. img: 'http://static.tumblr.com/dbek3sy/pX1lrx8xv/ajax-loader.gif'
  55. },
  56. bufferPx : 600,
  57. debug : false,
  58. },
  59. // call masonry as a callback.
  60. function( newElements ) {
  61. var $newElems = $( newElements );
  62. $newElems.hide();
  63. // ensure that images load before adding to masonry layout
  64. $newElems.imagesLoaded(function(){
  65. $content.masonry( 'appended', $newElems, true, function(){$newElems.fadeIn(300);} );});});});</script>
  66.  
  67.  
  68. <style type="text/css">
  69. /* Colors */
  70. body {
  71. background-color:white;
  72. width:90%;
  73. }
  74.  
  75. a{color:#000000;}
  76.  
  77. #title{
  78. font-size:50px;
  79. text-align:center;
  80. font-family:georgia;
  81. }
  82.  
  83. #nav{
  84. margin-top:200px;
  85. margin-left:20px;
  86. height:100px;
  87. width:200px;
  88. }
  89.  
  90. #nav li{
  91. list-style-type:none;
  92. border:2px solid black;
  93. padding:5px;
  94. text-align:center;
  95. }
  96.  
  97. #nav li a{
  98. text-decoration:none;
  99. color:black;
  100. font-family:georgia;
  101. }
  102.  
  103. #nav li a:hover{
  104. color:red;
  105. }
  106.  
  107. #navtitle{
  108. margin-left:40px;
  109. text-align:center;
  110. font-size:25px;
  111. }
  112.  
  113. #sidebar2{
  114. float:left;
  115. width:200px;
  116. height:100px;
  117. margin-left:20px;
  118. margin-top:150px;
  119. }
  120.  
  121. #sidebar2 li{
  122. list-style-type:none;
  123. border:2px solid black;
  124. padding:5px;
  125. text-align:center;
  126. }
  127.  
  128. #sidebar2 li a{
  129. text-decoration:none;
  130. color:black;
  131. font-family:georgia;
  132. }
  133.  
  134. #sidebar2 li a:hover{
  135. color:red;
  136. }
  137.  
  138. #container{
  139. margin-left:600px;
  140. margin-top:-250px;
  141. max-width:600px;
  142. border:5px solid black;
  143. text-align:center;
  144. }
  145.  
  146. .containertitle{
  147. font-size:20px;
  148. color:#ffffff;
  149. background-color:gray;
  150. padding:2px;
  151. width:596px;
  152. }
  153.  
  154. .containertext{
  155. font-size:15px;
  156. text-align:center;
  157. background-color:#eaeaea;
  158. padding:2px;
  159. max-width:596px;
  160. word-wrap:break-word;
  161. }
  162.  
  163. #aboutword{
  164. margin-left:10px;
  165. margin-top:500px;
  166. font-size:100px;
  167. font-family:georgia;
  168. }
  169.  
  170. .aboutbox{
  171. width:300px;
  172. height:auto;
  173. border:2px solid black;
  174. margin-top:-200px;
  175. margin-left:300px;
  176. font-size:12px;
  177. padding:5px;
  178. visibility:hidden;
  179. box-shadow:5px 5px 5px black;
  180. }
  181.  
  182. #aboutword:hover .aboutbox{
  183. visibility:visible;
  184. }
  185.  
  186. #dashboardword{
  187. text-align:center;
  188. margin-top:-35px;
  189. font-size:100px;
  190. font-family:georgia;
  191. }
  192.  
  193. #dashboardword a{
  194. text-decoration:none;
  195. }
  196.  
  197. #creditword{
  198. float:right;
  199. margin-top:-112px;
  200. font-size:100px;
  201. font-family:georgia;
  202. }
  203.  
  204. #creditword a{
  205. text-decoration:none;
  206. }
  207.  
  208.  
  209.  
  210. /* Custom CSS */
  211. {CustomCSS}
  212. </style>
  213. </head>
  214. <body>
  215.  
  216. <div id="header">
  217. {block:HideTitle}<div id="title">{Title}</div>{/block:HideTitle}
  218. {block:HideHeaderImage}<center><img src="{image:header}"></center>{/block:HideHeaderImage}
  219. </div>
  220.  
  221. <div id="nav">
  222. <div id="navtitle">-Navigation-</div>
  223. <ul>
  224. <li><a href="/">Index</a></li>
  225. <li><a href="/ask">Message</a></li>
  226. <li><a href="{text:Custom Link One URL}">{text:Custom Link One}</a></li>
  227. <li><a href="{text:Custom Link Two URL}">{text:Custom Link Two}</a></li>
  228. <li><a href="{text:Custom Link Three URL}">{text:Custom Link Three}</a></li>
  229. <li><a href="{text:Custom Link Four URL}">{text:Custom Link Four}</a></li>
  230. </ul>
  231. </div>
  232.  
  233. <div id="sidebar2">
  234. <ul>
  235. <li><a href="{text:Custom Link Five URL}">{text:Custom Link Five}</a></li>
  236. <li><a href="{text:Custom Link Six URL}">{text:Custom Link Six}</a></li>
  237. <li><a href="{text:Custom Link Seven URL}">{text:Custom Link Seven}</a></li>
  238. <li><a href="{text:Custom Link Eight URL}">{text:Custom Link Eight}</a></li>
  239. <li><a href="{text:Custom Link Nine URL}">{text:Custom Link Nine}</a></li>
  240. <li><a href="{text:Custom Link Ten URL}">{text:Custom Link Ten}</a></li>
  241. </div>
  242.  
  243. <div id="container">
  244. <div class="containertitle">Example Question</div>
  245. <div class="containertext">This is how it will look if you have more than one line of text. This is how it will look if you have more than one line of text. This is how it will look if you have more than one line of text. This is how it will look if you have more than one line of text.</div>
  246. <div class="containertitle">Example Question Two</div>
  247. <div class="containertext">The container will expand in height if more questions are added.</div>
  248. <div class="containertitle">Example Question Three</div>
  249. <div class="containertext">Add as many FAQ questions as you would like.</div>
  250. <div class="containertitle">Example Question Four</div>
  251. <div class="containertext">Another example of a question and answer.</div>
  252. </div>
  253.  
  254. <div id="aboutword">
  255. About
  256. <div class="aboutbox">
  257. This is the about section. Write anything you want to here. The box will expand as you write, so don't worry about text being cut off or hidden. Though the box expands, be sure to not write too much and have the box continue off of the screen.
  258. </div>
  259.  
  260. <div id="dashboardword">
  261. <a href="http://www.tumblr.com">Dashboard</a>
  262. </div>
  263.  
  264. <div id="creditword">
  265. <a href="http://www.slapdashthemes.tumblr.com">Credit</a>
  266. </div>
  267. </div>
  268. </body>
  269. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement