Violets-Purgatory/static/style.css

112 lines
2.4 KiB
CSS
Raw Normal View History

2023-09-21 16:18:23 -05:00
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400&display=swap');
:root {
font-family: 'Rubik', Verdana, Geneva, Tahoma, sans-serif;
padding: 0;
text-align: center;
--bg-color-1: rgb(125, 25, 100);
--bg-color-2: rgb(75, 25, 125);
--faded-bg-color-1: rgb(80, 20, 60);
--faded-bg-color-2: rgb(60, 20, 80);
--button-bg-1: rgb(75, 75, 125);
}
h1 {
color: rgb(225, 215, 255);
font-size: 3rem;
}
h2 {
color: white;
font-size: 2rem;
}
body {
width: 100vw;
height: 100vh;
padding: 0;
margin: 0;
background-color: var(--faded-bg-color-1);
background-image: linear-gradient(45deg, var(--faded-bg-color-1), var(--faded-bg-color-2))
}
.centered {
display: flex;
justify-content: center;
align-items: center;
}
#card {
border: rgb(225, 225, 255) 5px solid;
border-radius: 25px;
width: 90%;
height: 90%;
padding: 30px;
background-color: var(--bg-color-2);
background-image: linear-gradient(var(--bg-color-1), var(--bg-color-2));
overflow: auto;
}
.miniCard {
text-align: center;
border: rgb(225, 225, 255) 4px solid;
border-radius: 25px;
padding: 20px;
margin: 20px;
background-color: var(--bg-color-2);
background-image: linear-gradient(var(--bg-color-1), var(--bg-color-2));
overflow: hidden;
max-width: 100%;
max-height: 100%;
/* display: inline-block; */
}
/* #links {
text-align: center !important;
display: inline-flex !important;
justify-content: center !important;
align-items: flex-end !important;
} */
a {
border: 2px white solid;
border-radius: 0px;
color: rgb(230, 175, 255);
background-color: black;
padding: 5px;
margin: 5px;
text-decoration: none;
font-size: 2rem;
display: inline-block;
transition: 1.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
a:hover {
background-color: rgb(60, 50, 75);
transform: scale(1.225);
color: white;
transition: 0.5s all cubic-bezier(0.075, 0.82, 0.165, 1);
}
p {
color: white;
font-size: 1.25rem;
}
img {
width: 100%;
max-width: 150px;
border: rgb(175, 75, 200) 4px solid;
border-radius: 50%;
transform: scale(0.9);
transition: all 2s cubic-bezier(0.075, 0.82, 0.165, 1);
}
img:hover {
transform: scale(1);
/* border-color: rgb(255, 200, 255); */
object-fit: cover;
}