apchk.css 574 B

12345678910111213141516171819202122232425262728293031323334
  1. html {
  2. font-family: sans-serif;
  3. font-size: 1.2rem;
  4. }
  5. body {
  6. margin: auto;
  7. max-width: 39rem;
  8. padding: .5rem;
  9. }
  10. input {
  11. font-size: initial;
  12. }
  13. h1[id]:hover::after,
  14. h2[id]:hover::after,
  15. h3[id]:hover::after {
  16. content: " #" attr(id);
  17. opacity: 30%;
  18. }
  19. @media (prefers-color-scheme: dark) {
  20. html, input, textarea {
  21. background: black;
  22. border-color: hsl(38.8, 100%, 45%);
  23. color: hsl(120,100%,35%);
  24. }
  25. input[type=submit] {
  26. background: hsl(38.8, 100%, 40%);
  27. color: black;
  28. }
  29. a:any-link {
  30. color: hsl(38.8, 100%, 45%);
  31. }
  32. }