$font: 'Montserrat', sans-serif; $illiniblue: #13294B; $blue1: #0455A4; $blue2: #1F4096; $illiniorange: #FF5F0F; $neutral1: #E8E9EA; $neutral2: #A5A8AA; $neutral3: #5E6669; $font-regular-color: black; $font-light-color: #1A1A1A; $font-lighter-color: #525252; /** Element Setup **/ html, body { width: 100%; height: 100%; margin: 0; padding: 0; background-color: $neutral1; } h1, h2, h3, h4, h5, h6, a, li, span, p { font-family: 'Montserrat', sans-serif; z-index: 1; } h1 { font-weight: 800; } h2 { font-weight: 600; } h3 { font-weight: 600; text-decoration: underline; } h4 { font-weight: 400; font-style: italic; text-decoration: underline; } h5, h6 { font-variant: small-caps; } h6 { font-color: $font-lighter-color; } .separator { width: 100%; height: 0.5em; z-index: 5; } .orange { background-color: $illiniorange; } .blue { background-color: $illiniblue; } a { font-weight: 400; font-color: $blue1; } a, a:hover, a:visited, a:active { color: inherit; text-decoration: none; } /* Navigation */ nav { position: sticky; top: 0; margin: 0; padding: 0; width: 100%; height: 4em; z-index: 100; background-color: $neutral1; box-shadow: 0 0.25rem 0.25rem rgba(0,0,0,0.5); ul { max-width: 70%; margin: 0 auto 0 auto; padding: 0; height: 3.5em; text-align: right; align-items: center; #logo { font-family: $font; font-weight: 400; font-size: 1.5em; padding: 0.55em; float: left; } li { width: 10em; height: 100%; display: inline-block; font-size: 1em; background-color: $neutral1; text-align: center; list-style-type: none; cursor: pointer; transition: background-color ease-in-out 0.1s; a { display: inline-block; padding: 1.1em 0 1.1em 0; width: 100%; font-weight: 400; font-variant: normal; } } li:hover { background-color: darken($neutral1, 5%); } li:active { background-color: darken($neutral1, 10%); } } } .current { background-color: $illiniorange; color: $neutral1; } .current:hover { background-color: darken($illiniorange, 5%); } /* Slideshow */ #slideshowContainer { width: 100%; height: 30em; } #slideshow { position: relative; top: 0; left: 0; width: 100%; height: 30em; img { position: absolute; width: 100%; height: 100%; object-fit: cover; } span { position: absolute; bottom: 1em; right: 2%; background-color: rgba(0,0,0,0.8); color: $neutral1; font-weight: 200; z-order: 10; padding: 0.5em; } } @keyframes slideUp { from { transform: translateY(2em); opacity: 0} to { transform: translateY(0); opacity: 1} } /* Top Card */ .topCard { position: absolute; top: 20em; left: 0; right: 0; width: 20em; height: 18em; margin: 0 auto 0 auto; text-align: center; z-index: 10; animation: slideUp 0.5s; filter: drop-shadow(0.25em 0.3em 0.4em rgba(0,0,0,0.8)); div { height: 100%; padding: 2em; clip-path: polygon(0 0, 100% 0, 100% 70%, 50% 100%, 0 70%); background-color: rgba($illiniblue, 0.8); h1 { margin: 0; font-weight: 100; font-size: 3.8em; color: $neutral1; } p { margin-bottom: 5em; font-weight: 400; font-size: 1em; color: darken($neutral1, 10%); } } } /* Content */ .content { h1, h2, h3, h4, h5, h6, p, a, img { animation: slideUp 0.5s; } } .content { width: 100%; margin: 0 auto 0 auto; position: relative; left: 0; right: 0; background-color: $neutral1; div:nth-child(1) { position: relative; z-index: 1; } svg { position: absolute; width: 100%; height: 10em; fill: rgba($blue1, 0.1); left: 0; z-index: 1; } .upAccent { top: 0; transform: translateY(-10em); } .downAccent { bottom: 0; transform: translateY(10em); } } #bannerContent { padding-top: 6em !important; background-color: rgba($blue1, 0.1); .downCircle { position: absolute; fill: rgba($blue1, 0.1); left: 0; } h1 { padding-left: 2em; } .item { width: 100%; height: 20em; display: flex; padding-top: 7em; padding-bottom: 7em; position: relative; flex-direction: row; justify-content: space-evenly; align-items: center; .description { width: 40%; height: 100%; display: flex; flex-direction: column; justify-content: center; text-align: left; h2 { width: 100%; margin: 0; font-size: 2em; } p { width: 100%; font-size: 1.2em; } p:last-child { position: relative; z-index: 50; text-align:right; } a { margin-right: 1em; padding: 0.8em; background-color: lighten($blue2, 20%); color: $neutral1; border-radius: 13px; transition: background-color ease-in-out 0.1s; } a:hover { background-color: darken(lighten($blue2, 20%), 10%); } a:active { background-color: darken(lighten($blue2, 20%), 15%); } } .image { width: 20em; padding-bottom: 20em; position: relative; z-index: 20; } img { position: absolute; width: 100%; height: 100%; top: 0; bottom: 0; left: 0; right: 0; object-fit: cover; border-radius: 50%; border: 5px solid rgba($blue2, 30%); } } .item:nth-child(2) .upAccent { transform: translateY(0); } .item:nth-child(even) { background-color: $neutral1; } .item:nth-child(odd) { padding-bottom: 2em; padding-top: 2em; .description { order: 1; } .image { order: 0; } } } #postContent { width: 100%; svg { width: 100%; height: 15em; top: 0; transform: translateY(0); z-index: 0; } div { position: relative; padding: 2em 4em 4em 4em; z-index: 1; } } #afterItems { background-color: $neutral1; padding: 0 4em 4em 4em; h1:first-child { margin-top: 0; } h1 { padding: 0; } } /* Footer */ footer { position: relative; bottom: 0; width: 100%; height: 15em; background-color: $illiniblue; color: $neutral1; font-size: 0.8em; #footer { margin: 0 auto 0 auto; height: 11.5em; width: 90%; border-bottom: 1px solid $neutral1; display: flex; flex-flow: column; justify-content: center; div { display: flex; flex-flow: row wrap; justify-content: center; } p { color: $neutral2; width: 100%; text-align: center; } a { margin: 0 0.5em 0 0.5em; padding: 0.5em; border-radius: 3px; border: 1px solid $neutral1; background-color: $illiniblue; transition: background-color ease-in-out 0.3s; } a:hover { background-color: lighten($illiniblue, 10%); } a:active { background-color: lighten($illiniblue, 15%); } } #author { width: 90%; margin: 1em auto 0 auto; text-align: right; color: $neutral2; } }