Violets-Purgatory/static/root.css

145 lines
2.5 KiB
CSS
Raw Normal View History

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