forked from GeyserMC/GeyserWebsite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.module.scss
69 lines (60 loc) · 1.38 KB
/
index.module.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
:root {
--ifm-background-image-url: url('/img/site/split-background-light.webp');
}
[data-theme='dark'] {
--ifm-background-image-url: url('/img/site/split-background.webp') !important;
}
.heroBanner {
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);
background-color: var(--ifm-background-color);
background-image: var(--ifm-background-image-url);
}
.heroContent {
position: absolute;
bottom: 5%;
left: 50%;
transform: translate(-50%, 0%);
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;
}
@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
}
}
.textSection {
color: #fff;
}
@media screen and (max-width: 410px) {
.textSection h1 {
font-size: var(--ifm-h1-font-size);
}
}
.buttons {
display: flex;
align-items: center;
justify-content: center;
}