您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

77 行
1.2 KiB

  1. /**
  2. * Tryout of: a modern CSS reset
  3. * https://hankchizljaw.com/wrote/a-modern-css-reset/
  4. */
  5. /* Remove default padding */
  6. ul[class],
  7. ol[class] {
  8. padding: 0;
  9. }
  10. /* Remove default margin */
  11. body,
  12. h1,
  13. h2,
  14. h3,
  15. h4,
  16. p,
  17. ul[class],
  18. ol[class],
  19. li,
  20. figure,
  21. figcaption,
  22. blockquote,
  23. dl,
  24. dd {
  25. margin: 0;
  26. }
  27. /* Set core body defaults */
  28. body {
  29. min-height: 100vh;
  30. scroll-behavior: smooth;
  31. text-rendering: optimizeSpeed;
  32. line-height: 1.5;
  33. }
  34. /* Remove list styles on ul, ol elements with a class attribute */
  35. ul[class],
  36. ol[class] {
  37. list-style: none;
  38. }
  39. /* A elements that don't have a class get default styles */
  40. a:not([class]) {
  41. text-decoration-skip-ink: auto;
  42. }
  43. /* Make images easier to work with */
  44. img {
  45. max-width: 100%;
  46. display: block;
  47. }
  48. /* Natural flow and rhythm in articles by default */
  49. article > * + * {
  50. margin-top: 1em;
  51. }
  52. /* Inherit fonts for inputs and buttons */
  53. input,
  54. button,
  55. textarea,
  56. select {
  57. font: inherit;
  58. }
  59. /* Remove all animations and transitions for people that prefer not to see them */
  60. @media (prefers-reduced-motion: reduce) {
  61. * {
  62. animation-duration: 0.01ms !important;
  63. animation-iteration-count: 1 !important;
  64. transition-duration: 0.01ms !important;
  65. scroll-behavior: auto !important;
  66. }
  67. }