base.scss 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. #app,
  2. body,
  3. html {
  4. width: 100%;
  5. height: 100%;
  6. overscroll-behavior: none;
  7. }
  8. *,
  9. ::after,
  10. ::before {
  11. @apply border-border;
  12. box-sizing: border-box;
  13. border-style: solid;
  14. border-width: 0;
  15. }
  16. html.invert-mode {
  17. @apply invert;
  18. }
  19. html.grayscale-mode {
  20. @apply grayscale;
  21. }
  22. html {
  23. @apply text-foreground bg-background;
  24. // font-size: 62.5%;
  25. font-variation-settings: normal;
  26. text-size-adjust: 100%;
  27. font-synthesis-weight: none;
  28. scroll-behavior: smooth;
  29. text-rendering: optimizelegibility;
  30. -webkit-tap-highlight-color: transparent;
  31. }
  32. a,
  33. a:active,
  34. a:hover,
  35. a:link,
  36. a:visited {
  37. // color: inherit;
  38. text-decoration: none;
  39. }
  40. ::view-transition-new(root),
  41. ::view-transition-old(root) {
  42. mix-blend-mode: normal;
  43. animation: none;
  44. }
  45. ::view-transition-old(root) {
  46. z-index: 1;
  47. }
  48. ::view-transition-new(root) {
  49. z-index: 2147483646;
  50. }
  51. html.dark::view-transition-old(root) {
  52. z-index: 2147483646;
  53. }
  54. html.dark::view-transition-new(root) {
  55. z-index: 1;
  56. }
  57. input::placeholder,
  58. textarea::placeholder {
  59. // color: hsl(var(--color-input-placeholder)) !important;
  60. opacity: 1;
  61. }
  62. input:-webkit-autofill {
  63. border: none;
  64. box-shadow: 0 0 0 1000px transparent inset;
  65. }
  66. input[type='number']::-webkit-inner-spin-button,
  67. input[type='number']::-webkit-outer-spin-button {
  68. margin: 0;
  69. appearance: none;
  70. }