You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
276 lines
4.2 KiB
276 lines
4.2 KiB
2 years ago
|
|
||
|
$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: darken($neutral1, 10%);
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
font-variant: small-caps;
|
||
|
}
|
||
|
|
||
|
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, 10%);
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.current {
|
||
|
background-color: $illiniorange;
|
||
|
color: $neutral1;
|
||
|
}
|
||
|
|
||
|
.current:hover {
|
||
|
background-color: darken($illiniorange, 5%);
|
||
|
}
|
||
|
|
||
|
/* Slideshow */
|
||
|
|
||
|
#slideshow {
|
||
|
position: absolute;
|
||
|
top: 4em;
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
/* Top Card */
|
||
|
|
||
|
@keyframes slideCard {
|
||
|
from { top: 24em; opacity: 0}
|
||
|
to { top: 20em; opacity: 1}
|
||
|
}
|
||
|
|
||
|
.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: slideCard 1s;
|
||
|
|
||
|
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 {
|
||
|
max-width: 60%;
|
||
|
margin: 0 auto 0 auto;
|
||
|
position: absolute;
|
||
|
|
||
|
left: 0;
|
||
|
right: 0;
|
||
|
bot: 0;
|
||
|
|
||
|
background-color: $neutral1;
|
||
|
padding: 2em 4em 4em 4em;
|
||
|
|
||
|
div {
|
||
|
position: relative;
|
||
|
z-index: 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
.banner {
|
||
|
top: 34em;
|
||
|
padding-top: 6em !important;
|
||
|
}
|
||
|
|
||
|
.post {
|
||
|
top: 4em;
|
||
|
}
|
||
|
|
||
|
#bessel {
|
||
|
position: absolute;
|
||
|
left: 0;
|
||
|
top: 1em;
|
||
|
z-index: 0;
|
||
|
opacity: 0.3
|
||
|
}
|
||
|
|
||
|
.markdown-img {
|
||
|
width: 100%;
|
||
|
}
|