Advertisement
Guest User

Untitled

a guest
May 27th, 2015
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.65 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>Yadon Scans</title>
  5. <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
  6. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Arvo">
  7. <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Roboto+Condensed">
  8. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
  9. <link rel="icon" href="http://i.imgur.com/88r8pOg.gif" type="image/x-icon">
  10. <style>
  11. body {
  12. background-color: lightcoral;
  13. left: 0;
  14. margin: 0;
  15. overflow: hidden;
  16. position: relative;
  17. }
  18. .jumbotron {
  19. background-image: url(http://i.imgur.com/c317Uo4.png);
  20. }
  21. #logo {
  22. position: relative;
  23. left: 725px;
  24. bottom: 110px;
  25. }
  26. .page-header {
  27. background-color: aliceblue;
  28. }
  29. .page-header a {
  30. font-family: arvo;
  31. font-size: 30px;
  32. font-weight: bold;
  33. text-decoration: underline;
  34. color: black;
  35. padding-left: 15px;
  36. }
  37. #hora {
  38. font-family: arvo;
  39. color: #dd5aa2;
  40. padding-top: 40px;
  41. }
  42. .urso {
  43. font-family: arvo;
  44. padding-left: 150px;
  45. }
  46. #silva {
  47. font-family: arvo;
  48. font-size: 15px;
  49. padding-left: 200px;
  50. }
  51. .menu {
  52. background-color: aliceblue;
  53. left: -285px; /* start off behind the scenes */
  54. height: 100%;
  55. position: fixed;
  56. width: 285px;
  57. }
  58. .menu ul {
  59. border-top: 1px solid #636366;
  60. list-style: none;
  61. margin: 0;
  62. padding: 0;
  63. }
  64.  
  65. .menu li {
  66. border-bottom: 1px solid #636366;
  67. font-family: 'Open Sans', sans-serif;
  68. line-height: 45px;
  69. padding-bottom: 3px;
  70. padding-left: 20px;
  71. padding-top: 3px;
  72. }
  73.  
  74. .menu a {
  75. color: #636366;
  76. font-size: 15px;
  77. text-decoration: none;
  78. text-transform: uppercase;
  79. }
  80.  
  81. .icon-close {
  82. cursor: pointer;
  83. padding-left: 10px;
  84. padding-top: 10px;
  85. }
  86.  
  87. .icon-menu {
  88. color: #fff;
  89. cursor: pointer;
  90. font-family: 'Open Sans', sans-serif;
  91. font-size: 16px;
  92. padding-bottom: 25px;
  93. padding-left: 25px;
  94. padding-top: 25px;
  95. text-decoration: none;
  96. text-transform: uppercase;
  97. }
  98.  
  99. .icon-menu i {
  100. margin-right: 5px;
  101. }
  102. </style>
  103. </head>
  104.  
  105. <body>
  106. <div class="menu">
  107. <div class="icon-close">
  108. <img src="http://s3.amazonaws.com/codecademy-content/courses/ltp2/img/uber/close.png">
  109. </div>
  110. <li><a href="#">Higurashi: Kokoroiyashi-hen</a></li>
  111. <li><a href="#">Inuyasha Special</a></li>
  112. </div>
  113. <div class='page-header'>
  114. <a href="#"><img src="http://www.mettalegal.com/wp-content/uploads/2013/01/menu-icon.png" style="width:45px;height:45px">Projetos</a>
  115. </div>
  116. <div class="container">
  117. <div class="jumbotron" style="width:1100px;height:300px">
  118. <p class="urso">"Eu que dan&ccedil;o com os Yadons, e voc&ecirc; que fala merda?"</p>
  119. <p id="silva">- Lispector, Yadonildo 2015 -</p>
  120. <a href="#"><img src="http://i.imgur.com/wb55lQU.png" style="width:280px;height:280px" id="logo"></a>
  121. </div>
  122. </div>
  123.  
  124. <script>
  125. var main = function() {
  126. /* Push the body and the nav over by 285px over */
  127. $('.page-header').click(function() {
  128. $('.menu').animate({
  129. left: "0px"
  130. }, 200);
  131.  
  132. $('body').animate({
  133. left: "285px"
  134. }, 200);
  135. });
  136.  
  137. /* Then push them back */
  138. $('.icon-close').click(function() {
  139. $('.menu').animate({
  140. left: "-285px"
  141. }, 200);
  142.  
  143. $('body').animate({
  144. left: "0px"
  145. }, 200);
  146. });
  147. };
  148.  
  149.  
  150. $(document).ready(main);
  151. </script>
  152.  
  153. </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement