mirror of
https://github.com/johndoe6345789/metabuilder.git
synced 2026-04-24 22:04:56 +00:00
101 lines
1.4 KiB
SCSS
101 lines
1.4 KiB
SCSS
// Base styles - CSS reset and global element styles
|
|
// Replaces MUI CssBaseline
|
|
// CSS variables are defined in _variables.scss
|
|
|
|
// CSS Reset
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
body {
|
|
font-family: var(--font-family);
|
|
background-color: var(--color-bg);
|
|
color: var(--color-text);
|
|
line-height: 1.5;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
// Links
|
|
a {
|
|
color: var(--color-primary);
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
// Lists
|
|
ul, ol {
|
|
list-style: none;
|
|
}
|
|
|
|
// Images
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
// Tables
|
|
table {
|
|
border-collapse: collapse;
|
|
width: 100%;
|
|
}
|
|
|
|
// Forms
|
|
button, input, select, textarea {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
button {
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
}
|
|
|
|
// Code
|
|
code, pre {
|
|
font-family: var(--font-mono);
|
|
}
|
|
|
|
// Selection
|
|
::selection {
|
|
background-color: var(--color-primary);
|
|
color: white;
|
|
}
|
|
|
|
// Scrollbar (webkit)
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: var(--color-secondary);
|
|
border-radius: 4px;
|
|
|
|
&:hover {
|
|
background: var(--color-text-secondary);
|
|
}
|
|
}
|
|
|
|
// Focus outline
|
|
:focus-visible {
|
|
outline: 2px solid var(--color-primary);
|
|
outline-offset: 2px;
|
|
}
|