-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
195 lines (170 loc) · 3.09 KB
/
styles.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
@font-face {
font-family: "yourfont";
src: url("/fonts/Arial Black") format("truetype");
}
.steam-link {
z-index: 2;
}
p {
font-family: "yourfont", sans-serif;
font-size: 1rem;
color: white;
text-align: center;
margin-top: 20px;
z-index: 2;
}
a {
color: white;
text-decoration: none;
z-index: 2;
}
a:hover p {
color: grey;
z-index: 2;
}
a:hover .hand-drawn-border-bottom {
border-color: grey;
z-index: 2;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
height: 100%;
margin: 0;
background: #181816;
background-image: url(/images/bg.jpg);
background-size: cover; /* Ensure the background covers the entire viewport */
background-position: center; /* Center the background image */
background-repeat: no-repeat; /* Prevent the image from repeating */
background-attachment: fixed; /* Make sure the background stays fixed on scroll */
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.8);
pointer-events: none;
z-index: 1;
}
.container {
display: flex;
flex-direction: column;
min-height: calc(var(--vh, 1vh) * 100);
z-index: 2 !important;
}
.logo {
position: relative;
top: 0;
left: 0;
padding: 20px;
z-index: 2;
}
header a img {
position: relative;
z-index: 2;
width: 150px;
}
header {
position: relative;
height: 80px;
}
header a {
height: 100%;
}
@media (max-width: 768px) {
header {
display: flex;
justify-content: center;
align-items: center;
gap: 20px;
}
}
main {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
main > .content {
margin: auto;
text-align: center;
}
.videoplayer {
width: 80%; /* Adjust width as needed */
max-width: 768px; /* Limit maximum width */
margin: 20px auto; /* Center and add space around the video player */
background-image: url(/images/frame.png);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
padding: 8px 12px;
z-index: 2;
}
.iframe-container {
position: relative;
width: 100%;
padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
}
.iframe-container iframe {
z-index: 2;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 0;
}
footer {
display: flex;
z-index: 2;
padding: 20px;
text-align: center;
color: white;
justify-content: space-between;
}
.hand-drawn-border-bottom {
border-radius: 255px 15px 225px 15px/15px 225px 15px 255px;
border: solid 2px rgb(255, 255, 255);
border-top: none;
border-left: none;
border-right: none;
}
h2 {
font-family: "yourfont", sans-serif;
font-size: 1.5rem;
color: white;
}
.social-links {
display: flex;
gap: 40px;
margin-right: 40px;
}
.social-links a svg {
color: white;
width: 18px;
height: 18px;
}
.social-links a:hover {
color: grey;
}
@media (max-width: 768px) {
footer {
flex-direction: column;
justify-content: center;
align-items: center;
gap: 40px;
}
footer .copywright {
order: 1;
}
.social-links {
margin-right: 0px;
}
}