Advertisement
AlexandreCln

Quête 7

Sep 13th, 2019
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.85 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Find the precious!</title>
  7. <link rel="stylesheet" href="style.css">
  8. </head>
  9. <body>
  10. <nav>
  11. <ul>
  12. <li>FindThePrecious.com</li>
  13. <li>Fellows</li>
  14. <li>Contact us</li>
  15. </ul>
  16. </nav>
  17. <section>
  18. <div class="carousel"></div>
  19. </section>
  20. <section class="wanted">
  21. <h2>Fellows wanted dead <span>(or alive if you want to eat them later)</span></h2>
  22. </section>
  23. <section class="photo">
  24. <article></article>
  25. <article></article>
  26. <article></article>
  27. </section>
  28.  
  29. <hr>
  30.  
  31. <form>
  32. <h2>Contact us</h2>
  33. <input class="mail" type="email" placeholder="@">
  34. <input class="firstname" type="text" placeholder="&#8962;">
  35. <input class="choix" type="text" placeholder="I have seen one of them">
  36. <textarea placeholder="Your message"></textarea>
  37. <input class="send" type="submit" value="Send">
  38. </form>
  39. <footer>
  40. <a href="">About us</a>
  41. <a href="">Fellows</a>
  42. <a href="">Join our army</a>
  43. <a href="">FAQ</a>
  44. <a href="">Reward conditions</a>
  45. <a href="">Legal mentions</a>
  46. <a href="">Sauron4Ever.com</a>
  47. <a href="">Follow him</a>
  48. </footer>
  49. </body>
  50. </html>
  51.  
  52. //////////////////////// CSS ///////////////////////////////
  53.  
  54. nav li {
  55. color: lightgrey;
  56. display: inline-block;
  57. padding: 15px;
  58. }
  59.  
  60. nav {
  61. background-color: black;
  62. }
  63.  
  64. nav ul {
  65. margin: 0px;
  66. }
  67.  
  68. .wanted {
  69. margin: 40px;
  70. }
  71.  
  72. .wanted h2 {
  73. text-align: center;
  74. color: grey;
  75. }
  76.  
  77. .wanted span {
  78. font-size: 70%;
  79. }
  80.  
  81. .photo {
  82. text-align: center;
  83. margin-bottom: 40px;
  84. }
  85.  
  86. .photo article {
  87. background-color: lightgrey;
  88. width: 70%;
  89. height: 120px;
  90. margin: 10px;
  91. margin-left: auto;
  92. margin-right: auto;
  93. }
  94.  
  95. form {
  96. width: 50%;
  97. margin: auto;
  98. }
  99.  
  100. form h2 {
  101. text-align: center;
  102. }
  103.  
  104. form input, form textarea {
  105. padding: 0px;
  106.  
  107. }
  108.  
  109. .mail, .firstname {
  110. border: 1px solid black;
  111. padding-bottom: 5px;
  112. margin-bottom: 10px;
  113. width:100%;
  114. }
  115.  
  116. .choix {
  117. width:100%;
  118. box-sizing: border-box;
  119. }
  120.  
  121. textarea {
  122. height: 10em;
  123. width:100%;
  124. margin-top:10px;
  125. padding-top:5px;
  126. border: 1px solid black;
  127. }
  128.  
  129. .send {
  130. float: right;
  131. margin-top: 10px;
  132. }
  133.  
  134. footer {
  135. display: none;
  136. }
  137.  
  138. @media (min-width:961px) {
  139. .carousel {
  140. height: 10em;
  141. background-color: lightgrey;;
  142. }
  143. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement