style.css 768 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. @import 'button.css';
  2. @import 'form.css';
  3. @import 'field.css';
  4. @import 'select.css';
  5. @import 'radio.css';
  6. :root {
  7. --color-form: rgb(203, 222, 228);
  8. --color-field: rgba(255, 0, 0, 0.123);
  9. --color-label: rgba(0, 255, 42, 0.123);
  10. --color-input: rgba(0, 4, 255, 0.123);
  11. }
  12. /* Add nodebug class to any parent field (e.g. body) to turn off coloring */
  13. .nodebug { --color-form: transparent; --color-field: transparent; --color-label: transparent; --color-input: transparent; }
  14. html {
  15. box-sizing: border-box;
  16. }
  17. *, *::before, *::after {
  18. box-sizing: inherit;
  19. }
  20. body {
  21. display: flex;
  22. flex-direction: column;
  23. align-items: flex-start;
  24. }
  25. .body--centered {
  26. align-items: center;
  27. }
  28. .badge {
  29. padding: 0.5em;
  30. background-color: darkblue;
  31. color: white;
  32. }