-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
391 lines (339 loc) · 8.28 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
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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
/* Apply a dark background with green monochrome text */
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden; /* Hide the overflow to avoid double scrollbars */
}
body {
display: flex;
flex-direction: column;
font-family: 'Share Tech Mono', monospace;
background: #000;
color: #00ff00;
}
.crt {
flex: 1;
display: flex;
flex-direction: column;
overflow: hidden;
perspective: 1000px;
border-radius: 15px;
position: relative; /* Ensure pseudo-elements are relative to this */
background: #000; /* Add background to CRT to avoid transparency issues */
}
/* Simulate scan lines */
.crt:before {
padding-top: 30px;
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
to bottom,
rgba(0, 0, 0, 0.1),
rgba(0, 0, 0, 0) 1px,
rgba(0, 0, 0, 0.6) 3px
);
pointer-events: none;
z-index: 3; /* Ensure scan lines are on top */
}
/* Add a gradient effect to create see-through edges */
.crt:after {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(
circle at center,
rgba(0, 255, 0, 0.05) 0%,
rgba(0, 255, 0, 0.04) 60%,
rgba(0, 255, 0, 0) 100%
);
pointer-events: none;
z-index: 10001; /* Ensure gradient is on top */
}
#main-content{
padding-right: 30px;
z-index: 100;
}
header, main, .start-button, a {
background: transparent;
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
font-family: inherit; /* Ensure the same font is used */
}
/* Adjust flicker effect */
@keyframes flicker {
0%, 19%, 21%, 23%, 55%, 57%, 100% {
text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}
20%, 22%, 56% {
text-shadow: none;
}
}
h1, h2, a, h3, p, .content, .cmd-prompt, .project .description, .job .company, .job .job-description, .school .institution, .school .description, .skills ul li, .contact-info, .scroll-wrapper, .start-bar, .start-button{
animation: flicker 1.5s infinite alternate;
}
.container {
flex: 1;
width: 90%;
max-width: 900px;
margin: 0 auto; /* Center horizontally */
position: relative;
z-index: 1; /* Ensure content is below scan lines and curvature */
background: transparent; /* Change to transparent */
}
.scroll-wrapper {
height: calc(100vh - 80px); /* Adjust height to account for start bar */
overflow-y: auto; /* Allow scrolling within the container */
position: relative;
margin-top: 30px;
margin-bottom: 80px;
padding-top: 20px; /* Add padding to create space at top */
padding-bottom: 40px; /* Add padding to create space at bottom */
box-sizing: border-box; /* Include padding in height calculations */
z-index: -1;
background-color: rgba(0, 0, 0, 0);
}
header {
text-align: center;
margin-bottom: 20px;
}
header h1 {
margin: 0;
font-size: 36px;
}
.contact-info {
margin-top: 10px;
font-size: 14px;
}
main {
display: grid;
grid-template-columns: 1fr;
gap: 10px; /* Reduce gap between sections */
}
section {
border: 1px solid #00ff00;
border-radius: 5px;
background: #111;
transition: all 0.3s ease;
overflow: hidden;
}
.window-header {
display: flex;
justify-content: space-between;
align-items: center;
background: #222;
padding: 5px 10px;
border-bottom: 1px solid #00ff00;
}
.window-controls {
display: flex;
gap: 5px;
}
.window-controls .button {
display: inline-block;
width: 12px;
height: 12px;
border-radius: 50%;
cursor: pointer;
}
.window-controls .minimize {
background: #ffff00;
}
.window-controls .maximize {
background: #00ff00;
}
.window-controls .close {
background: #ff0000;
}
section h2 {
margin: 0;
font-size: 18px;
color: #00ff00;
}
section .content {
padding: 20px;
}
.hidden-content {
display: none;
}
.minimized {
height: 34px; /* Adjust this to match the height of the header */
}
.maximized {
grid-column: 1 / -1;
height: auto;
width: 100%;
}
.skills-projects {
display: grid;
grid-template-columns: 1fr 1fr; /* Ensure side-by-side layout */
gap: 20px;
}
.skills ul {
list-style: none;
padding: 0;
}
.skills ul li {
background: rgba(0, 255, 0, 0.1);
margin: 5px 0;
padding: 10px;
border-radius: 5px;
}
a {
color: #00ff00;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#start-bar {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
background: transparent; /* Change to transparent */
border-top: 1px solid #00ff00;
display: flex;
justify-content: space-around;
padding: 0;
gap: 5px;
z-index: 1; /* Ensure it is below the crt elements */
font-family: inherit; /* Ensure the same font is used */
height: 40px; /* Ensure correct height */
}
.start-button {
background: #111;
border: 1px solid #00ff00;
color: #00ff00;
cursor: pointer;
flex: 1;
height: 40px;
position: relative;
width: 100px;
display: flex;
align-items: center;
justify-content: center;
font-family: inherit; /* Ensure buttons use the same font */
}
.start-button:hover {
background: #333;
}
.start-button.active::after {
content: '';
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 5px;
background: #00ff00;
}
#overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.7); /* Semi-transparent black */
display: none; /* Initially hidden */
z-index: 999; /* Ensure it is above other elements */
}
#popup {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: #111;
border: 1px solid #ff0000;
padding: 20px;
border-radius: 5px;
color: #ff0000;
display: none;
z-index: 1000; /* Ensure it is above the overlay */
text-align: center;
text-shadow: 0 0 5px rgba(255, 0, 0, 0.5); /* Red glow */
}
/* Add scan lines to popup */
#popup:before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: repeating-linear-gradient(
to bottom,
rgba(0, 0, 0, 0.1),
rgba(0, 0, 0, 0) 1px,
rgba(0, 0, 0, 0.6) 3px
);
pointer-events: none;
z-index: -1; /* Ensure scan lines are within the popup but behind the content */
}
#popup.visible {
display: block; /* Make the popup visible */
}
#popup-ok {
background: #292929;
border: none;
padding: 5px 10px;
color: #ff0000; /* Match the text color */
cursor: pointer;
display: block;
margin: 10px auto 0;
text-shadow: 0 0 5px rgba(255, 0, 0, 0.5); /* Red glow */
}
.typing {
overflow: hidden;
border-right: 4px solid; /* Thicker border for the caret */
animation: typing 1.2s steps(20, end), blink-caret .75s step-end infinite;
}
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
@keyframes blink-caret {
from, to { border-color: transparent; }
50% { border-color: #00ff00; }
}
.cmd-prompt {
padding: 10px 10px 0px 10px;
font-family: 'Share Tech Mono', monospace;
color: #00ff00;
}
.dividing-line {
border-bottom: 1px solid #00ff00;
margin: 10px 0; /* Add margin to space out the entries */
}
/* Custom scrollbar styles for WebKit-based browsers */
::-webkit-scrollbar {
width: 12px; /* Width of the scrollbar */
height: 12px; /* Height of the scrollbar for horizontal scrollbars */
}
::-webkit-scrollbar-track {
background: #111; /* Background of the scrollbar track */
border-radius: 10px; /* Rounding the edges of the track */
}
::-webkit-scrollbar-thumb {
background: #303030; /* Background for the thumb */
border-radius: 10px; /* Rounding the edges of the thumb */
}
::-webkit-scrollbar-thumb:hover {
background: #00cc00; /* Change border color of the thumb when hovered */
}
::-webkit-scrollbar-corner {
background: #111; /* Background of the corner between vertical and horizontal scrollbars */
}
/* Firefox scrollbar styles */
* {
scrollbar-color: #00ff00 #111; /* Green thumb, dark track */
}
/* For Internet Explorer and Edge */
body {
-ms-overflow-style: -ms-autohiding-scrollbar;
}