-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
285 lines (249 loc) · 5.03 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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
@import url('https://fonts.googleapis.com/css2?family=Jersey+20&display=swap');
/* General Reset */
a,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
* {
font-family: "Jersey 20", sans-serif;
font-weight: 400;
font-style: normal;
box-sizing: border-box;
margin: 0;
padding: 0;
border: none;
text-decoration: none;
background: none;
-webkit-font-smoothing: antialiased;
}
/* Ensure links keep the same color for all states */
.menu-link,
.menu-link:visited,
.menu-link:hover,
.menu-link:active {
color: #00ff0d;
text-decoration: none;
}
.link {
color: aqua;
}
menu,
ol,
ul {
list-style-type: none;
margin: 0;
padding: 0;
}
/* Adjusted .frame-1 container styling */
.frame-1 {
display: flex;
flex-wrap: wrap;
justify-content: center; /* Center contents */
padding: 0 20px; /* Adds padding on left and right sides */
margin: 0 auto; /* Center .frame-1 on the page */
width: 100%; /* Ensure full width */
}
/* Container to hold block elements */
.block-container {
display: flex;
flex-wrap: wrap;
gap: 10px; /* Gap between blocks */
justify-content: center; /* Center blocks */
width: 100%; /* Full width */
}
/* Individual block styling */
.block {
background-color: #2c2c2c;
outline: #5e5e5e;
stroke-width: 2px;
border-radius: 15px;
padding: 10px;
color: #00ff0d;
font-size: 26px;
flex: 1 1 calc(33.33% - 20px); /* Each block takes roughly 1/3 width minus gap */
max-width: calc(33.33% - 20px); /* Ensures the blocks don't exceed 1/3 width */
box-sizing: border-box;
text-align: center;
min-height: 150px; /* Minimum height for blocks */
}
/* Global styling */
body {
background-color: #1a1a1c;
margin: 0;
padding: 0;
font-size: 16px;
overflow-x: hidden; /* Prevents horizontal scrolling */
}
/* Header styling */
.header {
padding: 20px 2%; /* Increased padding to make header taller */
display: flex;
align-items: center;
height: auto;
}
.header-content {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
}
.technet {
color: #00ff0d;
font-size: 5vw; /* Adjusted size for balance */
flex-shrink: 0;
white-space: nowrap;
}
/* Full menu container aligned to the right of Technet.gay */
.menu-container {
display: flex;
align-items: center;
gap: 0.5vw; /* Further reduced gap between buttons */
}
.menu-buttons a {
color: #00ff0d;
text-decoration: none;
font-size: 4.5vw;
padding: 0.2em 0.8em; /* Further reduced padding */
white-space: nowrap;
}
.ham {
width: 91.2px;
cursor: pointer;
height: auto;
display: none; /* Hidden by default */
align-self: center;
}
/* Hidden mobile menu */
.menu {
display: none;
background-color: #333;
color: #00ff0d;
position: absolute;
top: 60px;
right: 0;
z-index: 100;
padding: 1em;
border-radius: 8px;
box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
}
.menu a {
display: block;
color: #00ff0d;
padding: 10px 0;
font-size: 8vw;
}
.frame-1 {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
padding: 20px;
align-items: center;
}
.pixil-frame-0-5-1 {
width: 40%;
height: auto;
object-fit: cover;
margin-right: 5%;
}
.text-container {
width: 50%;
position: relative;
}
.page-header {
color: #00ff0d;
font-family: "Jersey 20", sans-serif;
font-size: 82px;
font-weight: 400;
margin-bottom: 20px;
}
.main-text {
color: #00ff0d;
font-family: "Jersey 20", sans-serif;
font-size: 32px;
font-weight: 400;
margin-bottom: 20px;
}
.gay {
color: #00ff0d;
font-family: "Jersey 20", sans-serif;
font-size: 32px;
font-weight: 400;
margin-top: 20px;
}
/* Media Queries for Responsive Design */
/* For screens less than 768px (tablet/mobile) */
@media (max-width: 768px) {
.frame-1 {
flex-direction: column; /* Stack vertically on smaller screens */
align-items: stretch; /* Stretch to fill full width */
padding: 0 10px; /* Reduce side padding on smaller screens */
}
.block-container {
width: 100%; /* Use full width on smaller screens */
}
.block {
flex: 1 1 100%; /* Each block takes full width on smaller screens */
max-width: 100%; /* Remove max-width restriction */
margin-bottom: 10px; /* Space between stacked blocks */
}
.pixil-frame-0-5-1 {
width: 100%;
margin: 0;
}
.text-container {
width: 100%;
}
.technet {
font-size: 10vw;
}
.page-header {
font-size: 10vw;
align-self:center;
}
.main-text {
font-size: 6vw;
}
.menu-container {
display: none;
}
.ham {
display: block;
}
#mobileMenu {
display: block;
padding: 1em;
background-color: #333;
color: #00ff0d;
position: absolute;
top: 60px;
right: 0;
z-index: 100;
border-radius: 8px;
box-shadow: 0px 4px 8px rgba(0,0,0,0.3);
}
.menu a {
display: block;
font-size: 8vw;
padding: 10px 0;
}
}
/* For very small mobile screens */
@media (max-width: 480px) {
.technet {
font-size: 12vw;
}
.page-header {
font-size: 12vw;
}
.main-text {
font-size: 6vw;
}
.menu-buttons a {
font-size: 8vw;
}
}