// colors $dark: #131313 $gray: #747474 $light: #d4d4d4 // fonts @font-face font-family: 'Poppins' src: url('fonts/Poppins/Poppins-Regular.ttf') @font-face font-family: 'Open Sans' src: url('fonts/Open_Sans/OpenSans-Regular.ttf') @font-face font-family: 'Astro' src: url('fonts/astro.ttf') $hero-stack: 'Astro', sans-serif $title-stack: 'Poppins', sans-serif $subtitle-stack: 'Open Sans', sans-serif $body-stack: 'Poppins', sans-serif // mobile $mobile-width: 768px @mixin mobile @media (max-width: #{$mobile-width}) @content @mixin desktop @media (min-width: #{$mobile-width}) @content * margin: 0px padding: 0px box-sizing: border-box overflow-x: hidden background-color: $dark .nav-wrapper position: fixed width: 100% top: 0 z-index: 999 nav display: flex justify-content: space-around align-items: center min-height: 8vh background-color: $dark font-family: $title-stack .logo color: $light text-transform: uppercase letter-spacing: 3px font-size: 1.75em span padding-left: 20px ul display: flex justify-content: space-around width: 30% li list-style: none a font-family: $subtitle-stack color: $light text-decoration: none font-weight: bold font-size: 1.1em &:hover color: white .hero color: $light position: relative width: 100% height: 100% #hero position: absolute left: 10% top: 20% background-color: transparent z-index: 1 h1 font-family: $hero-stack text-align: left font-size: 8em padding: 0.5em background: -webkit-linear-gradient(#eee 70%, #333 100%) -webkit-background-clip: text -webkit-text-fill-color: transparent h3 font-family: "Open Sans", serif text-align: left font-size: 2em background-color: transparent canvas z-index: 999 .about position: relative color: $light overflow: hidden background-color: transparent text-align: center h1 font-size: 4em font-family: $subtitle-stack h4 font-size: 1em font-family: $subtitle-stack margin-left: 20% width: 60% button padding: 10px 20px border: 3px solid $light text-transform: uppercase margin-top: 30px border-radius: 20px font-family: $hero-stack a color: $light text-decoration: none div canvas margin-top: -20% z-index: -1 .timeline position: flex color: $light width: 100% height: 100vh align-items: center justify-content: center // .container // width: 80% // height: auto // max-width: 800px // margin: 0 auto // position: relative // overflow-x: visible // ul // list-style: none // li // padding: 20px // background-color: $gray // color: white // border-radius: 10px // margin-bottom: 20px // &:last-child // margin-bottom: 0 // .content // h1 // font-weight: bold // font-size: 25px // line-height: 30px // margin-bottom: 10px // p // font-weight: normal // font-size: 16px // line-height: 30px // .date // font-weight: normal // font-size: 12px // margin-bottom: 10px // letter-spacing: 2px // @include desktop // &:before // content: "" // position: absolute // top: 0 // left: 50% // transform: translateX(-50%) // width: 2px // height: 100% // background-color: $gray // ul li // width: 50% // position: relative // margin-bottom: 50px // &:nth-child(odd) // float: left // clear: right // transform: translateX(-30%) // border-radius: 20px 0 20px 20px // &::before // transform: translate(50%, -50%) // right: -30px // &:nth-child(even) // float: right // clear: left // transform: translateX(30%) // border-radius: 0 20px 20px 20px // &::before // transform: translate(-50%, -50%) // right: -30px // &::before // content: "" // position: absolute // height: 20px // width: 20px // border-radius: 50% // background-color: $gray // top: 0px // .date // position: absolute // top: -30px .container width: 80% height: auto max-width: 800px margin: 0 auto position: relative .container ul list-style: none .container ul li padding: 20px background-color: #1e1f22 color: white border-radius: 10px margin-bottom: 20px .container ul li:last-child margin-bottom: 0 .content h1 font-weight: 500 font-size: 25px line-height: 30px margin-bottom: 10px .content p font-size: 16px line-height: 30px font-weight: 300 .content .date font-size: 12px font-weight: 300 margin-bottom: 10px letter-spacing: 2px @media only screen and (min-width: 768px) .container:before content: "" position: absolute top: 0 left: 50% transform: translateX(-50%) width: 2px height: 100% background-color: $gray .container ul li width: 50% position: relative margin-bottom: 50px .container ul li:nth-child(odd) float: left clear: right transform: translateX(-30px) border-radius: 20px 0px 20px 20px .container ul li:nth-child(even) float: right clear: left transform: translateX(30px) border-radius: 0px 20px 20px 20px .container ul li::before content: "" position: absolute height: 20px width: 20px border-radius: 50% background-color: pink !important color: pink !important z-index: 999 top: 0px .container ul li:nth-child(odd)::before transform: translate(50%, -50%) right: -30px .container ul li:nth-child(even)::before transform: translate(-50%, -50%) left: -30px .content .date position: absolute top: -30px .container ul li:hover::before background-color: aqua