Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
- <link href="https://fonts.googleapis.com/css?family=Georgia" rel="stylesheet">
- <link href="./css/styles.css" rel="stylesheet">
- <title>FronDev - zadanie 2</title>
- </head>
- <body>
- <div id="hero-image">
- <header id="header">
- <img id="logo" src="./images/logo.png" alt="logo"/>
- <nav>
- <ul>
- <li><a class="nav-item" href="#home">Home</a></li>
- <li><a class="nav-item" href="#about">About</a></li>
- <li><a class="nav-item" href="#contact">Contact</a></li>
- </ul>
- </nav>
- <img id="hamburger" src="./images/hamburger.png" alt="hamburger"/>
- <img id="search" src="./images/search.png" alt="search"/>
- </header>
- <section id="caption">
- <p id="title">Web Design</p>
- <p id="subtitle">Fusce dapibus, tellus ac cursus commodo, tortor mauris <br>condimentum , ut fermentum massa justo sit amet <br>erat a ante venenatis dapibus posuere velit </p>
- <img id="cta-btn" src="./images/btn.png" alt="cta-btn"/>
- </section>
- <img id="play-btn" src="./images/play.png" alt="play"/>
- </div>
- <section id="gallery">
- <article class="gallery-article" id="gallery-article-1">
- <p class="article-title">AMET CONDIMENTUM</p>
- <p class="article-subtitle">Dolor</p>
- </article>
- <article class="gallery-article" id="gallery-article-2">
- <p class="article-title">LOREM CURSUS</p>
- <p class="article-subtitle">Ligula</p>
- </article>
- <article class="gallery-article" id="gallery-article-3">
- <p class="article-title">CONDIMENTUM ULTRICIES</p>
- <p class="article-subtitle">Consectetur</p>
- </article>
- <article class="gallery-article" id="gallery-article-4">
- <p class="article-title">RIDICULUS ORNARE</p>
- <p class="article-subtitle">Ullamcorper</p>
- </article>
- </section>
- <footer>
- <section id="footer-links">
- <ul>
- <li>
- <h5 class="footer-link-header">Follow us</h5>
- </li>
- <li><a class="link" href="#">Twitter</a></li>
- <li><a class="link" href="#">Facebook</a></li>
- <li><a class="link" href="#">Linkedin</a></li>
- <li><a class="link" href="#">Pinterest</a></li>
- <li><a class="link" href="#">Youtube</a></li>
- </ul>
- <ul>
- <li>
- <h5 class="footer-link-header">Get to know us</h5>
- </li>
- <li><a class="link" href="#">About</a></li>
- <li><a class="link" href="#">Policies</a></li>
- <li><a class="link" href="#">Careers</a></li>
- <li><a class="link" href="#">Press</a></li>
- <li><a class="link" href="#">Developers</a></li>
- </ul>
- <ul>
- <li>
- <h5 class="footer-link-header">Locations</h5>
- </li>
- <li><a class="link" href="#">Detroit</a></li>
- <li><a class="link" href="#">London</a></li>
- <li><a class="link" href="#">Florida</a></li>
- <li><a class="link" href="#">Las Vegas</a></li>
- <li><a class="link" href="#">California</a></li>
- </ul>
- <ul>
- <li>
- <h5 class="footer-link-header">Our Mission</h5>
- </li>
- <li>
- <p class="link">Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Integer pousere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl
- consectetur et. Sed pousere consectetur
- </p>
- </li>
- </ul>
- </section>
- <section id="copyright">
- <p id="copyright-text">Copyright 2016 @samiralley</p>
- </section>
- </footer>
- </body>
- </html>
- <style>
- * {
- box-sizing: border-box;
- }
- p {
- margin: 0;
- padding: 0;
- }
- header {
- display:block;
- }
- #header:after {
- display:block;
- clear:both;
- content : "";
- position: absolute;
- top: 300px;
- left : 98px;
- bottom : 0;
- height : 1px;
- width: 1721px;
- border-bottom:1px solid rgba(255, 255, 255, 0.24);
- }
- body {
- margin:0;
- padding:0
- }
- #hero-image {
- width: 1920px;
- height: 1280px;
- margin: 0 0 0 0;
- background-image: url("../images/pic.png");
- }
- nav {
- position:absolute;
- top: 92px;
- left: 50%;
- width: 400px;
- }
- .nav-item {
- font-family: Monserrat, sans-serif;
- font-size:0.875em;
- font-weight:bold;
- letter-spacing:0.1em;
- text-align: center;
- text-transform: uppercase;
- text-decoration: none;
- color: #ffffff;
- font-weight: 700;
- }
- nav ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- }
- nav li {
- float: left;
- }
- nav li a {
- display: block;
- padding: 30px;
- }
- #caption {
- display: table;
- position: absolute;
- padding: 0 0 0 0;
- top: 436px;
- left: 579px;
- text-align: center;
- }
- #title {
- font-family: 'Playfair Display', serif;
- font-size: 8.75em;
- margin: 0 0 0 0;
- color: #ffffff;
- font-weight: 400;
- text-align: center;
- }
- #subtitle {
- text-align: center;
- font-family: Montserrat;
- color:#ffffff;
- font-size: 1.25em;
- font-weight: 300;
- line-height: 1.7;
- text-align: center;
- }
- #logo {
- position: absolute;
- left: 98px;
- top: 110px;
- }
- #hamburger {
- position: absolute;
- left: 1786px;
- top: 120px;
- }
- #search {
- position: absolute;
- left: 1725px;
- top: 120px;
- }
- #cta-btn {
- position: relative;
- margin-top: 58px;
- }
- #play-btn {
- position: absolute;
- top: 1170px;
- left: 885px;
- }
- #gallery {
- height: 500px;
- width: 1920px;
- background: black;
- }
- .gallery-article {
- height: 500px;
- width: 25%;
- float: left;
- }
- #gallery-article-1 {
- background-image: url("../images/article1.png");
- }
- #gallery-article-2 {
- background-image: url("../images/image-article-2.png");
- }
- #gallery-article-3 {
- background-image: url("../images/image-article-3.png");
- }
- #gallery-article-4 {
- background-image: url("../images/image-article-4.png");
- }
- .article-title {
- padding-top: 346px;
- font-family: Montserrat;
- color:#ffffff;
- font-size: 1.125em;
- font-weight: 600;
- line-height: 1.667;
- text-align: center;
- }
- .article-subtitle {
- font-family: Georgia;
- color:#ffffff;
- font-size: 1.125em;
- font-style: italic;
- line-height: 1.667;
- text-align: center;
- }
- footer {
- margin-top: 60px;
- height: 385px;
- padding: 0;
- }
- #footer-links {
- width: 100%;
- float: left;
- margin: 0;
- padding: 0;
- margin-left: 197px;
- }
- #footer-links ul {
- width: 25%;
- float: left;
- padding: 0;
- list-style-type: none;
- }
- #footer-links ul li {
- margin: 5px 0;
- }
- #footer-links ul > li:nth-child(2) {
- margin-top: 30px;
- }
- .link{
- text-decoration: none;
- font-family: Georgia;
- color: #565656;
- font-size: 0.875em;
- font-style: italic;
- line-height: 1.857;
- text-align: left;
- }
- .footer-link-header {
- font-family: Montserrat;
- color:#151515;
- text-transform: uppercase;
- font-size: 0.875em;
- font-weight: 700;
- line-height: 1.857;
- text-align: left;
- }
- #copyright {
- height: 96px;
- width: 1920px;
- background: black;
- position: relative;
- top: 90%;
- text-align: center;
- }
- #copyright-text {
- font-family: Georgia;
- color: #ffffff;
- font-size: 0.75em;
- font-style: italic;
- line-height: 2;
- text-align: center;
- position: absolute;
- left: 50%;
- top: 35%;
- }
- </style>
- <nav>
- <ul>
- <li><a class="nav-item" href="#home">Home</a></li>
- <li><a class="nav-item" href="#about">About</a></li>
- <li><a class="nav-item" href="#contact">Contact</a></li>
- </ul>
- </nav>
- <section id="gallery">
- <article class="gallery-article" id="gallery-article-2">
- <p class="article-title">LOREM CURSUS</p>
- <p class="article-subtitle">Ligula</p>
- <section id="gallery">
- <article>
- <p class="article-title">LOREM CURSUS</p>
- <p class="article-subtitle">Ligula</p>
- <section id="gallery">
- <article>
- <p>LOREM CURSUS</p>
- <p>Ligula</p>
- <section id="gallery">
- <article>
- <h2>LOREM CURSUS</h2>
- <p>Ligula</p>
Add Comment
Please, Sign In to add comment