$darkBg: #373837; $lightBg: white; $darkFont: black; $lightFont: white; %dark { background-color: $darkBg; color: $lightFont; } %light { background-color: $lightBg; $color: $darkFont; } @mixin textShadow() { text-shadow: 0px 1px 3px rgba(0, 0, 0, 1); border: 10px; } body { margin: 0%; font-family: "Helvetica"; } .sub { appearance: button; margin-bottom: 0.4em; padding: 0.35em; background-color: $lightBg; color: $darkFont; text-decoration: none; border-radius: 0.2em; box-shadow: 0px 0px 5px 1px rgba(0, 0, 0, 0.96); text-align: center; &:hover { background-color: $darkBg; color: $lightBg; } } .headerCard { height: 100vh; width: 100%; display: flex; justify-content: center; align-items: center; background-image: url("/img/callout.jpg"); background-repeat: no-repeat; background-size: cover; @media only screen and (max-width: 768px) { background-image: url("/img/callout.jpg"); background-repeat: no-repeat; background-size: auto; background-position-x: 22%; background-position-y: bottom; } } header { display: flex; align-items: center; flex-direction: column; h1 { font-size: 3rem; color: $lightFont; font-weight: normal; margin: 0rem; @include textShadow(); } p { font-size: 1rem; color: $lightFont; margin-bottom: 1rem; @include textShadow(); } .arrowDown { color: $lightFont; @include textShadow(); margin-top: .4em; cursor: pointer; &:hover { color: $darkFont; } } } .main { display: flex; flex-direction: column; align-items: center; text-align: center; & > section:nth-child(odd) { @extend %dark; } & > * { min-height: 33vh; // atleast as tall as 33% of the view port width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; p { padding-left: 0.8rem; padding-right: 0.8rem; } } } .intro { h2 { margin-top: 0.5rem; margin-bottom: 0; } } .eventCard { h2 { margin: 0; } ul { list-style: none; padding: 0; li { margin-bottom: 0.4rem; a { text-decoration: underline; color: $darkFont; } } } } .teamCard { .tommyAvatar { border-radius: 50%; } }