Advertisement
koyuki13

Help Sauron

Feb 28th, 2020
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.47 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>
  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. body{
  42. font-family: "Source Sans Pro", serif;
  43. }
  44. header{
  45. background: rgb(73, 71, 71);
  46. }
  47. .hover-effect:hover{
  48. text-decoration: underline;
  49. background-color: rgba(255, 255, 255, 0.4);
  50. /*opacity: 0.3;
  51. cursor: pointer;
  52. z-index: 3;*/
  53. }
  54. li{
  55. display: inline-block;
  56. padding: 10px;
  57. width: 200px;
  58. background-color: rgb(73, 71, 71);
  59. opacity: 0.6;
  60. }
  61. .carousel{
  62. background: grey;
  63. display: block;
  64. margin-top: 0;
  65. width: 100%;
  66. height: 200px;
  67. clear: both;
  68. }
  69. .h2{
  70. text-align: center;
  71. }
  72. article{
  73. /*text-align: center;*/
  74. clear: both;
  75. }
  76. .article1{
  77. background-color: grey;
  78. margin-left: 20px;
  79. width: 200px;
  80. height: 100px;
  81. float: left;
  82. }
  83. /*.article2{
  84. background-color: grey;
  85. margin-top: 0;
  86. width: 200px;
  87. height: 100px;
  88. float: center;*/
  89. }
  90. .article3{
  91. background-color: grey;
  92. margin-right: 20px;
  93. width: 200px;
  94. height: 100px;
  95. float: right;
  96. }
  97. form{
  98. text-align: center;
  99. }
  100. .contact-us{
  101. text-align: left;
  102. border-top: 3px solid black;
  103. }
  104. input{
  105. width: 60%;
  106. }
  107. p{
  108. display: block;
  109. margin: 10px;
  110. padding: 2px;
  111. }
  112. .message{
  113. width: 60%;
  114. padding: 2px;
  115. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement