You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

112 lines
1.4 KiB

  1. //
  2. // Base element style overrides
  3. //
  4. // stylelint-disable selector-no-type, selector-max-type
  5. * {
  6. box-sizing: border-box;
  7. }
  8. ::selection {
  9. color: $white;
  10. background: $link-color;
  11. }
  12. html {
  13. @include fs-4;
  14. }
  15. body {
  16. font-family: $body-font-family;
  17. font-size: inherit;
  18. line-height: $body-line-height;
  19. color: $body-text-color;
  20. background-color: $body-background-color;
  21. }
  22. p,
  23. h1,
  24. h2,
  25. h3,
  26. h4,
  27. h5,
  28. h6,
  29. ol,
  30. ul,
  31. pre,
  32. address,
  33. blockquote,
  34. dl,
  35. div,
  36. fieldset,
  37. form,
  38. hr,
  39. noscript,
  40. table {
  41. margin-top: 0;
  42. }
  43. h1,
  44. h2,
  45. h3,
  46. h4,
  47. h5,
  48. h6 {
  49. margin-top: 1.2em;
  50. margin-bottom: 0.8em;
  51. font-weight: 500;
  52. line-height: $body-heading-line-height;
  53. color: $body-heading-color;
  54. }
  55. p {
  56. margin-bottom: 1em;
  57. }
  58. a {
  59. color: $link-color;
  60. text-decoration: none;
  61. }
  62. a:not([class]) {
  63. text-decoration: none;
  64. background-image: linear-gradient($border-color 0%, $border-color 100%);
  65. background-repeat: repeat-x;
  66. background-position: 0 100%;
  67. background-size: 1px 1px;
  68. &:hover {
  69. background-image: linear-gradient(rgba($link-color, 0.45) 0%, rgba($link-color, 0.45) 100%);
  70. background-size: 1px 1px;
  71. }
  72. }
  73. code {
  74. font-family: $mono-font-family;
  75. font-size: 12px;
  76. line-height: $body-line-height;
  77. }
  78. figure,
  79. pre {
  80. margin: 0;
  81. }
  82. li {
  83. margin: 0.25em 0;
  84. }
  85. img {
  86. max-width: 100%;
  87. height: auto;
  88. }
  89. hr {
  90. height: 1px;
  91. padding: 0;
  92. margin: $sp-6 0;
  93. background-color: $border-color;
  94. border: 0;
  95. }