Violets-Purgatory/static/root.css

202 lines
3.6 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!
*/
.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 {
background-color: rgba(20, 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: outset rgb(35, 20, 60) 0px 0px 20px;
2024-02-12 11:12:15 -06:00
}
@media screen and (min-width: 415px) {
2024-04-16 15:01:16 -05:00
.linkContainer {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
2024-04-16 15:05:12 -05:00
max-width: 415px;
2024-04-16 15:01:16 -05:00
margin: auto;
}
}
2024-02-12 11:12:15 -06:00
.animatedTitle {
2024-02-27 21:47:30 -06:00
animation: mainText 2s cubic-bezier(0.075, 0.82, 0.165, 1);
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; */
}
.animatedMain {
opacity: 1;
2024-02-27 21:47:30 -06:00
animation: fadeDelay 2s cubic-bezier(0.075, 0.82, 0.165, 1);
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%;
}
2024-03-30 01:42:20 -05:00
.CLAlign {
display: inline-block;
}
2024-02-18 08:01:58 -06:00
.activity {
border-width: 3px;
border-radius: 10px;
overflow: hidden;
margin: auto;
padding: 0;
display: flex;
position: relative;
z-index: 3;
2024-03-03 21:27:47 -06:00
/* max-height: 200px; */
2024-02-18 08:01:58 -06:00
}
.activity>p {
width: 100%;
2024-03-03 21:27:47 -06:00
max-height: 100%;
overflow-wrap: anywhere;
text-overflow: ellipsis;
2024-03-08 20:20:56 -06:00
padding: 3px;
line-height: 1.5rem;
2024-02-18 08:35:02 -06:00
align-self: center;
2024-02-18 08:01:58 -06:00
}
.activity>img {
2024-03-08 20:20:56 -06:00
width: 40%;
2024-02-18 08:01:58 -06:00
aspect-ratio: 1/1;
object-fit: cover;
}
2024-03-03 21:27:47 -06:00
.activity>img:not(.smallimg) {
2024-03-08 20:20:56 -06:00
min-width: 150px;
max-width: 150px;
2024-03-03 21:27:47 -06:00
}
2024-02-18 08:01:58 -06:00
.activity>.smallimg {
2024-03-03 21:27:47 -06:00
width: 48px;
height: 48px;
2024-02-18 08:01:58 -06:00
position: absolute;
bottom: 0px;
2024-03-03 21:27:47 -06:00
left: 0px;
2024-02-18 08:01:58 -06:00
border-radius: 50px;
background: black;
padding: 5px;
/* border: 2px gray solid; */
transform: scale(0.9);
}
.activity>.smallimg:hover {
transform: scale(1);
}
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-02-18 08:01:58 -06:00
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
2024-03-03 21:27:47 -06:00
@media screen and (min-width: 850px) {
2024-02-18 08:01:58 -06:00
.activity-container {
2024-02-18 08:21:08 -06:00
display: flex;
flex-wrap: wrap;
justify-content: center;
2024-02-18 08:01:58 -06:00
}
.activity {
2024-02-18 08:21:08 -06:00
flex: 0 0 49%;
2024-02-18 08:01:58 -06:00
margin: auto;
2024-02-18 08:21:08 -06:00
padding: 0;
margin: 0;
2024-02-18 08:01:58 -06:00
align-content: center;
}
}
.lengthBar {
background-color: rgb(50, 40, 60);
display: inline-block;
width: 80%;
height: 10px;
padding: 0;
overflow: hidden;
border-radius: 5px;
margin-right: 1.9%;
}
.lengthBar>span {
margin: 0;
padding: 0;
width: 100%;
background-color: rgb(200, 200, 230);
height: 20px;
display: block;
position: relative;
}
2024-02-12 11:12:15 -06:00
@keyframes mainText {
0% {
transform: translateY(calc(50vh - 6rem)) scale(1.5);
opacity: 0;
height: 4rem;
}
50% {
opacity: 1;
height: 4rem;
transform: translateY(calc(50vh - 6rem)) scale(1.25);
}
100% {
transform: translateY(0) scale(1);
}
}
@keyframes fadeDelay {
0% {
opacity: 0;
2024-02-13 10:54:08 -06:00
display: none;
2024-02-12 11:12:15 -06:00
}
66% {
opacity: 0;
transform: translateY(25vh);
display: none;
2024-02-12 11:12:15 -06:00
}
100% {
opacity: 1;
transform: none;
}
}
@keyframes hideContent {
0% {
overflow-y: hidden;
overflow-x: hidden;
}
100% {
overflow-y: hidden;
overflow-x: hidden;
}
}