Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---- HTML :
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Find the precious!</title>
- <link rel="stylesheet" href="style.css">
- </head>
- <body>
- <nav>
- <ul>
- <li>FindThePrecious.com</li>
- <li class="button">Fellows</li>
- <li>Contact us</li>
- </ul>
- </nav>
- <section>
- <div class="carousel"></div>
- </section>
- <section class="wanted">
- <h2>Fellows wanted dead <span>(or alive if you want to eat them later)</span></h2>
- </section>
- <section class="photo">
- <article></article>
- <article></article>
- <article></article>
- </section>
- <hr>
- <form>
- <h2>Contact us</h2>
- <input class="mail" type="email" placeholder="@">
- <input class="firstname" type="text" placeholder="⌂">
- <input class="choix" type="text" placeholder="I have seen one of them">
- <textarea placeholder="Your message"></textarea>
- </form>
- <footer>
- <a href="">About us</a>
- <a href="">Fellows</a>
- <a href="">Join our army</a>
- <a href="">FAQ</a>
- <a href="">Reward conditions</a>
- <a href="">Legal mentions</a>
- <a href="">Sauron4Ever.com</a>
- <a href="">Follow him</a>
- </footer>
- </body>
- </html>
- ---- CSS :
- nav li {
- color: lightgrey;
- display: inline-block;
- padding: 15px;
- border: 1px solid black;
- }
- nav {
- background-color: black;
- }
- nav ul {
- margin: 0px;
- }
- ul .button {
- background-color: lightgrey;
- color: #333;
- }
- .carousel {
- height: 250px;
- background-color: lightgrey;
- }
- .wanted {
- margin: 40px;
- }
- .wanted h2 {
- text-align: center;
- color: grey;
- font-size: 1.2em;
- }
- .wanted span {
- font-size: 70%;
- }
- .photo {
- text-align: center;
- margin-bottom: 40px;
- }
- .photo article {
- display: inline-block;
- background-color: lightgrey;
- width: 25%;
- height: 500px;
- margin: 5px;
- }
- form {
- width: 50%;
- margin: auto;
- }
- form input, form textarea {
- padding: 0px;
- }
- .mail, .firstname {
- border: 1px solid black;
- padding-bottom: 5px;
- margin-bottom: 10px;
- width:100%;
- }
- .choix {
- width:100%;
- box-sizing: border-box;
- }
- textarea {
- height: 10em;
- width:100%;
- margin-top:10px;
- padding-top:5px;
- border: 1px solid black;
- }
- footer {
- display: none;
- }
- @media (max-width:961px) {
- .photo, .carousel {
- display: none;
- }
- .wanted h2 {
- font-size: 1.5em;
- padding: 30px;
- }
- form h2 {
- text-align: center;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement