src/css/index.css (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 |
@import url("./evergarden.css");
::-webkit-scrollbar {
width: 0.5rem;
height: 6px;
background: transparent;
}
::-webkit-scrollbar-thumb {
background: hsla(var(--overlay1) / 1);
border-radius: 3px;
}
::-webkit-scrollbar-track {
background: transparent;
}
:root {
--ease: cubic-bezier(0.4, 0, 0.2, 1);
--ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
--ease-springier: cubic-bezier(0.25, 2.2, 0.5, 1);
--ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
--ease-in-out: cubic-bezier(0.645, 0.045, 0.355, 1);
--transition-properties:
margin, grid-template-rows, grid-template-columns, stroke-dasharray, stroke-dashoffset,
outline-color, outline-offset, color, background-color, box-shadow, outline, border-color,
border-radius, font-weight, opacity, transform, backdrop-filter, text-decoration-color, filter,
scale, height;
--transition-duration: 0.2s;
--transition: var(--transition-duration) var(--ease);
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
body {
color: hsl(var(--text));
font-family:
"Google Sans Flex", system-ui, -apple-system, BlinkMacSystemFont,
"Segoe UI", Roboto, sans-serif;
background-color: hsl(var(--surface0));
/*font-family: monospace;*/
font-size: 15px;
line-height: 1.5;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
font-weight: normal;
scrollbar-width: thin;
scrollbar-color: hsla(var(--overlay1) / 1) transparent;
-webkit-tap-highlight-color: transparent;
outline: 2px solid;
outline-offset: 2px;
outline-color: hsla(var(--blue) / 0);
transition-property: var(--transition-properties);
transition-duration: var(--transition-duration);
transition-timing-function: var(--ease);
}
*:focus-visible {
outline-color: hsl(var(--blue));
z-index: 5;
}
::selection {
background-color: hsla(var(--crust) / 1);
color: hsl(var(--accent));
}
|