-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
201 lines (171 loc) · 4.1 KB
/
style.css
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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
body {
color: #ffffff;
background-color: #000913;
}
.sec1 {
margin-bottom: 80px;
}
.background-image {
position: relative;
}
.background-image img {
display: block;
width: 100%;
}
.background-image .caption {
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
width: 100%;
height: 40%;
margin: auto;
padding: calc((100% - 1280px) / 2);
background-image: linear-gradient(to top, #000913, transparent);
text-align: center;
}
.background-image .caption h5 {
font-size: 24px;
font-style: italic;
font-weight: 900;
font-family: serif;
}
.background-image .caption h1 {
margin-bottom: 20px;
font-size: 100px;
font-style: italic;
font-family: serif;
}
.background-image .caption p {
padding: 0 40px;
}
.background-image .caption a {
color: #d0a85c;
font-size: 12px;
text-decoration: none;
}
.sec2 {
padding: 80px 0;
}
.sec2 h2 {
max-width: calc(1024px / 2);
margin: auto;
padding: 20px;
font-size: 56px;
font-style: italic;
font-family: serif;
}
.sec2 .abilities-wrapper,
.sec2 .ability-list {
display: flex;
justify-content: center;
align-items: center;
}
.sec2 .abilities-wrapper > * {
min-width: 50%;
}
.sec2 .ability-list {
justify-content: flex-start;
padding: 0 calc((100% - (1024px / 2)) / 2);
border-bottom: 1px solid #394048;
}
.sec2 .ability-list .ability-item {
padding: 20px;
position: relative;
cursor: pointer;
}
.sec2 .ability-list .ability-item::before,
.sec2 .ability-list .ability-item::after {
content: "";
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%, 5px);
width: 10px;
height: 10px;
border-radius: 50%;
background-color: #394048;
transition: .25s;
}
.sec2 .ability-list .ability-item::after {
width: 2px;
height: 40px;
z-index: -1;
}
.sec2 .ability-list .ability-item.active::before,
.sec2 .ability-list .ability-item:hover::before,
.sec2 .ability-list .ability-item.active::after,
.sec2 .ability-list .ability-item:hover::after {
background-color: #d0a85c;
}
.sec2 .ability-list .ability-item img {
padding: 5px;
border: 2px solid transparent;
transition: .25s;
}
.sec2 .ability-list .ability-item.active img,
.sec2 .ability-list .ability-item:hover img {
transform: translateY(-10px);
border: 2px solid #d0a85c;
}
.ability-info {
max-width: calc(1024px / 2);
padding: 20px;
margin: auto;
transition: .25s;
}
.ability-info .ability-info-type {
color: #e7e7e7;
font-size: 10px;
font-family: serif;
}
.ability-info .ability-info-name {
margin: 5px 0;
font-size: 18px;
font-family: serif;
}
.abilities-wrapper video {
aspect-ratio: 16/9;
width: calc(1024px / 2);
max-width: calc(1024px / 2);
height: 100%;
margin: auto;
padding-right: 80px;
object-fit: cover;
opacity: 1;
transition: opacity .25s ease-in-out;
}
/* Style the links inside the sidenav */
#mySidenav a {
position: absolute; /* Position them relative to the browser window */
left: -80px; /* Position them outside of the screen */
transition: 0.3s; /* Add transition on hover */
padding: 15px; /* 15px padding */
width: 100px; /* Set a specific width */
text-decoration: none; /* Remove underline */
font-size: 20px; /* Increase font size */
color: white; /* White text color */
border-radius: 0 5px 5px 0; /* Rounded corners on the top right and bottom right side */
}
#mySidenav a:hover {
left: 0; /* On mouse-over, make the elements appear as they should */
}
/* The about link: 20px from the top with a green background */
#U.GG {
top: 20px;
background-color: #f0f0f0;
}
.sec3 h3 {
max-width: calc(1024px / 2);
margin: auto;
padding: 20px;
font-size: 56px;
font-style: italic;
font-family: serif;
}