Advertisement
Laure90

find the precious3

Dec 13th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.15 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Find the precious!</title>
  6. <link rel="stylesheet" href="style.css">
  7. </head>
  8.  
  9.  
  10. <body>
  11. <main>
  12. <div class="top">
  13. <nav>
  14. <ul>
  15. <li class="title">FindThePrecious.com</li>
  16. <li class="fellows_nav">Fellows</li>
  17. <li class="contact_nav">Contact us</li>
  18. </ul>
  19. </nav>
  20.  
  21. <section>
  22. <div class="carousel"></div>
  23.  
  24. </section>
  25. </div>
  26.  
  27. <section>
  28. <h2 class="fellows">Fellows wanted dead <span>(or alive if you want to eat them later)</span></h2>
  29. </section>
  30.  
  31. <section id="articles">
  32. <article class="photo1"></article>
  33. <article class="photo2"></article>
  34. <article class="photo3"></article>
  35. </section>
  36. <footer>
  37. <form method="post" action="data">
  38. <h2 class="contact">Contact us</h2>
  39. <div class="formulaire">
  40. <p>
  41. <label for="email"></label>
  42. <input type="text" name="email" id="email" placeholder="@" size="100">
  43. </p>
  44. <p>
  45. <label for="address"></label>
  46. <input type="text" name="address" id="address" size="100">
  47. </p>
  48.  
  49. <p>
  50. <label for="reponse"></label>
  51.  
  52. <select name="reponse" id="reponse">
  53. <option value="i have seen one of them">I have seen one of them</option>
  54. <option value="i haven't seen one of them">I haven't seen one of them</option>
  55. <option value="i have seen one of them but he was dead">I have seen one of them but he was dead</option>
  56. </select>
  57.  
  58. </p>
  59.  
  60. <p>
  61. <label for="message"></label>
  62. <textarea name="message" id="message" rows="10" cols="75">Your message</textarea>
  63. </p>
  64.  
  65. <button type="submit">Send !</button>
  66. </form>
  67. </footer>
  68.  
  69. </main>
  70. </body>
  71. </html>
  72.  
  73.  
  74.  
  75. nav ul li
  76. {
  77. display: inline;
  78. list-style: none;
  79. padding-right: 5%;
  80. font-family: calibri, arial, rgb(105,105,105);
  81. font-size: small;
  82.  
  83.  
  84. }
  85.  
  86. .title
  87. {
  88. font-size: large;
  89. }
  90.  
  91. .contact_nav
  92. {
  93. padding-left: 3%;
  94. }
  95.  
  96.  
  97. nav ul li:nth-child(2)
  98. {
  99. background-color: white;
  100. color: rgb(105,105,105);
  101. padding-top: 1.5%;
  102. padding-bottom: 1.3%;
  103. padding-left: 5%;
  104. }
  105.  
  106. ul
  107. {
  108. padding-top: 1%;
  109. }
  110. input, textarea
  111. {
  112. display: block;
  113. }
  114.  
  115. body
  116. {
  117. background-color: rgb(105,105,105);
  118.  
  119. }
  120.  
  121. main
  122. {
  123. margin-right: 20%;
  124. margin-left: 20%;
  125. background-color: white;
  126. font-family: calibri, arial;
  127. }
  128.  
  129. nav
  130. {
  131. background-color: rgb(112,128,144);
  132. color: white
  133.  
  134. }
  135.  
  136. .carousel
  137. {
  138. width:920px;
  139. height:120px;
  140. background-color: rgb(220,220,220);
  141. padding-top: 10%;
  142. border: 0em;
  143. }
  144.  
  145. .top
  146. {
  147. background-color: rgb(220,220,220);
  148. margin-right: 0.5%;
  149. margin-left: 0.5%;
  150.  
  151. }
  152.  
  153. .fellows
  154. {
  155. text-align: center;
  156. font-size: xx-large;
  157.  
  158. }
  159.  
  160. span
  161. {
  162. font-size: small;
  163. }
  164.  
  165.  
  166.  
  167. section article
  168. {
  169. background: rgb(220,220,220);
  170. padding: 150px;
  171. margin: 5px;
  172. justify-content: center;
  173. }
  174.  
  175. #articles
  176. {
  177. display: flex;
  178. justify-content: center;
  179. }
  180.  
  181. .contact
  182. {
  183. margin-top: 15%;
  184. border-top: 1px solid black;
  185. margin-right: 1%;
  186. margin-left: 1%;
  187. font-family: calibri light, arial;
  188. }
  189.  
  190. .formulaire
  191. {
  192. padding-left: 15%;
  193. padding-bottom: 2%;
  194. border-radius: 5px 5px 5px 5px;
  195. }
  196.  
  197. nav ul
  198. {
  199. padding-bottom: 10px;
  200. }
  201.  
  202. select
  203. {
  204. width: 630px;
  205. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement