132 lines
2.5 KiB
CSS
132 lines
2.5 KiB
CSS
/* Global styles */
|
|
@import './styles/variables.css';
|
|
@import './styles/themes.css';
|
|
@import './styles/animations.css';
|
|
@import './styles/components.css';
|
|
@import './styles/responsive.css';
|
|
@import './styles/privacy.css';
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
font-size: 16px;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* Response Base Font Size */
|
|
@media (max-width: 600px) {
|
|
html {
|
|
font-size: 14.5px;
|
|
/* Scale down UI slightly for mobile */
|
|
}
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: var(--font-sans);
|
|
line-height: var(--leading-normal);
|
|
background-color: var(--bg-primary);
|
|
/* Global Subtle Mesh Gradient */
|
|
/* Global Subtle Mesh Gradient (Premium Warmth) */
|
|
background-image:
|
|
radial-gradient(at 0% 0%, rgba(217, 119, 6, 0.15) 0px, transparent 50%),
|
|
radial-gradient(at 100% 0%, rgba(30, 41, 59, 0.1) 0px, transparent 50%),
|
|
radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.1) 0px, transparent 50%),
|
|
radial-gradient(at 0% 100%, rgba(251, 191, 36, 0.12) 0px, transparent 50%);
|
|
background-attachment: fixed;
|
|
color: var(--text-primary);
|
|
transition: background-color var(--duration-normal) var(--ease-in-out),
|
|
color var(--duration-fast) var(--ease-in-out);
|
|
}
|
|
|
|
/* Custom Scrollbar */
|
|
::-webkit-scrollbar {
|
|
width: 8px;
|
|
height: 8px;
|
|
}
|
|
|
|
::-webkit-scrollbar-track {
|
|
background: transparent;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb {
|
|
background: rgba(156, 163, 175, 0.3);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
::-webkit-scrollbar-thumb:hover {
|
|
background: rgba(156, 163, 175, 0.5);
|
|
}
|
|
|
|
/* Reset default styles */
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
margin: 0;
|
|
font-family: 'Outfit', sans-serif;
|
|
/* Headings use Outfit */
|
|
}
|
|
|
|
p {
|
|
margin: 0 0 1rem;
|
|
}
|
|
|
|
ul,
|
|
ol {
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
button {
|
|
font-family: inherit;
|
|
}
|
|
|
|
/* Utility classes */
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
/* Accessibility Focus Ring */
|
|
:focus-visible {
|
|
outline: 2px solid var(--accent-primary);
|
|
outline-offset: 2px;
|
|
box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.2);
|
|
border-radius: 4px;
|
|
}
|
|
|
|
/* Reduced Motion */
|
|
@media (prefers-reduced-motion: reduce) {
|
|
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
transition-duration: 0.01ms !important;
|
|
scroll-behavior: auto !important;
|
|
}
|
|
} |