Violets-Purgatory/static/root.css

156 lines
2.7 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 17:50:03 -05:00
animation: hideContent 1s;
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-09-29 17:07:31 -05:00
color: rgb(175, 125, 255);
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-11-14 05:16:26 -06:00
border: 2px white solid;
2024-02-12 11:12:15 -06:00
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-11-14 05:16: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 {
2024-11-14 05:12:10 -06:00
display: grid;
grid-template-columns: 1fr 1fr 1fr;
2024-11-14 05:16:10 -06:00
gap: 3px;
max-width: 385px;
margin: auto;
justify-content: center;
2024-04-16 15:01:16 -05:00
}
2024-11-14 05:12:10 -06:00
.linkContainer > a {
2024-11-14 05:16:10 -06:00
font-size: 1.4rem;
margin: 2px 0px;
2024-10-17 00:45:30 -05:00
}
2024-02-12 11:12:15 -06:00
.animatedTitle {
2024-09-26 14:53:24 -05:00
animation: mainText 2s cubic-bezier(0.075, 0.82, 0.165, 1);
/* animation-delay: 1s; */
2024-09-26 14:28:07 -05:00
animation-fill-mode: both;
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 {
2024-09-26 14:28:07 -05:00
animation: fadeDelay 1s cubic-bezier(0.075, 0.82, 0.165, 1);
2024-09-26 14:21:14 -05:00
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-09-29 16:23:02 -05:00
.pfp:active {
scale: 1.1;
}
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-09-26 14:25:08 -05:00
@keyframes fadeDelay {
2024-02-12 11:12:15 -06:00
0% {
2024-09-26 14:25:08 -05:00
display: none;
2024-02-12 11:12:15 -06:00
opacity: 0;
2024-09-26 14:25:08 -05:00
transform: translateY(25vh);
2024-09-26 14:14:44 -05:00
}
2024-02-12 11:12:15 -06:00
100% {
2024-09-26 14:25:08 -05:00
display: block;
opacity: 1;
transform: translateY(0);
2024-02-12 11:12:15 -06:00
}
}
2024-09-26 14:25:08 -05:00
@keyframes mainText {
2024-09-26 14:53:24 -05:00
0% {
2024-09-26 14:25:08 -05:00
transform: translateY(calc(50vh - 6rem)) scale(1.5);
2024-09-26 14:53:24 -05:00
}
2024-02-12 11:12:15 -06:00
2024-09-26 14:53:24 -05:00
50% {
2024-09-26 14:25:08 -05:00
transform: translateY(calc(50vh - 6rem)) scale(1.25);
}
100% {
transform: translateY(0) scale(1);
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
}