Files
GeyserWebsite/src/pages/index.module.css
T

69 lines
1.4 KiB
CSS
Raw Normal View History

2024-03-03 10:21:26 -08:00
:root {
2024-03-25 14:30:03 +00:00
--ifm-background-image-url: url('/img/site/split-background-light.jpg');
2024-03-03 10:21:26 -08:00
}
[data-theme='dark'] {
2024-03-25 14:30:03 +00:00
--ifm-background-image-url: url('/img/site/split-background.jpg') !important;
2024-03-03 10:21:26 -08:00
}
2023-11-07 19:40:55 -06:00
.heroBanner {
2024-02-25 00:53:46 -08:00
background-repeat: no-repeat;
background-position-x: center;
background-position-y: center;
background-size: cover;
height: calc(100vh - 60px);
text-align: center;
position: relative;
overflow: hidden;
color: var(--ifm-font-color-base);
2024-03-02 23:32:57 -08:00
background-color: var(--ifm-background-color);
2024-03-03 10:21:26 -08:00
background-image: var(--ifm-background-image-url);
2024-03-02 23:32:57 -08:00
}
.heroContent {
position: absolute;
2024-03-03 11:35:37 -08:00
bottom: 5%;
2024-03-02 23:32:57 -08:00
left: 50%;
2024-03-03 11:35:37 -08:00
transform: translate(-50%, 0%);
2024-03-02 23:32:57 -08:00
width: 100%;
}
.heroImage {
-webkit-filter: drop-shadow(12px 12px 7px rgba(0, 100, 100, 0.5));
filter: drop-shadow(12px 12px 7px rgba(0, 100, 100, 0.5));
}
.heroImageBackgroundBlur {
position: absolute;
top: 0;
left: 0;
top: 40%;
left: 50%;
width: 80vh;
filter: blur(1.5rem);
transform: translate(-50%, -50%);
opacity: 0.5;
z-index: -1;
2023-11-07 19:40:55 -06:00
}
@media screen and (max-width: 996px) {
2024-02-25 00:53:46 -08:00
.heroBanner {
padding: 2rem;
}
2023-11-07 19:40:55 -06:00
}
2024-02-25 00:53:46 -08:00
.textSection {
color: #fff;
2023-11-07 19:40:55 -06:00
}
2024-02-25 00:53:46 -08:00
2024-03-02 10:27:01 -08:00
@media screen and (max-width: 410px) {
.textSection h1 {
font-size: var(--ifm-h1-font-size);
}
}
2024-02-25 00:53:46 -08:00
.buttons {
display: flex;
align-items: center;
justify-content: center;
}