Violets-Purgatory/static/style.css

194 lines
3.3 KiB
CSS
Raw Normal View History

2024-02-08 12:45:32 -06:00
@font-face {
font-display: swap;
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: url('./fonts/rubik-v28-latin-regular.woff2') format('woff2');
}
* {
font-family: 'Rubik', Verdana, Geneva, Tahoma, sans-serif;
padding: 0;
2024-02-10 21:41:53 -06:00
margin: 0;
2024-02-08 17:25:10 -06:00
font-weight: 400;
2024-02-08 12:45:32 -06:00
text-align: center;
color: white;
}
body {
background-color: black;
overflow-x: hidden;
2024-02-08 18:28:33 -06:00
2024-02-10 21:41:53 -06:00
background-color: rgb(15, 4, 45);
background: linear-gradient(rgb(20, 4, 55), black);
background-attachment: local;
min-height: 100vh;
2024-02-08 17:52:26 -06:00
padding: 25px;
2024-02-08 17:43:23 -06:00
animation: hideContent 2.5s;
2024-02-08 12:45:32 -06:00
}
main {
opacity: 1;
animation: fadeDelay 3s cubic-bezier(0.075, 0.82, 0.165, 1);
2024-02-08 17:25:10 -06:00
width: 90%;
max-width: 1000px;
margin: auto;
2024-02-08 12:45:32 -06:00
}
2024-02-10 21:41:53 -06:00
a {
color: rgb(175, 225, 255);
display: inline-block;
transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
.chip {
position: relative;
z-index: 3;
font-size: 1.3rem;
border: 2px gray solid;
border-radius: 6px;
background-color: black;
padding: 8px;
margin: 3px;
display: inline-block;
transform: scale(0.95);
transition: transform 1.25s cubic-bezier(0.075, 0.82, 0.165, 1), background-color 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.chip,
.chip>* {
text-decoration: none;
}
.chip:hover {
background-color: rgb(10, 0, 25);
transform: scale(1);
/* font-size: 1.35rem; */
border-color: white;
transition: transform 0.75s cubic-bezier(0.075, 0.82, 0.165, 1), background-color 3s cubic-bezier(0.075, 0.82, 0.165, 1);
}
.chip:hover > .smallimg {
background-color: rgb(10, 0, 25);
}
2024-02-08 17:31:48 -06:00
.animatedTitle {
2024-02-08 12:45:32 -06:00
animation: mainText 3s cubic-bezier(0.075, 0.82, 0.165, 1);
margin: auto;
max-width: 75%;
2024-02-08 17:25:10 -06:00
/* outline: 1px white solid; */
}
hr {
2024-02-08 18:28:33 -06:00
border: 2px gray solid;
2024-02-08 17:25:10 -06:00
margin: 20px;
2024-02-08 12:45:32 -06:00
}
2024-02-08 18:28:33 -06:00
p {
font-size: 1.25rem;
2024-02-10 21:41:53 -06:00
margin: 5px;
2024-02-08 18:28:33 -06:00
}
#card {
2024-02-10 21:41:53 -06:00
background-color: rgb(15, 5, 80);
padding: 15px;
border: 2px white solid;
margin: 20px auto;
width: 95%;
max-width: 800px;
z-index: 3;
position: relative;
2024-02-08 18:28:33 -06:00
}
.pfp {
2024-02-10 21:41:53 -06:00
border-radius: 15px;
border: darkgray 4px solid;
width: 60%;
aspect-ratio: 1/1;
transform: scale(0.9);
2024-02-08 18:28:33 -06:00
border-radius: 50%;
2024-02-10 21:41:53 -06:00
}
2024-02-08 18:28:33 -06:00
2024-02-10 21:41:53 -06:00
img {
width: 100%;
max-width: 135px;
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
2024-02-08 18:28:33 -06:00
}
2024-02-10 21:41:53 -06:00
2024-02-08 18:28:33 -06:00
h2 {
font-size: 1.8rem;
}
2024-02-08 17:25:10 -06:00
.rainDrop {
2024-02-08 16:03:40 -06:00
position: fixed;
z-index: -2;
visibility: hidden;
2024-02-08 17:25:10 -06:00
width: 4px;
height: 120px;
background: rgba(0, 0, 150, 0.5);
}
.mainTitle {
font-size: 2.75rem;
color: rgb(215, 80, 255);
display: block;
2024-02-08 17:28:17 -06:00
padding-top: 5px;
line-height: 2.2rem;
2024-02-08 17:25:10 -06:00
}
.note {
color: gray;
2024-02-08 17:28:17 -06:00
font-size: 1rem;
2024-02-08 16:03:40 -06:00
}
2024-02-08 12:45:32 -06:00
@keyframes mainText {
0% {
2024-02-08 17:52:26 -06:00
transform: translateY(calc(50vh - 6rem)) scale(1.5);
2024-02-08 12:45:32 -06:00
opacity: 0;
2024-02-08 17:25:10 -06:00
height: 4rem;
2024-02-08 12:45:32 -06:00
}
2024-02-08 16:03:40 -06:00
2024-02-08 12:45:32 -06:00
50% {
opacity: 1;
2024-02-08 17:25:10 -06:00
height: 4rem;
2024-02-08 17:52:26 -06:00
transform: translateY(calc(50vh - 6rem)) scale(1.25);
2024-02-08 12:45:32 -06:00
}
2024-02-08 16:03:40 -06:00
2024-02-08 12:45:32 -06:00
100% {
transform: translateY(0) scale(1);
}
}
@keyframes fadeDelay {
0% {
opacity: 0;
}
2024-02-08 16:03:40 -06:00
2024-02-08 12:45:32 -06:00
66% {
opacity: 0;
transform: translateY(25vh)
}
2024-02-08 16:03:40 -06:00
2024-02-08 12:45:32 -06:00
100% {
opacity: 1;
transform: none;
}
2024-02-08 17:43:23 -06:00
}
@keyframes hideContent {
0% {
overflow-y: hidden;
overflow-x: hidden;
}
100% {
overflow-y: hidden;
overflow-x: hidden;
}
2024-02-08 12:45:32 -06:00
}