edsaga commited on
Commit
6ab8a6b
·
verified ·
1 Parent(s): 182a59b

Wow... incredibly uninspiring that you just straight up destroyed all of the styling completely. Restore everything you removed from the way you found the fucking page!

Browse files
Files changed (2) hide show
  1. index.html +151 -1
  2. style.css +415 -19
index.html CHANGED
@@ -1,3 +1,4 @@
 
1
  <!DOCTYPE html>
2
  <html lang="en">
3
  <head>
@@ -294,7 +295,156 @@
294
  A select menu can be used to create a drop-down list, typically used in forms.
295
  </blockquote>
296
 
297
- <p class="my-2">Select menus can be rendered using the <code class="code">select</code> and <code class="code">option</code> elements.</p{"ok":false,"message":"terminated"}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
299
  </body>
300
  </html>
 
1
+
2
  <!DOCTYPE html>
3
  <html lang="en">
4
  <head>
 
295
  A select menu can be used to create a drop-down list, typically used in forms.
296
  </blockquote>
297
 
298
+ <p class="my-2">Select menus can be rendered using the <code class="code">select</code> and <code class="code">option</code> elements.</p>
299
+
300
+ <div class="example">
301
+ <select name="select-menu" id="select-menu-example">
302
+ <option value="Option 1">Option 1</option>
303
+ <option value="Option 2">Option 2</option>
304
+ <option value="Option 3">Option 3</option>
305
+ </select>
306
+ </div>
307
+ </div>
308
+ </section>
309
+
310
+ <section class="component">
311
+ <h3 class="subheading" id="text-box">Text Box</h3>
312
+ <div class="pl-5">
313
+ <blockquote class="my-3">
314
+ A text box is a basic control that allows users to enter text.
315
+ </blockquote>
316
+
317
+ <p class="my-2">Text boxes can be rendered using the <code class="code">input</code> element with a <code class="code">text</code> type.</p>
318
+
319
+ <div class="example">
320
+ <input type="text" placeholder="Enter text...">
321
+ </div>
322
+ </div>
323
+ </section>
324
+
325
+ <h2 class="subheading">Windows</h2>
326
+
327
+ <section class="component">
328
+ <h3 class="subheading" id="title-bar">Title Bar</h3>
329
+ <div class="pl-5">
330
+ <blockquote class="my-3">
331
+ The title bar displays the name of the document or application.
332
+ <footer class="text-sm text-slate-600">— Apple HI Guidelines, p. 137</footer>
333
+ </blockquote>
334
+
335
+ <p class="my-2">Title bars can be created using the <code class="code">.title-bar</code> class along with <code class="code">.title</code>, <code class="code">.close</code>, and <code class="code">.resize</code> elements.</p>
336
+
337
+ <div class="example">
338
+ <div class="window">
339
+ <div class="title-bar">
340
+ <button aria-label="Close" class="close"></button>
341
+ <h1 class="title">Untitled</h1>
342
+ <button aria-label="Resize" class="resize"></button>
343
+ </div>
344
+ <div class="separator"></div>
345
+ <div class="window-pane">
346
+ <p>Window contents go here.</p>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ </div>
351
+ </section>
352
+
353
+ <section class="component">
354
+ <h3 class="subheading" id="window-contents">Window Contents</h3>
355
+ <div class="pl-5">
356
+ <blockquote class="my-3">
357
+ The window's content area is where users interact with the document or application.
358
+ <footer class="text-sm text-slate-600">— Apple HI Guidelines, p. 138</footer>
359
+ </blockquote>
360
+
361
+ <p class="my-2">Window contents can be created using the <code class="code">.window-pane</code> class.</p>
362
+
363
+ <div class="example">
364
+ <div class="window">
365
+ <div class="title-bar">
366
+ <button aria-label="Close" class="close"></button>
367
+ <h1 class="title">Window</h1>
368
+ <button aria-label="Resize" class="resize"></button>
369
+ </div>
370
+ <div class="separator"></div>
371
+ <div class="window-pane">
372
+ <p>This is the content area of the window.</p>
373
+ <div class="field-row">
374
+ <label for="textbox1">Label:</label>
375
+ <input id="textbox1" type="text">
376
+ </div>
377
+ </div>
378
+ </div>
379
+ </div>
380
+ </div>
381
+ </section>
382
+
383
+ <section class="component">
384
+ <h3 class="subheading" id="dialogs">Dialogs</h3>
385
+ <div class="pl-5">
386
+ <blockquote class="my-3">
387
+ A dialog box is a type of window that requests information or provides information to the user.
388
+ <footer class="text-sm text-slate-600">— Apple HI Guidelines, p. 151</footer>
389
+ </blockquote>
390
+
391
+ <p class="my-2">Dialogs can be created using the <code class="code">.standard-dialog</code> class.</p>
392
+
393
+ <div class="example">
394
+ <div class="standard-dialog">
395
+ <p class="heading">Dialog Title</p>
396
+ <p class="desc">This is a dialog box with some content.</p>
397
+ <div class="window-pane">
398
+ <p>Dialog content goes here.</p>
399
+ <div class="field-row">
400
+ <button class="btn">OK</button>
401
+ <button class="btn">Cancel</button>
402
+ </div>
403
+ </div>
404
+ </div>
405
+ </div>
406
+
407
+ <p class="my-2">Alert dialogs can be created using the <code class="code">.alert-dialog</code> class.</p>
408
+
409
+ <div class="example">
410
+ <div class="alert-dialog">
411
+ <p class="heading">Alert</p>
412
+ <p class="desc">An alert dialog box displays an alert message.</p>
413
+ <div class="window-pane">
414
+ <p>Are you sure you want to continue?</p>
415
+ <div class="field-row">
416
+ <button class="btn">OK</button>
417
+ <button class="btn">Cancel</button>
418
+ </div>
419
+ </div>
420
+ </div>
421
+ </div>
422
+ </div>
423
+ </section>
424
+
425
+ <h2 class="subheading" id="contributing">Contributing, Credits, etc.</h2>
426
+ <div class="pl-5">
427
+ <p>
428
+ This design system is based on Apple's Human Interface Guidelines from the classic Mac OS era.
429
+ The styling is inspired by System 6 and early System 7 interfaces.
430
+ </p>
431
+ <p>
432
+ Built with <a href="https://tailwindcss.com/" target="_blank" rel="noopener">Tailwind CSS</a>.
433
+ No JavaScript frameworks were harmed in the making of this design system.
434
+ </p>
435
+ <p>
436
+ If you find any issues or have suggestions for improvements, please feel free to contribute.
437
+ </p>
438
+ </div>
439
+ </div>
440
+ </main>
441
+ </div>
442
+ </div>
443
+
444
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
445
+ </body>
446
+ </html>
447
+ {"ok":false,"message":"terminated"}
448
  <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
449
  </body>
450
  </html>
style.css CHANGED
@@ -1,28 +1,424 @@
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
  }
 
1
+
2
+ /* Retro Apple System 6 inspired styles */
3
+
4
+ html {
5
+ scroll-behavior: smooth;
6
+ }
7
+
8
+ code {
9
+ font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
10
+ background: #f0f0f0;
11
+ padding: 2px 4px;
12
+ border-radius: 3px;
13
+ font-size: 0.9em;
14
+ }
15
+
16
+ .code {
17
+ font-family: 'Monaco', 'Consolas', 'Courier New', monospace;
18
+ background: #f0f0f0;
19
+ padding: 2px 4px;
20
+ border-radius: 3px;
21
+ }
22
+
23
+ /* Window styling */
24
+ .window {
25
+ background: #c0c0c0;
26
+ border: 2px outset #c0c0c0;
27
+ padding: 0;
28
+ margin: 0;
29
+ }
30
+
31
+ .title-bar {
32
+ background: linear-gradient(to right, #0080ff, #0050b3);
33
+ height: 20px;
34
+ display: flex;
35
+ align-items: center;
36
+ justify-content: space-between;
37
+ padding: 0 3px;
38
+ position: relative;
39
+ }
40
+
41
+ .title {
42
+ color: white;
43
+ font-weight: bold;
44
+ font-size: 9pt;
45
+ margin: 0 auto;
46
+ text-align: center;
47
+ flex-grow: 1;
48
+ }
49
+
50
+ .close, .resize {
51
+ width: 16px;
52
+ height: 14px;
53
+ border: 1px outset #c0c0c0;
54
+ background: #c0c0c0;
55
+ cursor: pointer;
56
+ flex-shrink: 0;
57
+ }
58
+
59
+ .close {
60
+ background: #ff4444;
61
+ border: 1px outset #ff4444;
62
+ }
63
+
64
+ .resize {
65
+ background: #c0c0c0;
66
+ position: relative;
67
+ }
68
+
69
+ .resize::after {
70
+ content: '';
71
+ position: absolute;
72
+ bottom: 1px;
73
+ right: 1px;
74
+ width: 6px;
75
+ height: 6px;
76
+ border-right: 1px solid #808080;
77
+ border-bottom: 1px solid #808080;
78
+ }
79
+
80
+ .separator {
81
+ height: 2px;
82
+ background: #808080;
83
+ border-bottom: 1px solid #ffffff;
84
+ }
85
+
86
+ .window-pane {
87
+ padding: 8px;
88
+ background: #c0c0c0;
89
+ }
90
+
91
+ /* Dialog styling */
92
+ .standard-dialog, .alert-dialog {
93
+ background: #c0c0c0;
94
+ border: 2px outset #c0c0c0;
95
+ padding: 0;
96
+ margin: 0;
97
+ width: 100%;
98
+ }
99
+
100
+ .alert-dialog {
101
+ max-width: 400px;
102
+ }
103
+
104
+ .alert-dialog .heading {
105
+ font-weight: bold;
106
+ font-size: 11pt;
107
+ margin: 0;
108
+ }
109
+
110
+ .alert-dialog .desc {
111
+ font-size: 9pt;
112
+ margin: 4px 0;
113
+ }
114
+
115
+ .heading {
116
+ font-weight: bold;
117
+ font-size: 11pt;
118
+ margin: 0;
119
+ padding: 8px;
120
+ text-align: center;
121
+ }
122
+
123
+ .desc {
124
+ font-size: 9pt;
125
+ margin: 4px 8px;
126
+ text-align: center;
127
+ }
128
+
129
+ /* Button styling */
130
+ .btn {
131
+ background: #c0c0c0;
132
+ border: 2px outset #c0c0c0;
133
+ padding: 2px 8px;
134
+ font-size: 9pt;
135
+ cursor: pointer;
136
+ height: 20px;
137
+ min-width: 59px;
138
+ display: inline-block;
139
+ text-align: center;
140
+ line-height: 14px;
141
+ }
142
+
143
+ .btn:active, .btn.active {
144
+ border: 2px inset #c0c0c0;
145
+ padding: 3px 7px 1px 9px;
146
+ background: #c0c0c0;
147
+ }
148
+
149
+ .btn:disabled {
150
+ color: #808080;
151
+ cursor: not-allowed;
152
+ border: 2px outset #c0c0c0;
153
+ padding: 2px 8px;
154
+ }
155
+
156
+ .btn-default {
157
+ border: 2px outset #c0c0c0;
158
+ font-weight: bold;
159
+ }
160
+
161
+ /* Input styling */
162
+ input[type="text"], input[type="password"], input[type="email"], input[type="search"] {
163
+ background: white;
164
+ border: 2px inset #c0c0c0;
165
+ padding: 2px 3px;
166
+ font-size: 9pt;
167
+ height: 16px;
168
+ border-radius: 0;
169
+ }
170
+
171
+ input[type="radio"] {
172
+ width: 10px;
173
+ height: 10px;
174
+ border: 1px outset #c0c0c0;
175
+ background: #c0c0c0;
176
+ cursor: pointer;
177
+ position: relative;
178
+ appearance: none;
179
+ }
180
+
181
+ input[type="radio"]:checked::after {
182
+ content: '';
183
+ position: absolute;
184
+ top: 50%;
185
+ left: 50%;
186
+ transform: translate(-50%, -50%);
187
+ width: 4px;
188
+ height: 4px;
189
+ background: #000000;
190
+ border-radius: 50%;
191
+ }
192
+
193
+ input[type="checkbox"] {
194
+ width: 10px;
195
+ height: 10px;
196
+ border: 1px outset #c0c0c0;
197
+ background: #c0c0c0;
198
+ cursor: pointer;
199
+ position: relative;
200
+ appearance: none;
201
+ }
202
+
203
+ input[type="checkbox"]:checked::after {
204
+ content: '✓';
205
+ position: absolute;
206
+ top: 50%;
207
+ left: 50%;
208
+ transform: translate(-50%, -50%);
209
+ font-size: 8px;
210
+ font-weight: bold;
211
+ }
212
+
213
+ select {
214
+ background: white;
215
+ border: 2px inset #c0c0c0;
216
+ padding: 1px 3px;
217
+ font-size: 9pt;
218
+ height: 20px;
219
+ border-radius: 0;
220
+ cursor: pointer;
221
+ }
222
+
223
+ select:focus {
224
+ outline: none;
225
+ border: 2px inset #c0c0c0;
226
+ }
227
+
228
+ /* Menu styling */
229
+ .menu-bar {
230
+ background: #c0c0c0;
231
+ padding: 0;
232
+ margin: 0;
233
+ list-style: none;
234
+ display: flex;
235
+ border: 1px outset #c0c0c0;
236
+ position: relative;
237
+ }
238
+
239
+ .menu-bar > li {
240
+ position: relative;
241
+ padding: 3px 12px;
242
+ font-size: 9pt;
243
+ cursor: pointer;
244
+ user-select: none;
245
+ }
246
+
247
+ .menu-bar > li[aria-haspopup="false"] {
248
+ cursor: default;
249
+ }
250
+
251
+ .menu-bar > li[aria-haspopup="false"]:hover {
252
+ background: transparent;
253
+ }
254
+
255
+ .menu-bar > li:hover {
256
+ background: #0080ff;
257
+ color: white;
258
+ }
259
+
260
+ .menu {
261
+ display: none;
262
+ position: absolute;
263
+ top: 100%;
264
+ left: 0;
265
+ background: #c0c0c0;
266
+ border: 2px outset #c0c0c0;
267
+ padding: 2px;
268
+ margin: 0;
269
+ list-style: none;
270
+ min-width: 180px;
271
+ z-index: 1000;
272
+ }
273
+
274
+ .menu-bar > li:focus > .menu,
275
+ .menu-bar > li:hover > .menu {
276
+ display: block;
277
+ }
278
+
279
+ .menu > li {
280
+ position: relative;
281
+ padding: 2px 8px;
282
+ font-size: 9pt;
283
+ cursor: pointer;
284
+ user-select: none;
285
+ }
286
+
287
+ .menu > li > a {
288
+ display: block;
289
+ color: inherit;
290
+ text-decoration: none;
291
+ cursor: pointer;
292
+ }
293
+
294
+ .menu > li:hover {
295
+ background: #0080ff;
296
+ color: white;
297
+ }
298
+
299
+ .menu > li.divider {
300
+ height: 1px;
301
+ background: #808080;
302
+ padding: 0;
303
+ margin: 2px 0;
304
+ }
305
+
306
+ .menu > li.divider:hover {
307
+ background: #808080;
308
+ }
309
+
310
+ /* Sidebar menu items */
311
+ .menu-items {
312
+ list-style: none;
313
+ padding: 4px 0;
314
+ margin: 0;
315
+ font-size: 9pt;
316
+ }
317
+
318
+ .menu-items > li {
319
+ margin: 2px 0;
320
+ }
321
+
322
+ .menu-items a {
323
+ color: inherit;
324
+ text-decoration: none;
325
+ display: block;
326
+ padding: 2px 4px;
327
+ }
328
+
329
+ .menu-items a:hover {
330
+ background: #0080ff;
331
+ color: white;
332
+ }
333
+
334
+ .menu-items ul {
335
+ list-style: none;
336
+ padding-left: 16px;
337
+ margin: 2px 0;
338
+ font-size: 8pt;
339
+ }
340
+
341
+ .nav-link {
342
+ color: inherit;
343
+ text-decoration: none;
344
+ display: block;
345
+ padding: 1px 4px;
346
+ }
347
+
348
+ .nav-link:hover {
349
+ background: #0080ff;
350
+ color: white;
351
+ }
352
+
353
+ /* Content styling */
354
+ h2.subheading {
355
+ font-size: 14pt;
356
+ font-weight: bold;
357
+ margin: 16px 0 8px 0;
358
+ padding-bottom: 4px;
359
+ border-bottom: 1px solid #808080;
360
+ }
361
+
362
+ h3.subheading {
363
+ font-size: 11pt;
364
+ font-weight: bold;
365
+ margin: 12px 0 6px 0;
366
+ }
367
+
368
+ .component {
369
+ margin-bottom: 24px;
370
+ }
371
+
372
+ blockquote {
373
+ border-left: 4px solid #808080;
374
+ margin: 8px 0;
375
+ padding: 4px 8px;
376
+ font-style: italic;
377
+ background: #f8f8f8;
378
+ }
379
+
380
+ blockquote footer {
381
+ margin-top: 4px;
382
+ font-style: normal;
383
+ }
384
+
385
+ .example {
386
+ background: #f0f0f0;
387
+ border: 1px solid #d0d0d0;
388
+ padding: 12px;
389
+ margin: 8px 0;
390
+ display: flex;
391
+ gap: 8px;
392
+ flex-wrap: wrap;
393
+ align-items: center;
394
  }
395
 
396
+ /* Form elements */
397
+ .field-row {
398
+ display: flex;
399
+ align-items: center;
400
+ gap: 8px;
401
+ margin: 4px 0;
402
  }
403
 
404
+ .field-row label {
405
+ font-size: 9pt;
406
+ min-width: 60px;
 
 
407
  }
408
 
409
+ /* Layout */
410
+ main {
411
+ overflow-x: auto;
 
 
 
412
  }
413
 
414
+ /* Responsive adjustments */
415
+ @media (max-width: 768px) {
416
+ .window {
417
+ margin-bottom: 16px;
418
+ }
419
+
420
+ .example {
421
+ flex-direction: column;
422
+ align-items: flex-start;
423
+ }
424
  }