khulnasoft commited on
Commit
6593b1a
·
verified ·
1 Parent(s): 06eeefe

Rename style.css to index.css

Browse files
Files changed (2) hide show
  1. index.css +1079 -0
  2. style.css +0 -28
index.css ADDED
@@ -0,0 +1,1079 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Base styles */
2
+ body {
3
+ font-family: 'Inter', sans-serif;
4
+ background-color: #008080; /* Teal background */
5
+ margin: 0;
6
+ padding: 0;
7
+ overflow: hidden; /* Prevent scrollbars */
8
+ color: black;
9
+ }
10
+
11
+ /* Desktop styles */
12
+ .desktop {
13
+ width: 100vw;
14
+ height: 100vh;
15
+ overflow: hidden;
16
+ position: relative; /* For absolute positioning of icons and windows */
17
+ cursor: default; /* Default desktop cursor */
18
+ padding-top: 10px; /* Add some space at the top */
19
+ padding-left: 10px;
20
+ }
21
+
22
+ /* Icon styles */
23
+ .icon {
24
+ display: inline-flex; /* Use inline-flex for better layout control if needed, or keep block */
25
+ flex-direction: column;
26
+ align-items: center;
27
+ margin: 15px; /* Adjust margin */
28
+ cursor: pointer;
29
+ user-select: none; /* Prevent text selection */
30
+ width: 100px; /* Give icons a fixed width for wrapping */
31
+ vertical-align: top; /* Align icons nicely when wrapping */
32
+ text-align: center;
33
+ }
34
+
35
+ .icon img {
36
+ width: 48px; /* Icon size */
37
+ height: 48px;
38
+ margin-bottom: 8px;
39
+ }
40
+
41
+ .icon span {
42
+ color: white;
43
+ font-size: 0.75rem;
44
+ text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add text shadow for better visibility */
45
+ white-space: normal; /* Allow text wrapping */
46
+ word-wrap: break-word; /* Break long words */
47
+ max-width: 100%; /* Allow text to use full icon width */
48
+ text-align: center;
49
+ }
50
+
51
+ /* Window styles */
52
+ .window {
53
+ background-color: #C0C0C0; /* Window background color - Changed to match Win95 better */
54
+ border-top: 2px solid #FFFFFF;
55
+ border-left: 2px solid #FFFFFF;
56
+ border-right: 2px solid #000000;
57
+ border-bottom: 2px solid #000000;
58
+ box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4); /* More subtle shadow */
59
+ position: absolute; /* Absolute positioning within the desktop */
60
+ top: 50px;
61
+ left: 100px;
62
+ width: 320px; /* Default width */
63
+ height: 240px; /* Default height */
64
+ display: none; /* Initially hidden */
65
+ flex-direction: column; /* Use flexbox for layout */
66
+ z-index: 10; /* Ensure windows are above desktop icons */
67
+ box-sizing: border-box; /* Include border in width/height */
68
+ }
69
+
70
+ .window.active {
71
+ display: flex; /* Show the window when active */
72
+ z-index: 20; /* Bring active window to the front */
73
+ }
74
+
75
+ .window.resizable {
76
+ resize: both; /* Enable resizing in both directions */
77
+ overflow: hidden; /* Hide overflow by default, content area will handle scroll */
78
+ min-width: 200px; /* Set minimum width */
79
+ min-height: 150px; /* Set minimum height */
80
+ }
81
+
82
+ .window-titlebar {
83
+ background-color: #000080; /* Title bar color */
84
+ color: white;
85
+ padding: 3px 4px; /* Adjusted padding */
86
+ font-size: 0.8rem;
87
+ font-weight: bold; /* Bold title */
88
+ display: flex;
89
+ justify-content: space-between; /* Space between title and buttons */
90
+ align-items: center; /* Vertically center title and buttons */
91
+ cursor: grab; /* Show a grab cursor */
92
+ height: 22px; /* Consistent height */
93
+ box-sizing: border-box;
94
+ }
95
+ .window-titlebar:active {
96
+ cursor: grabbing; /* Show a grabbing cursor */
97
+ }
98
+
99
+ .window-title {
100
+ margin-right: auto; /* Push title to the left */
101
+ margin-left: 2px;
102
+ white-space: nowrap; /* Prevent text wrapping */
103
+ overflow: hidden; /* Hide overflowing text */
104
+ text-overflow: ellipsis; /* Add ellipsis (...) if title is too long */
105
+ max-width: calc(100% - 60px); /* Adjust max-width based on button size */
106
+ }
107
+
108
+ .window-controls {
109
+ display: flex;
110
+ gap: 3px; /* Space between buttons */
111
+ }
112
+
113
+ .window-control-button {
114
+ width: 16px; /* Button size */
115
+ height: 16px;
116
+ background-color: #C0C0C0; /* Button background */
117
+ border-top: 1px solid #FFFFFF;
118
+ border-left: 1px solid #FFFFFF;
119
+ border-right: 1px solid #000000;
120
+ border-bottom: 1px solid #000000;
121
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5); /* Inner highlight */
122
+ display: flex;
123
+ justify-content: center;
124
+ align-items: center;
125
+ cursor: pointer;
126
+ font-family: "Times New Roman", serif; /* More classic font for symbols */
127
+ font-size: 0.8rem; /* Adjust font size as needed */
128
+ font-weight: bold;
129
+ line-height: 0; /* Important for vertical centering of symbols */
130
+ padding: 0; /* Reset padding */
131
+ color: black;
132
+ }
133
+
134
+ .window-control-button:active {
135
+ border-top: 1px solid #000000;
136
+ border-left: 1px solid #000000;
137
+ border-right: 1px solid #FFFFFF;
138
+ border-bottom: 1px solid #FFFFFF;
139
+ box-shadow: none; /* Remove shadow on press */
140
+ }
141
+
142
+ .window-minimize { /* Uses text symbol */ }
143
+ .window-close { /* Uses text symbol */ }
144
+
145
+
146
+ .window-content {
147
+ padding: 2px; /* Minimal padding inside window */
148
+ font-size: 0.9rem;
149
+ flex-grow: 1; /* Allow content to fill remaining space */
150
+ overflow: auto; /* Add scrollbars ONLY if content overflows */
151
+ background-color: white; /* Standard content background */
152
+ border: 1px inset #808080; /* Inset border for content area */
153
+ margin: 2px; /* Margin around the content area */
154
+ position: relative; /* Needed for absolute positioned elements inside */
155
+ display: flex; /* Make content a flex container for easier layout */
156
+ flex-direction: column; /* Stack children vertically */
157
+ }
158
+
159
+ /* Specific app content styling */
160
+ .window-content textarea {
161
+ width: 100%;
162
+ height: 100%;
163
+ border: none;
164
+ outline: none;
165
+ resize: none;
166
+ font-family: 'Courier New', Courier, monospace;
167
+ font-size: 0.9rem;
168
+ padding: 5px;
169
+ box-sizing: border-box;
170
+ }
171
+ .window-content iframe {
172
+ width: 100%;
173
+ height: 100%;
174
+ border: none;
175
+ display: block;
176
+ }
177
+ #dosbox-container, #doom-container, #wolf3d-container {
178
+ width: 100%;
179
+ height: 100%;
180
+ position: relative;
181
+ }
182
+ .jsdos {
183
+ position: relative;
184
+ width: 100% !important;
185
+ height: 100% !important;
186
+ background-color: black;
187
+ }
188
+
189
+ .jsdos canvas {
190
+ width: 100% !important;
191
+ height: 100% !important;
192
+ object-fit: contain;
193
+ }
194
+
195
+ #doom .window-content iframe, #wolf3d .window-content iframe {
196
+ width: 100%;
197
+ height: 100%;
198
+ border: none;
199
+ display: block;
200
+ background-color: black;
201
+ }
202
+
203
+ /* Gemini Chat Styles */
204
+ .gemini-chat-content { /* This is a .window-content */
205
+ background-color: white;
206
+ box-sizing: border-box;
207
+ padding: 2px;
208
+ }
209
+
210
+ .gemini-chat-history {
211
+ flex-grow: 1;
212
+ overflow-y: auto;
213
+ border: 1px inset #808080;
214
+ padding: 5px;
215
+ margin-bottom: 5px;
216
+ background-color: white;
217
+ font-size: 0.8rem;
218
+ }
219
+
220
+ .gemini-chat-history p {
221
+ margin: 3px 0;
222
+ word-wrap: break-word;
223
+ }
224
+ .gemini-chat-history .user-message {
225
+ font-weight: bold;
226
+ color: blue;
227
+ }
228
+ .gemini-chat-history .gemini-message {
229
+ color: green;
230
+ }
231
+ .gemini-chat-history .error-message {
232
+ color: red;
233
+ font-style: italic;
234
+ }
235
+
236
+
237
+ .gemini-chat-input-area {
238
+ display: flex;
239
+ flex-shrink: 0;
240
+ border-top: 1px solid #808080;
241
+ padding-top: 5px;
242
+ background-color: #C0C0C0; /* Match window chrome */
243
+ padding: 5px; /* Add padding to this area */
244
+ margin: -2px -2px -2px -2px; /* Counteract parent padding to align with window edge */
245
+ }
246
+
247
+ .gemini-chat-input {
248
+ flex-grow: 1;
249
+ border: 1px solid #000000;
250
+ padding: 3px;
251
+ font-size: 0.8rem;
252
+ margin-right: 5px;
253
+ background-color: white;
254
+ box-shadow: inset 1px 1px 1px #808080;
255
+ }
256
+
257
+ .gemini-chat-send {
258
+ background-color: #C0C0C0;
259
+ border-top: 1px solid #FFFFFF;
260
+ border-left: 1px solid #FFFFFF;
261
+ border-right: 1px solid #000000;
262
+ border-bottom: 1px solid #000000;
263
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
264
+ padding: 2px 8px;
265
+ font-size: 0.8rem;
266
+ cursor: pointer;
267
+ }
268
+
269
+ .gemini-chat-send:active {
270
+ border-top: 1px solid #000000;
271
+ border-left: 1px solid #000000;
272
+ border-right: 1px solid #FFFFFF;
273
+ border-bottom: 1px solid #FFFFFF;
274
+ box-shadow: none;
275
+ padding: 3px 7px 1px 9px;
276
+ }
277
+
278
+ /* Start Menu styles */
279
+ .start-menu {
280
+ background-color: #C0C0C0;
281
+ border-top: 2px solid #FFFFFF;
282
+ border-left: 2px solid #FFFFFF;
283
+ border-right: 2px solid #000000;
284
+ border-bottom: 2px solid #000000;
285
+ box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.4);
286
+ position: absolute;
287
+ bottom: 36px;
288
+ left: 0;
289
+ width: 180px;
290
+ display: none;
291
+ flex-direction: column;
292
+ z-index: 50;
293
+ padding: 2px;
294
+ }
295
+
296
+ .start-menu.active {
297
+ display: flex;
298
+ }
299
+
300
+ .start-menu-item {
301
+ padding: 5px 10px 5px 25px;
302
+ font-size: 0.8rem;
303
+ color: black;
304
+ cursor: pointer;
305
+ white-space: nowrap;
306
+ position: relative;
307
+ }
308
+
309
+ .start-menu-item:hover {
310
+ background-color: #000080;
311
+ color: white;
312
+ }
313
+
314
+ /* Taskbar styles */
315
+ #taskbar {
316
+ background-color: #C0C0C0;
317
+ border-top: 2px solid #FFFFFF;
318
+ position: fixed;
319
+ bottom: 0;
320
+ left: 0;
321
+ width: 100%;
322
+ height: 36px;
323
+ display: flex;
324
+ align-items: center;
325
+ padding: 3px;
326
+ z-index: 40;
327
+ box-sizing: border-box;
328
+ }
329
+
330
+ #start-button {
331
+ background-color: #C0C0C0;
332
+ border-top: 2px solid #FFFFFF;
333
+ border-left: 2px solid #FFFFFF;
334
+ border-right: 2px solid #000000;
335
+ border-bottom: 2px solid #000000;
336
+ padding: 2px 8px;
337
+ margin-right: 5px;
338
+ cursor: pointer;
339
+ font-size: 0.8rem;
340
+ font-weight: bold;
341
+ display: flex;
342
+ align-items: center;
343
+ gap: 4px;
344
+ height: 30px;
345
+ box-sizing: border-box;
346
+ }
347
+
348
+ #start-button:active {
349
+ border-top: 2px solid #000000;
350
+ border-left: 2px solid #000000;
351
+ border-right: 2px solid #FFFFFF;
352
+ border-bottom: 2px solid #FFFFFF;
353
+ padding: 3px 7px 1px 9px;
354
+ }
355
+
356
+ #start-button img {
357
+ width: 20px;
358
+ height: 20px;
359
+ }
360
+
361
+ #taskbar-apps {
362
+ display: flex;
363
+ flex-grow: 1;
364
+ height: 100%;
365
+ align-items: center;
366
+ overflow: hidden;
367
+ }
368
+
369
+ .taskbar-app {
370
+ background-color: #C0C0C0;
371
+ border-top: 1px solid #FFFFFF;
372
+ border-left: 1px solid #FFFFFF;
373
+ border-right: 1px solid #000000;
374
+ border-bottom: 1px solid #000000;
375
+ padding: 2px 6px;
376
+ margin: 0 2px;
377
+ cursor: pointer;
378
+ font-size: 0.75rem;
379
+ white-space: nowrap;
380
+ overflow: hidden;
381
+ text-overflow: ellipsis;
382
+ max-width: 150px;
383
+ height: 28px;
384
+ display: flex;
385
+ align-items: center;
386
+ gap: 4px;
387
+ box-sizing: border-box;
388
+ flex-shrink: 0;
389
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
390
+ }
391
+
392
+ .taskbar-app img {
393
+ width: 16px;
394
+ height: 16px;
395
+ }
396
+
397
+ .taskbar-app.active, .taskbar-app:active {
398
+ border-top: 1px solid #000000;
399
+ border-left: 1px solid #000000;
400
+ border-right: 1px solid #FFFFFF;
401
+ border-bottom: 1px solid #FFFFFF;
402
+ background-color: #e0e0e0;
403
+ box-shadow: none;
404
+ padding: 3px 5px 1px 7px;
405
+ }
406
+
407
+ /* Notepad button styling */
408
+ .notepad-menu {
409
+ display: flex;
410
+ padding: 3px;
411
+ background-color: #C0C0C0;
412
+ border-bottom: 1px solid #808080;
413
+ height: 30px;
414
+ flex-shrink: 0; /* Prevent shrinking */
415
+ }
416
+
417
+ .notepad-story-button {
418
+ background-color: #C0C0C0;
419
+ border-top: 1px solid #FFFFFF;
420
+ border-left: 1px solid #FFFFFF;
421
+ border-right: 1px solid #000000;
422
+ border-bottom: 1px solid #000000;
423
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
424
+ padding: 2px 8px;
425
+ font-size: 0.8rem;
426
+ cursor: pointer;
427
+ height: 24px;
428
+ }
429
+
430
+ .notepad-story-button:active {
431
+ border-top: 1px solid #000000;
432
+ border-left: 1px solid #000000;
433
+ border-right: 1px solid #FFFFFF;
434
+ border-bottom: 1px solid #FFFFFF;
435
+ box-shadow: none;
436
+ padding: 3px 7px 1px 9px;
437
+ }
438
+
439
+ .notepad-textarea {
440
+ font-family: 'Courier New', Courier, monospace;
441
+ font-size: 0.9rem;
442
+ padding: 5px;
443
+ box-sizing: border-box;
444
+ background-color: white;
445
+ border: 1px solid #808080;
446
+ flex-grow: 1;
447
+ width: 100%;
448
+ resize: none;
449
+ }
450
+
451
+ /* Browser styles */
452
+ #chrome .window-content {
453
+ padding: 0;
454
+ margin: 0;
455
+ border: none;
456
+ }
457
+ .browser-toolbar {
458
+ background-color: #C0C0C0;
459
+ padding: 5px;
460
+ border-bottom: 1px solid #808080;
461
+ display: flex;
462
+ align-items: center;
463
+ height: 30px;
464
+ flex-shrink: 0;
465
+ }
466
+
467
+ .address-bar-container {
468
+ display: flex;
469
+ flex-grow: 1;
470
+ align-items: center;
471
+ }
472
+
473
+ .browser-address-bar {
474
+ flex-grow: 1;
475
+ height: 22px;
476
+ border: 1px inset #808080;
477
+ background-color: white;
478
+ padding: 2px 5px;
479
+ font-family: 'Times New Roman', Times, serif;
480
+ font-size: 0.8rem;
481
+ }
482
+
483
+ .browser-go-button {
484
+ background-color: #C0C0C0;
485
+ border-top: 1px solid #FFFFFF;
486
+ border-left: 1px solid #FFFFFF;
487
+ border-right: 1px solid #000000;
488
+ border-bottom: 1px solid #000000;
489
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
490
+ padding: 2px 8px;
491
+ font-size: 0.8rem;
492
+ margin-left: 5px;
493
+ height: 22px;
494
+ cursor: pointer;
495
+ }
496
+
497
+ .browser-go-button:active {
498
+ border-top: 1px solid #000000;
499
+ border-left: 1px solid #000000;
500
+ border-right: 1px solid #FFFFFF;
501
+ border-bottom: 1px solid #FFFFFF;
502
+ box-shadow: none;
503
+ padding: 3px 7px 1px 9px;
504
+ }
505
+
506
+ .browser-viewport {
507
+ position: relative;
508
+ flex-grow: 1;
509
+ background-color: white;
510
+ overflow: hidden;
511
+ }
512
+
513
+ .browser-loading {
514
+ position: absolute;
515
+ top: 0;
516
+ left: 0;
517
+ width: 100%;
518
+ height: 100%;
519
+ background-color: #C0C0C0;
520
+ display: flex;
521
+ flex-direction: column;
522
+ justify-content: center;
523
+ align-items: center;
524
+ font-size: 1rem;
525
+ font-family: 'Times New Roman', Times, serif;
526
+ z-index: 5;
527
+ display: none;
528
+ }
529
+
530
+ /* --- Paint Assistant Styles --- */
531
+ #paint-assistant {
532
+ position: fixed;
533
+ bottom: 50px;
534
+ right: 20px;
535
+ width: 100px;
536
+ display: none;
537
+ flex-direction: column;
538
+ align-items: center;
539
+ z-index: -1;
540
+ transition: opacity 0.3s ease-in-out;
541
+ }
542
+
543
+ #paint-assistant.visible {
544
+ display: flex;
545
+ z-index: 1;
546
+ }
547
+
548
+ .assistant-image {
549
+ width: 80px;
550
+ height: auto;
551
+ display: block;
552
+ }
553
+
554
+ .assistant-bubble {
555
+ background-color: #FFFFE1;
556
+ border: 1px solid black;
557
+ padding: 8px 12px;
558
+ border-radius: 5px;
559
+ font-size: 0.75rem;
560
+ font-family: 'Comic Sans MS', cursive, sans-serif;
561
+ color: black;
562
+ margin-bottom: 8px;
563
+ position: relative;
564
+ box-shadow: 2px 2px 3px rgba(0,0,0,0.2);
565
+ max-width: 200px;
566
+ word-wrap: break-word;
567
+ text-align: center;
568
+ }
569
+
570
+ .assistant-bubble::after {
571
+ content: '';
572
+ position: absolute;
573
+ bottom: -8px;
574
+ left: 50%;
575
+ transform: translateX(-50%);
576
+ width: 0;
577
+ height: 0;
578
+ border-left: 8px solid transparent;
579
+ border-right: 8px solid transparent;
580
+ border-top: 8px solid #FFFFE1;
581
+ }
582
+
583
+ .assistant-bubble::before {
584
+ content: '';
585
+ position: absolute;
586
+ bottom: -10px;
587
+ left: 50%;
588
+ transform: translateX(-50%);
589
+ width: 0;
590
+ height: 0;
591
+ border-left: 10px solid transparent;
592
+ border-right: 10px solid transparent;
593
+ border-top: 10px solid black;
594
+ z-index: -1;
595
+ }
596
+
597
+ /* --- Simple Paint App Styles --- */
598
+ #paint .window-content {
599
+ padding: 0;
600
+ margin: 0;
601
+ background-color: #c0c0c0;
602
+ border: none;
603
+ }
604
+
605
+ .paint-toolbar {
606
+ background-color: #C0C0C0;
607
+ padding: 4px;
608
+ display: flex;
609
+ align-items: center;
610
+ gap: 10px;
611
+ border-bottom: 1px solid #808080;
612
+ height: 30px;
613
+ flex-shrink: 0;
614
+ }
615
+
616
+ .paint-colors, .paint-brush-sizes {
617
+ display: flex;
618
+ gap: 3px;
619
+ border: 1px inset #808080;
620
+ padding: 2px;
621
+ }
622
+
623
+ .paint-color-swatch {
624
+ width: 20px;
625
+ height: 20px;
626
+ border: 1px solid black;
627
+ cursor: pointer;
628
+ font-size: 0.7rem;
629
+ font-weight: bold;
630
+ display: flex;
631
+ justify-content: center;
632
+ align-items: center;
633
+ color: black;
634
+ border-top: 1px solid #FFFFFF;
635
+ border-left: 1px solid #FFFFFF;
636
+ border-right: 1px solid #000000;
637
+ border-bottom: 1px solid #000000;
638
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
639
+ }
640
+
641
+ .paint-color-swatch.active {
642
+ border-top: 1px solid #000000;
643
+ border-left: 1px solid #000000;
644
+ border-right: 1px solid #FFFFFF;
645
+ border-bottom: 1px solid #FFFFFF;
646
+ box-shadow: none;
647
+ }
648
+
649
+ .paint-size-button, .paint-clear-button {
650
+ background-color: #C0C0C0;
651
+ border-top: 1px solid #FFFFFF;
652
+ border-left: 1px solid #FFFFFF;
653
+ border-right: 1px solid #000000;
654
+ border-bottom: 1px solid #000000;
655
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
656
+ padding: 2px 6px;
657
+ font-size: 0.8rem;
658
+ cursor: pointer;
659
+ min-width: 25px;
660
+ text-align: center;
661
+ }
662
+
663
+ .paint-size-button.active,
664
+ .paint-size-button:active,
665
+ .paint-clear-button:active {
666
+ border-top: 1px solid #000000;
667
+ border-left: 1px solid #000000;
668
+ border-right: 1px solid #FFFFFF;
669
+ border-bottom: 1px solid #FFFFFF;
670
+ box-shadow: none;
671
+ padding: 3px 5px 1px 7px;
672
+ }
673
+
674
+ #paint-canvas {
675
+ border-top: 1px solid #808080;
676
+ flex-grow: 1;
677
+ background-color: white;
678
+ cursor: crosshair;
679
+ display: block;
680
+ }
681
+
682
+ /* --- Minesweeper Styles --- */
683
+ #minesweeper .window-content {
684
+ padding: 0;
685
+ margin: 0;
686
+ background-color: #c0c0c0;
687
+ border: none;
688
+ }
689
+
690
+ .minesweeper-controls {
691
+ display: flex;
692
+ justify-content: space-between;
693
+ align-items: center;
694
+ padding: 5px;
695
+ background-color: #C0C0C0;
696
+ border-bottom: 2px solid #808080;
697
+ border-right: 2px solid #808080;
698
+ border-top: 2px solid #FFFFFF;
699
+ border-left: 2px solid #FFFFFF;
700
+ margin: 5px;
701
+ flex-shrink: 0;
702
+ }
703
+
704
+ .minesweeper-info {
705
+ background-color: black;
706
+ color: red;
707
+ font-family: 'Courier New', Courier, monospace;
708
+ font-weight: bold;
709
+ font-size: 1.2rem;
710
+ padding: 2px 5px;
711
+ border: 1px inset #808080;
712
+ min-width: 60px;
713
+ text-align: center;
714
+ }
715
+
716
+ .minesweeper-reset-button {
717
+ width: 30px;
718
+ height: 30px;
719
+ font-size: 1.2rem;
720
+ display: flex;
721
+ justify-content: center;
722
+ align-items: center;
723
+ background-color: #C0C0C0;
724
+ border-top: 2px solid #FFFFFF;
725
+ border-left: 2px solid #FFFFFF;
726
+ border-right: 2px solid #000000;
727
+ border-bottom: 2px solid #000000;
728
+ cursor: pointer;
729
+ }
730
+
731
+ .minesweeper-reset-button:active {
732
+ border-top: 2px solid #000000;
733
+ border-left: 2px solid #000000;
734
+ border-right: 2px solid #FFFFFF;
735
+ border-bottom: 2px solid #FFFFFF;
736
+ }
737
+
738
+ .minesweeper-grid-container {
739
+ flex-grow: 1;
740
+ padding: 5px;
741
+ display: flex;
742
+ justify-content: center;
743
+ align-items: center;
744
+ border: 2px inset #808080;
745
+ margin: 0 5px 5px 5px;
746
+ overflow: auto;
747
+ background-color: #C0C0C0;
748
+ }
749
+
750
+ .minesweeper-grid {
751
+ display: grid;
752
+ border: 1px solid #808080;
753
+ }
754
+
755
+ .minesweeper-cell {
756
+ width: 20px;
757
+ height: 20px;
758
+ background-color: #C0C0C0;
759
+ border-top: 2px solid #FFFFFF;
760
+ border-left: 2px solid #FFFFFF;
761
+ border-right: 2px solid #808080;
762
+ border-bottom: 2px solid #808080;
763
+ display: flex;
764
+ justify-content: center;
765
+ align-items: center;
766
+ font-size: 0.9rem;
767
+ font-weight: bold;
768
+ cursor: pointer;
769
+ user-select: none;
770
+ }
771
+
772
+ .minesweeper-cell.revealed {
773
+ background-color: #BDBDBD;
774
+ border: 1px solid #808080;
775
+ cursor: default;
776
+ }
777
+
778
+ .minesweeper-cell.mine { }
779
+ .minesweeper-cell.exploded {
780
+ background-color: red;
781
+ }
782
+
783
+ .minesweeper-cell[data-number="1"] { color: blue; }
784
+ .minesweeper-cell[data-number="2"] { color: green; }
785
+ .minesweeper-cell[data-number="3"] { color: red; }
786
+ .minesweeper-cell[data-number="4"] { color: #000080; }
787
+ .minesweeper-cell[data-number="5"] { color: #800000; }
788
+ .minesweeper-cell[data-number="6"] { color: #008080; }
789
+ .minesweeper-cell[data-number="7"] { color: black; }
790
+ .minesweeper-cell[data-number="8"] { color: gray; }
791
+
792
+ .minesweeper-hint-area {
793
+ display: flex;
794
+ align-items: center;
795
+ justify-content: space-between;
796
+ padding: 0 8px 5px 8px;
797
+ background-color: #C0C0C0;
798
+ flex-shrink: 0;
799
+ }
800
+
801
+ .minesweeper-hint-button {
802
+ background-color: #C0C0C0;
803
+ border-top: 1px solid #FFFFFF;
804
+ border-left: 1px solid #FFFFFF;
805
+ border-right: 1px solid #000000;
806
+ border-bottom: 1px solid #000000;
807
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
808
+ padding: 2px 8px;
809
+ font-size: 0.8rem;
810
+ cursor: pointer;
811
+ height: 24px;
812
+ }
813
+
814
+ .minesweeper-hint-button:active {
815
+ border-top: 1px solid #000000;
816
+ border-left: 1px solid #000000;
817
+ border-right: 1px solid #FFFFFF;
818
+ border-bottom: 1px solid #FFFFFF;
819
+ box-shadow: none;
820
+ padding: 3px 7px 1px 9px;
821
+ }
822
+
823
+ .minesweeper-commentary {
824
+ font-size: 0.75rem;
825
+ font-family: 'Comic Sans MS', cursive, sans-serif;
826
+ color: #000080;
827
+ text-align: right;
828
+ flex-grow: 1;
829
+ margin-left: 10px;
830
+ height: auto;
831
+ min-height: 24px;
832
+ line-height: 1.3;
833
+ word-wrap: break-word;
834
+ }
835
+
836
+ /* --- Icons Inside Windows --- */
837
+ .window-icon {
838
+ display: inline-flex;
839
+ flex-direction: column;
840
+ align-items: center;
841
+ width: 80px;
842
+ padding: 10px;
843
+ margin: 5px;
844
+ text-align: center;
845
+ cursor: pointer;
846
+ user-select: none;
847
+ vertical-align: top;
848
+ }
849
+
850
+ .window-icon:hover {
851
+ background-color: #000080;
852
+ color: white;
853
+ }
854
+
855
+ .window-icon:hover span {
856
+ background-color: #000080;
857
+ color: white;
858
+ }
859
+
860
+ .window-icon img {
861
+ width: 32px;
862
+ height: 32px;
863
+ margin-bottom: 5px;
864
+ }
865
+
866
+ .window-icon span {
867
+ font-size: 0.7rem;
868
+ color: black;
869
+ max-height: 2.4em;
870
+ overflow: hidden;
871
+ line-height: 1.2em;
872
+ }
873
+
874
+ /* --- Image Viewer Styles --- */
875
+ #imageViewer .window-content {
876
+ padding: 0;
877
+ overflow: hidden;
878
+ display: flex;
879
+ justify-content: center;
880
+ align-items: center;
881
+ background-color: #808080;
882
+ border: none;
883
+ margin: 0;
884
+ }
885
+
886
+ #imageViewer img {
887
+ max-width: 100%;
888
+ max-height: 100%;
889
+ object-fit: contain;
890
+ }
891
+
892
+
893
+ /* --- Media Player (GemPlayer) Styles --- */
894
+ #mediaPlayer .window-content {
895
+ padding: 0;
896
+ margin: 0;
897
+ background-color: #c0c0c0;
898
+ border: none;
899
+ display: flex;
900
+ flex-direction: column;
901
+ }
902
+
903
+ .media-player-url-bar {
904
+ display: flex;
905
+ padding: 5px;
906
+ background-color: #C0C0C0;
907
+ border-bottom: 1px solid #808080;
908
+ flex-shrink: 0;
909
+ }
910
+
911
+ .media-player-input {
912
+ flex-grow: 1;
913
+ height: 22px;
914
+ border: 1px inset #808080;
915
+ background-color: white;
916
+ padding: 2px 5px;
917
+ font-family: 'Times New Roman', Times, serif;
918
+ font-size: 0.8rem;
919
+ margin-right: 5px;
920
+ }
921
+
922
+ .media-player-load-button {
923
+ background-color: #C0C0C0;
924
+ border-top: 1px solid #FFFFFF;
925
+ border-left: 1px solid #FFFFFF;
926
+ border-right: 1px solid #000000;
927
+ border-bottom: 1px solid #000000;
928
+ box-shadow: inset 1px 1px 0px rgba(255, 255, 255, 0.5);
929
+ padding: 2px 8px;
930
+ font-size: 0.8rem;
931
+ height: 22px;
932
+ cursor: pointer;
933
+ }
934
+
935
+ .media-player-load-button:active {
936
+ border-top: 1px solid #000000;
937
+ border-left: 1px solid #000000;
938
+ border-right: 1px solid #FFFFFF;
939
+ border-bottom: 1px solid #FFFFFF;
940
+ box-shadow: none;
941
+ padding: 3px 7px 1px 9px;
942
+ }
943
+
944
+ .media-player-video-container {
945
+ flex-grow: 1;
946
+ background-color: black;
947
+ display: flex;
948
+ justify-content: center;
949
+ align-items: center;
950
+ overflow: hidden;
951
+ margin: 2px;
952
+ border: 2px inset #808080;
953
+ }
954
+
955
+ .media-player-status-message {
956
+ padding:20px;
957
+ text-align:center;
958
+ color:#ccc; /* Light gray for dark background */
959
+ font-size: 0.9rem;
960
+ }
961
+
962
+
963
+ #youtube-player-mediaPlayer {
964
+ width: 100%;
965
+ height: 100%;
966
+ }
967
+
968
+ #youtube-player-mediaPlayer iframe {
969
+ display: block;
970
+ width: 100%;
971
+ height: 100%;
972
+ border: none;
973
+ }
974
+
975
+ .media-player-controls-panel {
976
+ display: flex;
977
+ justify-content: space-between; /* Space out button group, progress, volume */
978
+ align-items: center;
979
+ padding: 4px 8px;
980
+ background-color: #C0C0C0;
981
+ border-top: 1px solid #FFFFFF; /* Raised effect for panel */
982
+ flex-shrink: 0;
983
+ height: 40px; /* Give controls panel a bit more height */
984
+ }
985
+
986
+ .media-player-buttons-group {
987
+ display: flex;
988
+ align-items: center;
989
+ }
990
+
991
+ .media-player-control-button {
992
+ background-color: #C0C0C0;
993
+ border-top: 2px solid #FFFFFF;
994
+ border-left: 2px solid #FFFFFF;
995
+ border-right: 2px solid #000000;
996
+ border-bottom: 2px solid #000000;
997
+ font-family: "Segoe UI Symbol", "Symbola", system-ui; /* Better font for symbols if available */
998
+ font-size: 0.9rem; /* Adjusted size for symbols */
999
+ color: black;
1000
+ width: 30px;
1001
+ height: 26px;
1002
+ margin: 0 2px; /* Tighter spacing */
1003
+ cursor: pointer;
1004
+ display: flex;
1005
+ justify-content: center;
1006
+ align-items: center;
1007
+ padding: 0;
1008
+ line-height: 1; /* Ensure symbols are centered */
1009
+ }
1010
+
1011
+ .media-player-control-button:active {
1012
+ border-top: 2px solid #000000;
1013
+ border-left: 2px solid #000000;
1014
+ border-right: 2px solid #FFFFFF;
1015
+ border-bottom: 2px solid #FFFFFF;
1016
+ padding: 1px 0 0 1px; /* Slight shift for pressed effect */
1017
+ }
1018
+
1019
+ .media-player-control-button:disabled {
1020
+ color: #808080; /* Gray out disabled button text/symbols */
1021
+ cursor: default;
1022
+ opacity: 0.7;
1023
+ }
1024
+
1025
+ .media-player-progress-bar-container-placeholder {
1026
+ flex-grow: 1;
1027
+ height: 12px;
1028
+ border: 1px inset #808080;
1029
+ background-color: #A0A0A0; /* Darker gray for track */
1030
+ margin: 0 10px;
1031
+ padding: 1px;
1032
+ }
1033
+ .media-player-progress-bar-placeholder {
1034
+ width: 30%; /* Just a visual placeholder */
1035
+ height: 100%;
1036
+ background-color: #000080; /* WMP progress color */
1037
+ border-right: 1px solid #0000CL;
1038
+ }
1039
+
1040
+ .media-player-volume-placeholder {
1041
+ display: flex;
1042
+ align-items: center;
1043
+ font-size: 0.9rem;
1044
+ }
1045
+ .media-player-volume-placeholder span { /* Speaker icon */
1046
+ margin-right: 4px;
1047
+ }
1048
+ .media-player-volume-slider-placeholder {
1049
+ width: 60px;
1050
+ height: 8px;
1051
+ background-color: #A0A0A0;
1052
+ border: 1px inset #808080;
1053
+ }
1054
+
1055
+
1056
+ #myComputer .window-content,
1057
+ #notepad .window-content,
1058
+ #doom .window-content,
1059
+ #gemini .window-content,
1060
+ #imageViewer .window-content {
1061
+ flex-direction: column;
1062
+ }
1063
+
1064
+ #doom-content {
1065
+ display: flex;
1066
+ flex-grow: 1;
1067
+ background-color: black;
1068
+ }
1069
+
1070
+ #paint .window-content,
1071
+ #minesweeper .window-content,
1072
+ #mediaPlayer .window-content,
1073
+ #chrome .window-content,
1074
+ #doom-content,
1075
+ #imageViewer .window-content {
1076
+ padding: 0;
1077
+ margin: 0;
1078
+ border: none;
1079
+ }
style.css DELETED
@@ -1,28 +0,0 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
- }
5
-
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
- }
10
-
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
- }
17
-
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
- }
25
-
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }