|
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
6 | 6 | <title>tabwrap playground</title> |
7 | 7 | <script type="text/javascript" src="./playground-dist.js" defer></script> |
8 | | - <link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet"> |
9 | 8 | <style> |
10 | 9 | :root { |
11 | 10 | /* https://tailwindcss.com/docs/customizing-colors#color-palette-reference */ |
12 | 11 | --black: #000; |
| 12 | + --white: #fff; |
13 | 13 | --blueGray-50: #F8FAFC; |
14 | 14 | --blueGray-100: #F1F5F9; |
15 | 15 | --amber-50: #FFFBEB; |
|
22 | 22 |
|
23 | 23 | #playground-instructions { |
24 | 24 | border-radius: 5px; |
25 | | - font-weight: 600; |
| 25 | + font-weight: 700; |
26 | 26 | font-size: 30px; |
27 | 27 | text-align: center; |
28 | 28 | border-radius: 5px; |
|
31 | 31 | font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; |
32 | 32 | } |
33 | 33 |
|
| 34 | + body { |
| 35 | + padding: 20px; |
| 36 | + } |
| 37 | + |
| 38 | + main { |
| 39 | + max-width: 560px; |
| 40 | + margin: 0 auto 150px auto; |
| 41 | + display: flex; |
| 42 | + flex-direction: column; |
| 43 | + gap: 40px 0; |
| 44 | + } |
| 45 | + |
| 46 | + main h1 { |
| 47 | + padding: 10px; |
| 48 | + text-align: right; |
| 49 | + font-size: 18px; |
| 50 | + font-weight: 700; |
| 51 | + background-color: var(--black); |
| 52 | + color: var(--white); |
| 53 | + border-radius: 12px 2px 12px 2px; |
| 54 | + } |
| 55 | + |
34 | 56 | section { |
35 | 57 | outline: 2px solid var(--green-500); |
36 | 58 | border-radius: 5px; |
|
156 | 178 | .grid-with-custom-taborder .grid > [data-grid-area="quattro"] { grid-area: quattro; } |
157 | 179 | </style> |
158 | 180 | </head> |
159 | | -<body class="p-5"> |
160 | | - <main class="mb-36 max-w-xl mx-auto flex flex-col gap-10"> |
161 | | - <h1 class="p-2 text-right text-lg font-bold bg-black text-white rounded-tl-xl rounded-br-xl rounded-bl-sm rounded-tr-sm"> |
162 | | - tabwrap playground |
163 | | - </h1> |
| 181 | +<body> |
| 182 | + <main> |
| 183 | + <h1>tabwrap playground</h1> |
164 | 184 |
|
165 | 185 | <div id="playground-instructions"> |
166 | 186 | <!-- these instructions will be removed on page load if playground-dist.js have been generated --> |
@@ -363,32 +383,16 @@ <h1 class="p-2 text-right text-lg font-bold bg-black text-white rounded-tl-xl ro |
363 | 383 | </p> |
364 | 384 | <div class="grid"> |
365 | 385 | <div data-grid-area="tre"> |
366 | | - <input type="text" |
367 | | - class="input" |
368 | | - tabindex="3" |
369 | | - placeholder="tabindex 3" |
370 | | - > |
| 386 | + <input type="text" tabindex="3" placeholder="tabindex 3"> |
371 | 387 | </div> |
372 | 388 | <div data-grid-area="uno"> |
373 | | - <input type="text" |
374 | | - class="input" |
375 | | - tabindex="1" |
376 | | - placeholder="tabindex 1" |
377 | | - > |
| 389 | + <input type="text" tabindex="1" placeholder="tabindex 1"> |
378 | 390 | </div> |
379 | 391 | <div data-grid-area="quattro"> |
380 | | - <input type="text" |
381 | | - class="input" |
382 | | - tabindex="4" |
383 | | - placeholder="tabindex 4" |
384 | | - > |
| 392 | + <input type="text" tabindex="4" placeholder="tabindex 4"> |
385 | 393 | </div> |
386 | 394 | <div data-grid-area="zwei"> |
387 | | - <input type="text" |
388 | | - class="input" |
389 | | - tabindex="2" |
390 | | - placeholder="tabindex 2" |
391 | | - > |
| 395 | + <input type="text" tabindex="2" placeholder="tabindex 2"> |
392 | 396 | </div> |
393 | 397 | </div> |
394 | 398 | </section> |
|
0 commit comments