-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathstyles.module.scss
More file actions
106 lines (90 loc) · 1.61 KB
/
styles.module.scss
File metadata and controls
106 lines (90 loc) · 1.61 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
.homepageHero {
display: flex;
min-height: 60vh;
align-items: center;
padding: 3.125rem 0;
position: relative;
overflow: hidden;
@media only screen and (min-width: 996px) {
padding: 8.25rem 0;
height: auto;
--ifm-heading-margin-bottom: 3rem;
--ifm-spacing-horizontal: 0.4rem;
}
&:before {
content: "";
background: linear-gradient(
90deg,
rgba(3, 10, 64, 1) 0%,
rgba(3, 10, 64, 0.15) 80%
);
position: absolute;
object-fit: cover;
top: 0;
left: 0;
bottom: 0;
right: 0;
z-index: 1;
}
}
.textShadow {
text-shadow: 0px 6px 44px #030a40;
}
.heroBgAnimationMobile {
position: absolute;
right: 0;
top: 0;
z-index: 0;
svg {
object-fit: cover;
display: block;
}
@media only screen and (min-width: 996px) {
display: none;
}
}
.heroBgAnimationDesktop {
position: absolute;
bottom: 0;
right: 0;
top: 0;
z-index: 0;
display: none;
svg {
// position: absolute;
// top: 0;
// right: 0;
// bottom: 0;
// height: 100%;
width: auto !important;
}
@media only screen and (min-width: 996px) {
display: flex;
justify-content: flex-end;
}
}
.homepageHeroContent {
position: relative;
z-index: 1;
h1 {
margin-bottom: 1.5rem;
@media only screen and (min-width: 996px) {
margin-bottom: 3.125rem;
}
}
p {
margin-bottom: 0;
}
}
/*** Japanese Styles **/
.heroHeading {
&.ja {
font-size: 3rem;
font-weight: 600;
line-height: 1;
letter-spacing: -0.03em;
@media only screen and (min-width: 996px) {
font-size: 4.4vw;
}
}
}