web-difarft/app/assets/css/main.css

69 lines
892 B
CSS

@import "tailwindcss";
:root {
--bg: #d8d7dc;
--surface: #c8c8c8;
--surface-hover: #b8b8b8;
--border: #b8b7be;
--grid: #5f5f63;
--text: #242328;
--text-muted: #626068;
}
.dark {
--bg: #151517;
--surface: #202023;
--surface-hover: #2a2a2e;
--border: #38383d;
--grid: #36363b;
--text: #ffffff;
--text-muted: #a2a2aa;
}
html {
scroll-behavior: smooth;
}
body {
background: var(--bg);
color: var(--text);
font-family: var(--font-body);
overflow-x: hidden;
transition:
background-color 0.3s ease,
color 0.3s ease;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--font-heading);
color: var(--text);
}
p {
font-weight: 500;
}
@media (max-width: 640px) {
section {
width: 100%;
}
}
@media (min-width: 768px) {
html,
body,
a,
button {
cursor: none;
}
}