_reboot.scss 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. // xxxstylelint-disable declaration-no-important, selector-no-qualifying-type, property-no-vendor-prefix
  2. // Reboot
  3. //
  4. // Normalization of HTML elements, manually forked from Normalize.css ... (see core `_reboot.scss` file)
  5. // Normalize is licensed MIT. https://github.com/necolas/normalize.css
  6. // Body
  7. body {
  8. color: $body-color-alt;
  9. background-color: $body-bg-alt; // 2
  10. }
  11. // Content grouping
  12. hr {
  13. color: $hr-color-alt; // 1
  14. // background-color: currentColor;
  15. opacity: $hr-opacity-alt;
  16. }
  17. // Typography
  18. %heading {
  19. color: $headings-color-alt;
  20. }
  21. // Mark
  22. mark {
  23. background-color: $mark-bg-alt;
  24. }
  25. // Links
  26. a {
  27. color: $link-color-alt;
  28. &:hover {
  29. color: $link-hover-color-alt;
  30. }
  31. }
  32. a:not([href]):not([class]) {
  33. &,
  34. &:hover {
  35. color: inherit;
  36. }
  37. }
  38. // Code
  39. pre {
  40. color: $pre-color-alt;
  41. // Account for some code outputs that place code tags in pre tags
  42. code {
  43. color: inherit;
  44. }
  45. }
  46. code {
  47. color: $code-color-alt;
  48. // Streamline the style when inside anchors to avoid broken underline and more
  49. a > & {
  50. color: inherit;
  51. }
  52. }
  53. kbd {
  54. color: $kbd-color-alt;
  55. background-color: $kbd-bg-alt;
  56. }
  57. // Tables
  58. //
  59. // Prevent double borders
  60. caption {
  61. color: $table-caption-color-alt;
  62. }