Advertisement
koyuki13

aide sauron

Feb 28th, 2020
136
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 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. <p><input type="email" placeholder="@"></p>
  34. <p><input type="text" placeholder="&#8962;"></p>
  35. <p><input type="text" placeholder="I have seen one of them"></p>
  36. <p><textarea placeholder="Your message" class="message"></textarea></p>
  37. </form>
  38. </body>
  39. </html>
  40.  
  41.  
  42. body{
  43. font-family: "Source Sans Pro", serif;
  44. margin: 0;
  45. padding: 0;
  46. }
  47. header{
  48. background: rgb(73, 71, 71);
  49. }
  50. nav ul{
  51. margin: 0;
  52. }
  53. .hover-effect:hover{
  54. text-decoration: underline;
  55. background-color: rgba(255, 255, 255, 0.4);
  56. }
  57. li{
  58. display: inline-block;
  59. padding: 10px;
  60. width: 200px;
  61. background-color: rgb(73, 71, 71);
  62. opacity: 0.6;
  63. }
  64. .carousel{
  65. background: grey;
  66. display: block;
  67. margin-top: 0;
  68. width: 100%;
  69. height: 200px;
  70. clear: both;
  71. }
  72. .h2{
  73. text-align: center;
  74. }
  75. .center{
  76. text-align: center;
  77. }
  78. .floating{
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. .article1{
  84. background-color: grey;
  85. margin-left: 20px;
  86. width: 200px;
  87. height: 100px;
  88. float: left;
  89. }
  90. .article2{
  91. background-color: grey;
  92. margin-top: 0;
  93. width: 200px;
  94. height: 100px;
  95. float: left;
  96. margin-left: 20px;
  97. margin-right: 20px;
  98. }
  99. .article3{
  100. background-color: grey;
  101. margin-right: 20px;
  102. width: 200px;
  103. height: 100px;
  104. float: left;
  105. }
  106. form{
  107. text-align: center;
  108. }
  109. .contact-us{
  110. text-align: left;
  111. border-top: 3px solid black;
  112. }
  113. input{
  114. width: 60%;
  115. }
  116. p{
  117. display: block;
  118. margin: 10px;
  119. padding: 2px;
  120. }
  121. .message{
  122. width: 60%;
  123. padding: 2px;
  124. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement