Files
SongQuiz/frontend/src/styles/reset.scss
2025-04-02 01:40:37 -03:00

70 lines
1.2 KiB
SCSS

/* Reset and base styles */
*, *:before, *:after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
width: 100%;
font-size: 16px;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
body {
position: relative;
overflow-x: hidden;
min-height: 100vh;
/* Support for iOS safe areas */
padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}
#root {
height: 100%;
width: 100%;
}
a {
color: inherit;
text-decoration: none;
}
button, input, select, textarea {
font-family: inherit;
font-size: inherit;
color: inherit;
background: none;
border: none;
outline: none;
appearance: none;
border-radius: 0;
margin: 0;
}
button {
cursor: pointer;
}
ul, ol {
list-style: none;
}
img, svg {
display: block;
max-width: 100%;
height: auto;
}
/* Remove animations and transitions for people who've turned them off */
@media (prefers-reduced-motion: reduce) {
* {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}