cs-2022-class-profile/pages/frontpage.module.css

99 lines
1.5 KiB
CSS

.main {
display: flex;
flex-direction: column;
align-items: center;
}
.main > * {
margin-bottom: calc(65rem / 16);
}
.title {
position: relative;
width: 80vw;
height: 100vh;
}
.titleImage {
position: absolute;
top: 10vh;
margin: auto;
max-width: 800px;
}
.titleImage img {
max-width: 100%;
height: auto;
}
.blurb {
position: absolute;
bottom: 20vh;
right: 7vw;
width: fit-content;
height: fit-content;
padding: calc(30rem / 16);
background-color: var(--translucent-accent);
border: calc(2rem / 16) solid var(--primary-text);
box-shadow: 0 calc(1rem / 16) calc(10rem / 16) var(--primary-accent);
border-radius: calc(50rem / 16);
z-index: 1;
}
.blurb h1 {
margin-top: 0;
}
.classYear {
color: var(--primary-text);
}
.classProfile {
color: var(--primary-heading)
}
.blurb h3 {
color: var(--primary-accent-light);
}
.decoratorSolid {
position: absolute;
top: 2vh;
right: 13vw;
width: 16vw;
height: 24vh;
background-color: var(--primary-accent-lighter);
opacity: 50%;
border-radius: calc(50rem / 16);
}
.decoratorDots {
position: absolute;
top: 40vh;
right: 0.8vw;
width: 11vw;
height: 36vh;
background-image: radial-gradient(var(--link) 35%, transparent 35%);
background-position: 0 0;
background-size: calc(25rem / 16) calc(25rem / 16);
z-index: -1;
}
@media screen and (max-width: 700px) {
.decoratorDots {
display: none;
}
.decoratorSolid {
display: none;
}
.blurb {
right: 0;
}
}
.homeSectionsStyles {
width: 70vw;
max-width: 1000px;
}