logo

demo

Unnamed repository; edit this file 'description' to name the repository. git clone https://anongit.hacktivis.me/git/demo.git/

common.css (912B)


  1. :root {
  2. text-rendering: optimizelegibility;
  3. font-kerning: normal;
  4. color-scheme: light dark;
  5. }
  6. /* <https://github.com/whatwg/html/issues/5426#issuecomment-607286557> */
  7. @supports (color-scheme: light dark) {
  8. @media (prefers-color-scheme: dark) {
  9. a { color: violet; }
  10. }
  11. }
  12. main {
  13. margin: 0 auto;
  14. padding: 0 2em;
  15. max-width: 80em;
  16. }
  17. code { font-family: monospace; }
  18. h1,h2,h3,h4,h5,h6 {
  19. font-family: sans;
  20. font-kerning: auto;
  21. }
  22. code {
  23. background: #1f1f1f;
  24. color: #dcdccc;
  25. padding: .8pt;
  26. }
  27. code .comment { color: #6a830b; }
  28. pre code { display: table; }
  29. form.rows {
  30. display: flex;
  31. flex-direction: column;
  32. }
  33. header {
  34. display: table;
  35. margin: 0 auto;
  36. }
  37. header pre {
  38. text-align:center;
  39. }
  40. kbd, samp {
  41. -webkit-user-select: all;
  42. -webkit-user-select: contain;
  43. -moz-user-select: all;
  44. -moz-user-select: contain;
  45. -ms-user-select: all;
  46. -ms-user-select: contain;
  47. user-select: all;
  48. user-select: contain;
  49. }