Files
creamlinux-installer/src/styles/_reset.scss
2025-05-17 21:08:01 +02:00

65 lines
950 B
SCSS

// src/styles/_reset.scss
@use './variables' as *;
@use './mixins' as *;
@use './fonts' as *;
// src/styles/_reset.scss
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html, body {
height: 100%;
width: 100%;
overflow: hidden;
}
body {
font-family: 'Roboto';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background-color: var(--primary-bg);
color: var(--text-primary);
/* Prevent text selection by default */
user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
}
#root {
height: 100%;
width: 100%;
}
button {
background: none;
border: none;
cursor: pointer;
font-family: inherit;
&:focus {
outline: none;
}
}
a {
color: inherit;
text-decoration: none;
}
ul, ol {
list-style: none;
}
input, button, textarea, select {
font: inherit;
}
h1, h2, h3, h4, h5, h6 {
font-weight: inherit;
font-size: inherit;
}