oftenwrongthemes

All-in-One Page 04

May 18th, 2017
383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.03 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <title>Navigation</title>
  5.  
  6. <!--ALL THE JQUERY-->
  7. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" type="text/javascript"></script>
  8. <script>
  9. $(document).ready(function(){
  10. $('.tab, .exit, .abt, .faq, .nav, .blogroll').hide();
  11. $('h1').click(function(){
  12. $('.x1, .x2').css({
  13. 'transition-duration': '1s',
  14. 'transform': 'rotate(90deg)',
  15. 'position': 'relative',
  16. 'left': '-275px',
  17. 'transition-delay': '0s',
  18. });
  19. $('.exit').delay(1000).fadeIn(1000);
  20. $('.tab').delay(1000).show().css({
  21. 'width': '550px',
  22. 'transition-duration': '1s',
  23. 'transition-delay': '1s',
  24. });
  25.  
  26. $('.exit').click(function(){
  27. $('.tab, .exit').fadeOut(500);
  28. $('.tab').css('width', '0px');
  29. $('.x1, .x2').css({
  30. 'transition-delay': '0.5s',
  31. 'transition-duration': '1s',
  32. 'position': 'relative',
  33. 'left': '0px',
  34. });
  35. $('.x1').css('transform', 'rotate(45deg)');
  36. $('.x2').css('transform', 'rotate(-45deg)')
  37. })
  38.  
  39. if($(this).attr('id') == 'about'){
  40. $('.abt').delay(1800).fadeIn(800);
  41. $('.exit').click(function(){
  42. $('.abt').fadeOut(500);
  43. });
  44. } else if($(this).attr('id') == 'asked'){
  45. $('.faq').delay(1800).fadeIn(800);
  46. $('.exit').click(function(){
  47. $('.faq').fadeOut(500);
  48. });
  49. } else if($(this).attr('id') == 'navi'){
  50. $('.nav').delay(1800).fadeIn(800);
  51. $('.exit').click(function(){
  52. $('.nav').fadeOut(500);
  53. })
  54. } else if($(this).attr('id') == 'broll'){
  55. $('.blogroll').delay(1800).fadeIn(800);
  56. $('.exit').click(function(){
  57. $('.blogroll').fadeOut(500);
  58. });
  59. };
  60. });
  61. });
  62. </script>
  63.  
  64. <!--FONTS-->
  65. <link href="https://fonts.googleapis.com/css?family=Lato:400,700|Playfair+Display:400,400i,700" rel="stylesheet">
  66.  
  67. <style type="text/css">
  68.  
  69. /*GLOBAL*/
  70.  
  71. html, body {
  72. font-family: 'Lato', sans-serif;
  73. font-size: 10px;
  74. color: #999;
  75. line-height: 130%;
  76. background: #fff;
  77. overflow: hidden;
  78. }
  79.  
  80. a {
  81. font-weight: bold;
  82. text-decoration: none;
  83. color: #555;
  84. }
  85.  
  86. .con {
  87. width: 350px;
  88. padding: 10px;
  89. margin: 22% auto;
  90. }
  91.  
  92. .exit {
  93. font-size: 15px;
  94. position: fixed;
  95. z-index: 999999999;
  96. left: 29%;
  97. top: 21%;
  98. }
  99.  
  100. .goback {
  101. position: fixed;
  102. top: 10px;
  103. left: 10px;
  104. font-style: italic;
  105. }
  106.  
  107. .credit a {
  108. position: fixed;
  109. bottom: 10px;
  110. right: 10px;
  111. }
  112.  
  113. .x1,
  114. .x2 {
  115. width: 100%;
  116. height: 1px;
  117. background: #ccc;
  118. }
  119.  
  120. .x1 {
  121. transform: rotate(45deg);
  122. }
  123.  
  124. .x2 {
  125. transform: rotate(-45deg);
  126. }
  127.  
  128. h1 {
  129. font-family: 'Playfair Display', serif;
  130. font-weight: 700;
  131. text-transform: lowercase;
  132. font-size: 18px;
  133. margin: auto;
  134. position: absolute;
  135. text-align: center;
  136. }
  137.  
  138. .tab {
  139. background: #f9f9f9;
  140. margin-left: 1px;
  141. border-left: 0px solid #ccc;
  142. border-right: 0px solid #ccc;
  143. left: -100px;
  144. top: -176px;
  145. width: 0px;
  146. height: 350px;
  147. position: relative;
  148. z-index: 999;
  149. }
  150.  
  151. ::-webkit-scrollbar { width: 2px; background: transparent; }
  152. ::-webkit-scrollbar-thumb { background: #aaa; }
  153. ::-webkit-scrollbar-corner { background: #aaa; }
  154.  
  155. .abt,
  156. .blogroll,
  157. .faq {
  158. width: 585px;
  159. height: 350px;
  160. padding: 20px;
  161. box-sizing: border-box;
  162. }
  163.  
  164. /*ABOUT PAGE*/
  165.  
  166. .abtsidebar {
  167. float: left;
  168. width: 100px;
  169. }
  170.  
  171. .abtsidebar img {
  172. width: 100px;
  173. }
  174.  
  175. .abtline {
  176. width: 90px;
  177. height: 1px;
  178. background: #ddd;
  179. margin: 10px 0 10px 5px;
  180. }
  181.  
  182. .abtquote {
  183. text-align: justify;
  184. font-size: 8.5px;
  185. text-transform: uppercase;
  186. }
  187.  
  188. .abttext {
  189. padding: 0 20px;
  190. overflow: auto;
  191. height: 310px;
  192. width: 375px;
  193. }
  194.  
  195. /*FAQ*/
  196.  
  197. .faq {
  198. width: 550px;
  199. overflow: auto;
  200. }
  201.  
  202. .faqtitle {
  203. font-family: 'Playfair Display', serif;
  204. font-weight: 700;
  205. font-size: 13px;
  206. font-style: italic;
  207. }
  208.  
  209. /*NAVIGATION PAGE*/
  210.  
  211. .nav {
  212. overflow: auto;
  213. height: 350px;
  214. box-sizing: border-box;
  215. padding: 20px;
  216. }
  217.  
  218. .navlinks {
  219. background: #aaa;
  220. padding: 5px;
  221. margin-top: 3px;
  222. width: auto;
  223. box-sizing: border-box;
  224. text-align: center;
  225. text-transform: uppercase;
  226. color: white;
  227. }
  228.  
  229. .navlinks a {
  230. color: white;
  231. }
  232.  
  233. .navcon {
  234. float: left;
  235. margin-left: 30px;
  236. }
  237.  
  238. .navboxtitle {
  239. background: transparent;
  240. font-weight: 700;
  241. padding: 7px 7px 3px 7px;
  242. text-transform: uppercase;
  243. margin-top: 10px;
  244. }
  245.  
  246. .navbox {
  247. background: transparent;
  248. border-left: 1px solid #ccc;
  249. border-top: 1px solid #ccc;
  250. padding: 7px;
  251. box-sizing: border-box;
  252. width: 200px;
  253. }
  254.  
  255. /*BLOGROLL*/
  256.  
  257. .blogroll {
  258. overflow: auto;
  259. width: 550px;
  260. }
  261.  
  262. .icons img {
  263. float: left;
  264. display: inline-block;
  265. margin: 10px;
  266. width: 30px;
  267. height: 30px;
  268. border-radius: 50px;
  269. -webkit-border-radius: 50px;
  270. -moz-border-radius: 50px;
  271. }
  272.  
  273. </style>
  274. </head>
  275. <body>
  276. <div class="goback">
  277. <a href="/">← go back</a>
  278. </div>
  279. <div class="con">
  280. <div class="exit">x</div>
  281.  
  282. <!--TAB TITLES-->
  283. <h1 id="broll" style="margin-left: 70px;">
  284. blogroll
  285. </h1>
  286.  
  287. <h1 id="about" style="margin: -80px 0 0 150px;">
  288. about
  289. </h1>
  290.  
  291. <h1 id="asked" style="margin-left: 230px;">
  292. faq
  293. </h1>
  294.  
  295. <h1 id="navi" style="margin: 80px 0 0 135px;">
  296. navigation
  297. </h1>
  298.  
  299. <div class="x1"></div>
  300. <div class="x2"></div>
  301.  
  302. <!--CONTENT TAB-->
  303. <div class="tab">
  304.  
  305. <!--ABOUT SECTION-->
  306. <div class="abt">
  307. <div class="abtsidebar">
  308. <img src="ICON LINK HERE">
  309. <div class="abtline"></div>
  310. <b>Name:</b> Ren<br>
  311. <b>Age:</b> Twenty<br>
  312. <b>Pronouns:</b> he/him
  313. <p>
  314. <div class="abtquote">
  315. "QUOTE HERE."
  316. </div>
  317. </div>
  318. <div class="abttext">
  319. ALL OF YOUR ABOUT ME TEXT, SEPARATED BY PARAGRAPHS
  320.  
  321. </div>
  322. </div>
  323.  
  324. <!--FAQ SECTION-->
  325. <div class="faq">
  326. <div class="faqtitle">
  327. 1. Is this where I can put my frequently asked questions?
  328. </div>
  329. <p>
  330. Why yes it is! This is where you would write all of that information.
  331.  
  332. <div class="faqtitle">
  333. 2. Is this question two?
  334. </div>
  335. <p>
  336. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec massa lorem, congue vitae dapibus at, feugiat et metus. Curabitur eu massa interdum, vulputate libero eu, pharetra dui. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam ultricies risus nec interdum gravida.
  337.  
  338. <div class="faqtitle">
  339. 3. Is this question three?
  340. </div>
  341. <p>
  342. Proin quis molestie nulla, interdum gravida urna. Curabitur porta, dui ac hendrerit mattis, arcu nisl varius est, sed condimentum massa purus cursus nulla. Nam odio augue, mollis quis enim at, vehicula iaculis nisi. Mauris ex nibh, varius nec dui vel, tristique eleifend turpis. Nunc pretium arcu in magna imperdiet elementum. Phasellus ex mauris, lacinia non porta id, interdum vel ex. Donec fringilla sed eros a ullamcorper. Nam feugiat dolor tempus, feugiat tortor a, congue nisl.
  343.  
  344.  
  345. <p><iframe frameborder="0" scrolling="no" width="100%" height="149" src="http://www.tumblr.com/ask_form/YOURURLHERE.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>
  346. </div>
  347.  
  348. <!--NAVIGATION SECTION-->
  349.  
  350. <div class="nav">
  351. <div class="navlinks">
  352. <a href="/">your</a> ◆
  353. <a href="/">important</a> ◆
  354. <a href="/">links</a> ◆
  355. <a href="/">go</a> ◆
  356. <a href="/">here</a>
  357. </div>
  358.  
  359. <div class="navcon">
  360. <div class="navboxtitle">
  361. Tags Section One
  362. </div>
  363. <div class="navbox">
  364. ◆ <a href="/">link one</a><br>
  365. ◆ <a href="/">link two</a><br>
  366. ◆ <a href="/">link three</a><br>
  367. </div>
  368. </div>
  369.  
  370. <div class="navcon">
  371. <div class="navboxtitle">
  372. Tags Section Two
  373. </div>
  374. <div class="navbox">
  375. ◆ <a href="/">link one</a><br>
  376. ◆ <a href="/">link two</a><br>
  377. ◆ <a href="/">link three</a><br>
  378. ◆ <a href="/">link four</a><br>
  379. ◆ <a href="/">link five</a>
  380. </div>
  381. </div>
  382.  
  383. <div class="navcon">
  384. <div class="navboxtitle">
  385. Tags Section Three
  386. </div>
  387. <div class="navbox">
  388. ◆ <a href="/">link one</a><br>
  389. ◆ <a href="/">link two</a><br>
  390. ◆ <a href="/">link three</a><br>
  391. ◆ <a href="/">link four</a><br>
  392. ◆ <a href="/">link five</a>
  393. </div>
  394. </div>
  395.  
  396. <div class="navcon">
  397. <div class="navboxtitle">
  398. Tags Section Four
  399. </div>
  400. <div class="navbox">
  401. ◆ <a href="/">link one</a><br>
  402. ◆ <a href="/">link two</a><br>
  403. ◆ <a href="/">link three</a><br>
  404. ◆ <a href="/">link four</a><br>
  405. ◆ <a href="/">link five</a><br>
  406. ◆ <a href="/">link six</a><br>
  407. ◆ <a href="/">link seven</a><br>
  408. ◆ <a href="/">link eight</a>
  409. </div>
  410. </div>
  411.  
  412. <div class="navcon">
  413. <div class="navboxtitle">
  414. Tags Section Five
  415. </div>
  416. <div class="navbox">
  417. ◆ <a href="/">link one</a><br>
  418. ◆ <a href="/">link two</a><br>
  419. ◆ <a href="/">link three</a><br>
  420. ◆ <a href="/">link four</a><br>
  421. ◆ <a href="/">link five</a><br>
  422. ◆ <a href="/">link six</a><br>
  423. </div>
  424. </div>
  425. </div>
  426.  
  427. <!--BLOGROLL SECTION-->
  428. <div class="blogroll">
  429. {block:Following}{block:Followed}
  430. <a href="{FollowedURL}" title="{FollowedName}">
  431. <div class="icons">
  432. <img src="{FollowedPortraitURL-40}"></a>
  433. </div>
  434. {/block:Following}{/block:Followed}
  435. </div>
  436.  
  437. </div>
  438. </div>
  439. </body>
  440. <div class="credit">
  441. <a href="http://transjeanluc.tumblr.com/">▲▲▲</a>
  442. </div>
  443. </html>
Add Comment
Please, Sign In to add comment