Violets-Purgatory/static/root.css
2024-09-26 14:47:33 -05:00

162 lines
No EOL
2.8 KiB
CSS

/*
This is the CSS file for the root page. Only put changes in here
intended for the main page of the site!
*/
body {
animation: hideContent 0.9s;
}
.mainTitle {
font-size: min(calc(2rem + 2vw), 3rem);
display: block;
padding-top: 5px;
line-height: min(calc(2.2rem + 2vw), 3rem);
}
#textWrapper {
animation: textFade 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
#card {
background-color: rgba(10, 5, 90);
padding: 15px;
border: 2px white solid;
margin: 20px auto;
width: 90%;
max-width: 800px;
z-index: 3;
position: relative;
border-radius: 12px;
box-shadow: 0px 5px 50px 0px rgba(0, 0, 0, .25);
}
.linkContainer {
display: flex;
flex-wrap: wrap;
max-width: 385px;
margin: auto;
justify-content: center;
}
.animatedTitle {
animation: mainText 1s cubic-bezier(0.075, 0.82, 0.165, 1);
animation-delay: 1s;
animation-fill-mode: both;
margin: auto;
max-width: 75%;
padding-top: 30px;
/* outline: 1px white solid; */
}
.animatedMain {
animation: fadeDelay 1s cubic-bezier(0.075, 0.82, 0.165, 1);
animation-delay: 1.25s;
animation-fill-mode: both;
}
.pfp {
border-radius: 15px;
border: darkgray 4px solid;
float: right;
width: 60%;
aspect-ratio: 1/1;
transform: scale(0.9);
border-radius: 50%;
rotate: 0deg;
user-select: none;
animation-duration: 3s;
animation-timing-function: linear;
animation-iteration-count: infinite;
}
.CLAlign {
display: inline-block;
}
.emoji {
max-width: 2rem !important;
vertical-align: top;
padding: 0;
margin-right: 10px;
}
.emoji:hover {
transform: scale(1.5);
}
img:not(.project-inner > div > img):not(.activity>img) {
width: 100%;
max-width: 168px;
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.statusColor {
transition: color 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
@keyframes spinny {
0% {
rotate: 0deg;
}
100% {
rotate: 360deg;
}
}
@keyframes fadeDelay {
0% {
display: none;
opacity: 0;
transform: translateY(25vh);
}
100% {
display: block;
opacity: 1;
transform: translateY(0);
}
}
@keyframes mainText {
/* 0% {
transform: translateY(calc(50vh - 6rem)) scale(1.5);
opacity: 0;
} */
0% {
opacity: 1;
transform: translateY(calc(50vh - 6rem)) scale(1.25);
}
100% {
transform: translateY(0) scale(1);
}
}
@keyframes textFade {
0% {
transform: scale(1.15);
opacity: 0;
}
100% {
transform: scale(1);
opacity: 1;
}
}
@keyframes hideContent {
0% {
overflow-y: hidden;
overflow-x: hidden;
}
100% {
overflow-y: hidden;
overflow-x: hidden;
}
}