Created
September 1, 2021 06:51
-
-
Save Lanse505/806b434ffc65209388f0f1a3017ae2e9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| * { | |
| margin: 0; | |
| padding: 0; | |
| } | |
| body { | |
| box-sizing: border-box; | |
| background-image: url(media/background.jpg); | |
| background-repeat: no-repeat; | |
| background-size: cover; | |
| } | |
| .header-nav { | |
| display: flex; | |
| align-items: flex-end; | |
| height: 5rem; | |
| } | |
| .header-links-div { | |
| width: 100%; | |
| display: flex; | |
| justify-content: space-between; | |
| font-size: 2rem; | |
| text-transform: capitalize; | |
| align-self: flex-start; | |
| } | |
| .header-group { | |
| display: block; | |
| padding: 1rem 1rem; | |
| color: black; | |
| background-color: rgba(120, 197, 120, 0.5); | |
| border-style: solid; | |
| } | |
| .header-members { | |
| display: flex; | |
| border-style: solid; | |
| background-color: rgba(120, 197, 120, 0.5); | |
| border-bottom-left-radius: 10px; | |
| } | |
| .member { | |
| display: block; | |
| padding: 1rem 1rem; | |
| color: black; | |
| } | |
| .member:hover, .current { | |
| box-shadow: inset 0 -0.3rem rgba(9, 100, 1, 0.8); | |
| } | |
| .content-body { | |
| position: fixed; | |
| top: 15%; | |
| left: 15%; | |
| width: 70%; | |
| height: 70%; | |
| background-color: rgba(211, 211, 211, 0.8); | |
| border-radius: 10px; | |
| } | |
| .content-text { | |
| position: relative; | |
| padding-top: 5px; | |
| text-align: center; | |
| text-decoration: underline; | |
| } | |
| .picture { | |
| width:20%; | |
| margin-right:15px; | |
| float: right; | |
| } | |
| .picture-text { | |
| margin-left: 15px; | |
| text-align: left; | |
| } | |
| .content-text br { | |
| position: relative; | |
| } | |
| .content-text hr { | |
| position: relative; | |
| color: black; | |
| } | |
| .footer-base { | |
| position: absolute; | |
| display: flex; | |
| align-items: center; | |
| height: 5rem; | |
| width: 100%; | |
| justify-content: space-between; | |
| font-size: 2rem; | |
| text-transform: capitalize; | |
| float:right; | |
| } | |
| .footer-emails { | |
| display: flex; | |
| padding-top: 85.86%; | |
| padding-left: 54%; | |
| } | |
| .footer-start { | |
| display: block; | |
| padding: 1rem 1rem; | |
| color: black; | |
| background-color: rgba(211, 211, 211, 0.8); | |
| border-style: solid; | |
| border-right: none; | |
| border-bottom-left-radius: 10px; | |
| border-top-left-radius: 10px; | |
| } | |
| .footer { | |
| display: block; | |
| padding: 1rem 1rem; | |
| color: black; | |
| background-color: rgba(211, 211, 211, 0.8); | |
| border-style: solid; | |
| border-right: none; | |
| border-left: none; | |
| } | |
| .footer-end { | |
| display: block; | |
| padding: 1rem 1rem; | |
| color: black; | |
| background-color: rgba(211, 211, 211, 0.8); | |
| border-style: solid; | |
| border-left: none; | |
| border-bottom-right-radius: 10px; | |
| border-top-right-radius: 10px; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="sv"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Stålnäbb Simon</title> | |
| <meta name="author" content="Simon Stålnäbb"> | |
| <meta name="description" content="Information om H21 Student Simon Stålnäbb i Kurs GIK298"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="icon" type="image/x-icon" sizes="16x16 32x32" href="./hda_logotype.ico"> | |
| <link rel="stylesheet" href="./css/staalnaebb_simon.css" /> | |
| </head> | |
| <body> | |
| <!--Header Navigation--> | |
| <div> | |
| <nav class="header-nav"> | |
| <div class="header-links-div"> | |
| <a class="header-group" href="./grupp.html">Grupp 13</a> | |
| <div class="header-members"> | |
| <a class="member" href="./johansson_alexander.html">Alexander</a> | |
| <a class="member" href="./sörbo_kristina_sara_anna">Anna-Sara</a> | |
| <a class="member" href="./wallin_harald.html">Harald</a> | |
| <a class="member" href="./ladero_jamelah.html">Jamelah</a> | |
| <a class="member" href="./beischer_leo">Leo</a> | |
| <a class="member current" href="./staalnaebb_simon.html">Simon</a> | |
| </div> | |
| </div> | |
| </nav> | |
| </div> | |
| <!--Main Content Body--> | |
| <main> | |
| <div class="content-body"> | |
| <div> | |
| <h1 class="content-text">Carl Simon Stålnäbb</h1> | |
| <br> | |
| <p> | |
| <a class="picture-text"> | |
| Lorem ipsum dolor sit amet, consectetur adipiscing elit. <br> | |
| Phasellus imperdiet, nulla et dictum interdum, nisi lorem egestas odio, vitae scelerisque enim ligula venenatis dolor. <br> | |
| Maecenas nisl est, ultrices nec congue eget, auctor vitae massa. Fusce luctus vestibulum augue ut aliquet. <br> | |
| Mauris ante ligula, facilisis sed ornare eu, lobortis in odio. <br> | |
| Praesent convallis urna a lacus interdum ut hendrerit risus congue. <br> | |
| Nunc sagittis dictum nisi, sed ullamcorper ipsum dignissim ac. <br> | |
| In at libero sed nunc venenatis imperdiet sed ornare turpis. <br> | |
| Donec vitae dui eget tellus gravida venenatis.<br> | |
| Integer fringilla congue eros non fermentum. <br> | |
| Sed dapibus pulvinar nibh tempor porta. Cras ac leo purus. <br> | |
| Mauris quis diam velit.<br> | |
| </a> | |
| <img class="picture" src="./img/selfie.jpg" alt="Bild på Simon Stålnäbb"> | |
| </p> | |
| </div> | |
| </div> | |
| </main> | |
| <!--Footer Body--> | |
| <footer class="footer-base"> | |
| <div class="footer-emails"> | |
| <a class="footer-start" href="mailto:[email protected]">[email protected]</a> | |
| <a class="footer" href="mailto:[email protected]">[email protected]</a> | |
| <a class="footer" href="mailto:[email protected]">[email protected]</a> | |
| <a class="footer" href="mailto:[email protected]">[email protected]</a> | |
| <a class="footer-end" href="mailto:[email protected]">[email protected]</a> | |
| </div> | |
| </footer> | |
| </body> | |
| </html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment