Files
2026-04-12 01:06:31 +07:00

55 lines
1013 B
CSS

/**
* Novel Theme - Base Styles
* Reset, html, body fundamentals
*/
/* Base Reset */
*, *::before, *::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html {
font-size: 18px;
scroll-behavior: smooth;
}
html[data-font-size="S"] { font-size: 16px; }
html[data-font-size="M"] { font-size: 18px; }
html[data-font-size="L"] { font-size: 20px; }
body {
font-family: var(--font-body);
background: var(--bg-primary);
color: var(--text-primary);
line-height: 1.7;
transition: background-color 0.3s ease, color 0.3s ease;
}
/* Custom scrollbar for entire page */
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
background: var(--border);
border-radius: 5px;
border: 2px solid var(--bg-secondary);
}
::-webkit-scrollbar-thumb:hover {
background: var(--text-muted);
}
/* Firefox scrollbar */
* {
scrollbar-width: thin;
scrollbar-color: var(--border) var(--bg-secondary);
}