_base.scss 965 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. @import "../../../modules/all";
  2. :root {
  3. --accent-color : #{$color-accent};
  4. }
  5. @media (prefers-color-scheme : dark) {
  6. :root {
  7. --accent-color : #{$color-accent};
  8. }
  9. }
  10. @media (prefers-color-scheme : light) {
  11. :root {
  12. }
  13. }
  14. html {
  15. overflow-y : scroll;
  16. scrollbar-color : $color-secondary $color-background-dark;
  17. }
  18. body {
  19. background-color : $color-main-background;
  20. color : $color-text;
  21. display : flex;
  22. flex-direction : column;
  23. font-family : $base-font-family;
  24. font-size : $base-font-size;
  25. font-weight : $base-font-weight;
  26. height : 100%;
  27. min-height : 100vh;
  28. position : relative;
  29. }
  30. //@include selector($color-selector-foreground, $color-selector-background);
  31. img {
  32. @include user-select(none);
  33. border : 0;
  34. }
  35. a,
  36. a:link,
  37. a:visited {
  38. color : $color-link;
  39. outline : 0;
  40. text-decoration : none;
  41. }
  42. a:hover {
  43. text-decoration : underline;
  44. }