mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-04 02:32:57 +00:00
51 lines
1.4 KiB
CSS
51 lines
1.4 KiB
CSS
html, body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: var(--font-body, var(--chakra-fonts-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
sans-serif));
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
/* Apply heading font to all heading elements */
|
|
h1, h2, h3, h4, h5, h6 {
|
|
font-family: var(--font-heading, var(--chakra-fonts-heading, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif)) !important;
|
|
}
|
|
|
|
/* Ensure buttons and other elements use body font */
|
|
button, input, textarea, select {
|
|
font-family: var(--font-body, var(--chakra-fonts-body, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif));
|
|
}
|
|
|
|
input[type="date"],
|
|
input[type="datetime-local"],
|
|
input[type="time"] {
|
|
border-radius: 9999px;
|
|
padding-inline: 1rem;
|
|
padding-block: 0.5rem;
|
|
height: 2.5rem;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* Dark mode root styles */
|
|
html.chakra-ui-dark,
|
|
.chakra-ui-dark body,
|
|
.chakra-ui-dark #root {
|
|
background-color: #0f1115 !important;
|
|
color: #e8eaf0 !important;
|
|
}
|
|
|
|
code {
|
|
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
monospace;
|
|
}
|
|
|
|
/* Utility: hide scrollbar but keep scrollability */
|
|
.hide-scrollbar {
|
|
scrollbar-width: none; /* Firefox */
|
|
}
|
|
.hide-scrollbar::-webkit-scrollbar {
|
|
display: none; /* Chrome/Safari */
|
|
}
|