Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="fr">
- <head>
- <meta charset="UTF-8">
- <title>Find the precious!</title>
- <link rel="stylesheet" href="style.css">
- <link href="https://fonts.googleapis.com/css?family=PT+Sans&display=swap" rel="stylesheet">
- </head>
- <body>
- <nav>
- <ul>
- <li>FindThePrecious.com</li>
- <li>Fellows</li>
- <li>Contact us</li>
- </ul>
- </nav>
- <section>
- <div class="carousel"></div>
- </section>
- <section class="fellows">
- <h2><span>Fellows wanted dead</span> (or alive if you want to eat them later)</h2>
- </section>
- <section class="target">
- <article></article>
- <article></article>
- <article></article>
- </section>
- <hr>
- <form>
- <h2>Contact us</h2>
- <input type="email" placeholder="@">
- <input type="text" placeholder="⌂">
- <input type="text" placeholder="I have seen one of them">
- <textarea placeholder="Your message" rows="5"></textarea>
- </form>
- </body>
- </html>
- ----------------------------------------------------------------------------------------------------------------------
- *{
- padding: 0;
- margin: 0;
- }
- body {
- font-family: 'PT Sans', sans-serif;
- color: rgb(150 , 150, 150);
- margin: 10px 5px;
- }
- nav {
- background-color: rgb(44, 44, 44);
- font-weight: bold;
- }
- nav ul {
- display: flex;
- list-style: none;
- align-items: center;
- }
- nav ul li {
- padding: 10px;
- line-height: 20px;
- }
- ul li:first-child{
- font-size: 20px;
- }
- .carousel {
- height: 200px;
- background-color: rgb(235 , 235, 235);
- }
- .fellows {
- height: 100px;
- display: flex;
- justify-content: center;
- align-items: center;
- }
- .fellows h2 {
- font-size: 20px;
- }
- .fellows h2 span {
- font-size: 30px;
- }
- .target {
- display: flex;
- justify-content: space-evenly;
- align-items: center;
- }
- .target article {
- width: 400px;
- height: 500px;
- background-color: rgb(235 , 235, 235);
- }
- hr {
- margin: auto;
- margin-top: 150px;
- margin-bottom: 10px;
- border: 1px rgb(44, 44, 44) solid;
- width: 95%;
- }
- form {
- height: 300px;
- display: flex;
- flex-direction: column;
- align-content: space-around;
- }
- form h2 {
- margin-left: 30px;
- margin-bottom: 30px;
- font-size: 30px;
- }
- form input {
- height: 20px;
- }
- form input, textarea {
- width: 80%;
- margin: auto;
- border: 1px solid black;
- padding: 5px;
- }
- form input:nth-child(4) {
- border: 1px solid rgb(150 , 150, 150);
- border-radius: 5px;
- }
- /*animations*/
- nav li:hover {
- padding: 9px;
- background-color: rgb(235 , 235, 235);
- border: 1px solid rgb(150 , 150, 150);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement