UNPKG

lz-fan-page

Version:

Led Zeppelin fan page

223 lines (185 loc) 3.82 kB
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Lato&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap'); * { font-family: "Montserrat"; font-size: 20px; } .container { height: 100vh; display: grid; grid-template-columns: 1fr; grid-template-rows: 100px 1fr auto; grid-template-areas: "header" "article" "footer"; } body { background-color: #161616; } /* HEADER */ .header { grid-area: "header"; background-color: #161616; display: flex; justify-content: flex-end; align-items: center; padding: 15px; border-bottom: 1px solid #555; } .header li, a { font-weight: 400; font-size: 20px; color: #fff; text-decoration: none; font-family: "Oswald"; } .logo { cursor: pointer; margin-right: auto; margin-left: 25px; padding-right: 20px; border-right: 1px solid #555; } .nav__links { list-style: none; margin-right: 40px; } .nav__links li { display: inline-block; padding: 0px 10px; } .nav__links li a { transition: all 0.3 ease 0; } .nav__links li a:hover { color: #dc3545; } /* ARTICLE */ .article { background-color: #202020; color: #fff; grid-area: "article"; padding: 2rem; } h1, h3 { font-family: "Oswald"; } h1 { font-size: 40px; } h3 { font-size: 20px; } .history { border-top: 1px solid #777; } .albums { border-top: 1px solid #777; } .photos-title { border-top: 1px solid #777; padding-top: 1.5rem; padding-bottom: 1.5rem; } .photos { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; row-gap: 2rem; } .photos img { height: 350px; width: 350px; padding-bottom: .35rem; } .text { font-family: "Poppins"; font-weight: 500; } .year { color: #999; font-family: "Lato"; padding-top: .25rem; } /* FOOTER */ .footer { background-color: #777; grid-area: "footer"; } .footer-container { display: flex; flex-wrap: wrap; gap: 2rem; max-width: 88rem; margin-left: auto; margin-right: auto; } .footer-image-wrapper { display: flex; justify-content: center; width: 100%; background-color: #fffaf0; padding: 1rem; } .footer-section-wrapper { flex-grow: 1; display: flex; flex-direction: row; justify-content: center; padding-bottom: 2rem; gap: 2rem; text-align: center; } .footer-list { display: flex; flex-direction: row; column-gap: 10px; list-style-type: none; } .footer-link { color: #fff; text-decoration: none; font-size: 0.875rem; } .footer-link:hover { text-decoration: underline; } .footer-bottom { background-color: #777; } .footer-bottom-container { display: flex; flex-direction: column; justify-content: center; row-gap: 1rem; max-width: 88rem; padding-bottom: 2rem; margin-left: auto; margin-right: auto; } .footer-social { display: flex; column-gap: 0.5rem; align-self: center; padding-bottom: 0.5rem; } .footer-social-icon { color: brown; text-decoration: none; } .footer-social-icon svg { width: 1.25rem; height: 1.25rem; } .footer-copyright { color: #ffc; font-size: 0.675rem; line-height: 1.25rem; text-align: center; align-self: center; }