Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. html {
  2. box-sizing: border-box;
  3. -webkit-font-smoothing: antialiased;
  4. -moz-osx-font-smoothing: grayscale;
  5. }
  6.  
  7. /* Box sizing rules */
  8. *,
  9. *::before,
  10. *::after {
  11. box-sizing: inherit;
  12. }
  13.  
  14. /* Remove default padding */
  15. ul,
  16. ol {
  17. padding: 0;
  18. }
  19.  
  20. /* Remove default margin */
  21. body,
  22. h1,
  23. h2,
  24. h3,
  25. h4,
  26. p,
  27. ul,
  28. ol,
  29. li,
  30. figure,
  31. figcaption,
  32. blockquote,
  33. dl,
  34. dd {
  35. margin: 0;
  36. }
  37.  
  38. /* Set core body defaults */
  39. body {
  40. min-height: 100vh;
  41. scroll-behavior: smooth;
  42. text-rendering: optimizeSpeed;
  43. line-height: 1.5;
  44. }
  45.  
  46. /* Remove list styles on ul, ol elements with a class attribute */
  47. ul[class],
  48. ol[class] {
  49. list-style: none;
  50. }
  51.  
  52. /* A elements that don't have a class get default styles */
  53. a:not([class]) {
  54. text-decoration-skip-ink: auto;
  55. }
  56.  
  57. /* Make images easier to work with */
  58. img {
  59. max-width: 100%;
  60. display: block;
  61. }
  62.  
  63. /* Natural flow and rhythm in articles by default */
  64. article > * + * {
  65. margin-top: 1em;
  66. }
  67.  
  68. /* Inherit fonts for inputs and buttons */
  69. input,
  70. button,
  71. textarea,
  72. select {
  73. font: inherit;
  74. }
  75.  
  76. /* Remove _all_ animations and transitions for people that prefer not to see them */
  77. @media (prefers-reduced-motion: reduce) {
  78. * {
  79. animation-play-state: paused !important;
  80. transition: none !important;
  81. scroll-behavior: auto !important;
  82. }
  83. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement