| .playground { | |
| } | |
| .playground h1 { | |
| font-size: 2rem; | |
| margin: 1rem auto; | |
| text-align: center; | |
| } | |
| .playground h2 { | |
| margin: 1rem auto; | |
| } | |
| .form { | |
| display: flex; | |
| flex-direction: row; | |
| gap: 1rem; | |
| padding: 1rem 0; | |
| justify-content: center; | |
| } | |
| .form input { | |
| padding: 0.5em; | |
| border: 1px solid var(--ifm-color-emphasis-200); | |
| border-radius: 0.25rem; | |
| } | |
| @media (max-width: 1200px) { | |
| .form { | |
| overflow-x: auto; | |
| justify-content: left; | |
| } | |
| } | |
| .form fieldset { | |
| border: 1px solid var(--ifm-color-emphasis-200); | |
| padding: 1em; | |
| margin: 0; | |
| border-radius: 0.25rem; | |
| } | |
| .fields { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5em; | |
| font-size: 0.85rem; | |
| } | |
| .form fieldset legend { | |
| display: inline-block; | |
| padding: 0 0.5em; | |
| text-align: center; | |
| font-weight: bold; | |
| } | |
| .form label { | |
| display: flex; | |
| flex-direction: row; | |
| gap: 0.5em; | |
| align-items: center; | |
| white-space: nowrap; | |
| text-transform: capitalize; | |
| } | |
| .form label:has(select), | |
| .form label:has(input[type="text"]), | |
| .form label:has(input[type="number"]), | |
| .form label:has(input[type="color"]) { | |
| justify-content: space-between; | |
| } | |
| .browserWindow, | |
| .props { | |
| margin: 2rem; | |
| } | |