Advertisement
koyuki13

Help Sauron

Mar 2nd, 2020
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 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. <header>
  10. <nav>
  11. <ul>
  12. <li>FindThePrecious.com</li>
  13. <li class="hover-effect">Fellows</li>
  14. <li>Contact us</li>
  15. </ul>
  16. </nav>
  17. </header>
  18. <main>
  19. <section>
  20. <div class="carousel"></div>
  21. </section>
  22. </main>
  23. <section>
  24. <h2 class="h2">Fellows wanted dead (or alive if you want to eat them later)</h2>
  25. </section>
  26. <section class="floating">
  27. <article class="article1"></article>
  28. <article class="article2"></article>
  29. <article class="article3"></article>
  30. </section>
  31. <form>
  32. <h2 class="contact-us">Contact us</h2>
  33. <input type="email" placeholder="@">
  34. <input type="text" placeholder="&#8962;">
  35. <select name="theme" id="theme">
  36. <option value="seen">I have seen one of them</option>
  37. </select>
  38.  
  39. <textarea placeholder="Your message"></textarea>
  40. </form>
  41. </body>
  42. </html>
  43.  
  44.  
  45. body{
  46. font-family: "Source Sans Pro", serif;
  47. margin: 0;
  48. padding: 0;
  49. }
  50. header{
  51. background: rgb(73, 71, 71);
  52. }
  53. nav ul{
  54. margin: 0;
  55. }
  56. .hover-effect:hover{
  57. text-decoration: underline;
  58. background-color: rgba(255, 255, 255, 0.4);
  59. }
  60. li{
  61. display: inline-block;
  62. padding: 10px;
  63. width: 200px;
  64. background-color: rgb(73, 71, 71);
  65. opacity: 0.6;
  66. }
  67. .carousel{
  68. background: grey;
  69. display: block;
  70. margin-top: 0;
  71. width: 100%;
  72. height: 200px;
  73. clear: both;
  74. }
  75. .h2{
  76. text-align: center;
  77. }
  78. .center{
  79. text-align: center;
  80. }
  81. .floating{
  82. display: flex;
  83. align-items: center;
  84. justify-content: center;
  85. }
  86. .article1{
  87. background-color: grey;
  88. margin-left: 20px;
  89. width: 200px;
  90. height: 100px;
  91. float: left;
  92. }
  93. .article2{
  94. background-color: grey;
  95. margin-top: 0;
  96. width: 200px;
  97. height: 100px;
  98. float: left;
  99. margin-left: 20px;
  100. margin-right: 20px;
  101. }
  102. .article3{
  103. background-color: grey;
  104. margin-right: 20px;
  105. width: 200px;
  106. height: 100px;
  107. float: left;
  108. }
  109. form{
  110. text-align: center;
  111. }
  112. .contact-us{
  113. text-align: left;
  114. border-top: 3px solid black;
  115. }
  116. /*input{
  117. width: 60%;
  118. }*/
  119. input,textarea{
  120. display: block;
  121. margin: 10px;
  122. padding: 5px;
  123. width: 60%;
  124. margin-left: auto;
  125. margin-right: auto;
  126. }
  127. select{
  128. margin: 10px;
  129. padding: 2px;
  130. width: 61%;
  131. }
  132. /*.message{
  133. width: 60%;
  134. padding: 2px;
  135. }*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement