Advertisement
MathiasOrl

index.html

Feb 19th, 2020
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.69 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. <body>
  9. <nav class="header">
  10. <ul class="menu">
  11. <li class="title">FindThePrecious.com</li>
  12. <li class="fellows">Fellows</li>
  13. <li>Contact us</li>
  14. </ul>
  15. </nav>
  16. <section>
  17. <div class="carousel"></div>
  18. </section>
  19. <section>
  20. <h2>Fellows wanted dead (or alive if you want to eat them later)</h2>
  21. </section>
  22. <section class="img">
  23. <span class="imgbloc"><article>
  24. <a href="https://placeholder.com" title="here is an Orc"><img src="https://via.placeholder.com/150" alt="here is a Orc" title="click to enlarge."></a>
  25. </article>
  26. <article><a href="https://placeholder.com" title="this is a Goblin."><img src="https://via.placeholder.com/150" alt="here is a Gobelin" title="click to enlarge."></a></article>
  27. <article><a href="https://placeholder.com" title="finally the Balrogs."><img src="https://via.placeholder.com/150" alt="here is a Balrogs" title="click to enlarge."></a></article></span>
  28. </section>
  29. <form class="contact">
  30. <h2 class="titlecontact">Contact us</h2>
  31. <span class="formulaire"><input type="email" placeholder="@">
  32. <input type="text" placeholder="&#8962;">
  33. <input type="text" placeholder="I have seen one of them">
  34. <textarea placeholder="Your message" class="commentaires"></textarea></span>
  35. </form>
  36. </body>
  37. </html>
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44. .header
  45. {
  46. background: lightgrey;
  47. height: 300px;
  48. }
  49.  
  50. .menu
  51. {
  52. background: grey;
  53. list-style: none;
  54. padding: 0px;
  55. margin: 0px;
  56. height: 25px;
  57. }
  58.  
  59. li
  60. {
  61. padding: 3px;
  62. margin: 0px;
  63. display: inline-block;
  64. height: 20px;
  65. width: 150px;
  66. color: white;
  67. }
  68.  
  69. .img
  70. {
  71. width: 500px;
  72. padding: 150px;
  73. margin-left: auto;
  74. margin-right: auto;
  75.  
  76.  
  77. }
  78.  
  79. img
  80. {
  81. margin: 10px;
  82.  
  83. }
  84.  
  85. .imgbloc
  86. {
  87. width: 500px;
  88. display: flex;
  89. }
  90.  
  91. .title
  92. {
  93. font-size: 1em;
  94. }
  95.  
  96. .fellows
  97. {
  98. background: lightgrey;
  99. color: black;
  100. text-align: center;
  101. }
  102.  
  103. h2
  104. {
  105. text-align: center;
  106. }
  107.  
  108. .contact
  109. {
  110. border-top: 1px solid black;
  111. margin: 10px;
  112. }
  113.  
  114. .titlecontact
  115. {
  116. text-align: left;
  117. }
  118.  
  119. .formulaire{
  120. display: block;
  121. width: 850px;
  122. margin-left: auto;
  123. margin-right: auto;
  124. padding: 25px;
  125. }
  126.  
  127. .commentaires
  128. {
  129. margin: 10px;
  130. padding: 5px;
  131. width: 800px;
  132. }
  133.  
  134. input
  135. {
  136. display: block;
  137. margin: 10px;
  138. position: center;
  139. width: 800px;
  140.  
  141. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement