Violets-Purgatory/static/style.css

128 lines
2.3 KiB
CSS
Raw Normal View History

2024-02-12 11:12:15 -06:00
/*
This is the GLOBAL css file.
Any changes made in here, will apply to the ENTIRE site.
Only put changes here if you intend to put changes across
the whole site!
*/
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;
}
2024-02-12 11:12:15 -06:00
main:nth-of-type(1) {
width: 90%;
max-width: 1000px;
margin: auto;
}
2024-02-08 12:45:32 -06:00
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
}
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);
}
2024-02-12 14:05:07 -06:00
h3 {
font-size: 1.5rem;
padding: 10px;
}
@media screen and (min-width: 600px) {
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}
.grid-child {
margin: auto;
align-content: center;
/* border: 2px white solid; */
}
}
2024-02-10 21:41:53 -06:00
.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);
}
2024-02-12 14:05:07 -06:00
.chip:hover>.smallimg {
2024-02-10 21:41:53 -06:00
background-color: rgb(10, 0, 25);
}
2024-02-08 17:25:10 -06:00
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
}
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
}
h2 {
font-size: 1.8rem;
}
2024-02-08 17:25:10 -06:00
.note {
2024-02-12 14:24:22 -06:00
color: darkgray;
2024-02-08 17:28:17 -06:00
font-size: 1rem;
2024-02-08 12:45:32 -06:00
}