mirror of
https://github.com/Cleanuparr/Cleanuparr.git
synced 2026-03-26 01:52:41 -04:00
68 lines
1.1 KiB
SCSS
68 lines
1.1 KiB
SCSS
// =============================================================================
|
|
// CSS Reset
|
|
// Minimal, modern reset for consistent cross-browser rendering.
|
|
// =============================================================================
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
-webkit-text-size-adjust: 100%;
|
|
tab-size: 4;
|
|
}
|
|
|
|
body {
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
color: var(--text-primary);
|
|
background-color: var(--surface-ground);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
img, picture, video, canvas, svg {
|
|
display: block;
|
|
max-width: 100%;
|
|
}
|
|
|
|
input, button, textarea, select {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
}
|
|
|
|
ul, ol {
|
|
list-style: none;
|
|
}
|
|
|
|
table {
|
|
border-collapse: collapse;
|
|
border-spacing: 0;
|
|
}
|
|
|
|
// Remove default focus outline (we provide our own via glass-focus mixin)
|
|
:focus:not(:focus-visible) {
|
|
outline: none;
|
|
}
|
|
|
|
// Smooth scrolling unless reduced motion is preferred
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
html {
|
|
scroll-behavior: smooth;
|
|
}
|
|
}
|