141 lines
2.4 KiB
CSS
141 lines
2.4 KiB
CSS
@tailwind base;
|
|
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
color-scheme: light;
|
|
font-family: 'Golos Text', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
|
background: #f5f8fc;
|
|
color: #071426;
|
|
}
|
|
|
|
.dark {
|
|
color-scheme: dark;
|
|
background: #06101f;
|
|
color: #f6f9ff;
|
|
}
|
|
|
|
html[data-font-scale='large'] {
|
|
font-size: 18px;
|
|
}
|
|
|
|
html[data-font-scale='xlarge'] {
|
|
font-size: 20px;
|
|
}
|
|
|
|
body {
|
|
min-width: 320px;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
background:
|
|
radial-gradient(circle at top left, rgba(17, 81, 156, 0.13), transparent 34rem),
|
|
linear-gradient(180deg, #f7fbff 0%, #eef4fb 54%, #f8fafc 100%);
|
|
}
|
|
|
|
.dark body {
|
|
background:
|
|
radial-gradient(circle at top left, rgba(51, 136, 243, 0.24), transparent 30rem),
|
|
linear-gradient(180deg, #06101f 0%, #0a1728 58%, #07111e 100%);
|
|
}
|
|
|
|
.contrast body {
|
|
background: #ffffff;
|
|
color: #000000;
|
|
}
|
|
|
|
.dark.contrast body {
|
|
background: #000000;
|
|
color: #ffffff;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
a,
|
|
button,
|
|
input,
|
|
select,
|
|
textarea {
|
|
touch-action: manipulation;
|
|
}
|
|
|
|
.skip-link {
|
|
position: fixed;
|
|
left: 1rem;
|
|
top: 1rem;
|
|
z-index: 1000;
|
|
transform: translateY(-150%);
|
|
border-radius: 999px;
|
|
background: #ffffff;
|
|
color: #11519c;
|
|
box-shadow: 0 18px 50px rgba(7, 20, 38, 0.2);
|
|
font-weight: 800;
|
|
padding: 0.75rem 1rem;
|
|
transition: transform 160ms ease;
|
|
}
|
|
|
|
.skip-link:focus {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
button:focus-visible,
|
|
a:focus-visible,
|
|
input:focus-visible,
|
|
select:focus-visible,
|
|
textarea:focus-visible {
|
|
outline: none;
|
|
box-shadow: 0 0 0 3px rgba(17, 81, 156, 0.45);
|
|
}
|
|
|
|
input:focus-visible {
|
|
border-radius: 1rem;
|
|
}
|
|
|
|
.media-visual {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.media-visual::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 16% 12%;
|
|
border: 1px solid rgba(255, 255, 255, 0.34);
|
|
border-radius: 999px;
|
|
transform: rotate(-10deg);
|
|
}
|
|
|
|
.no-images .media-visual {
|
|
display: none;
|
|
}
|
|
|
|
.safe-area {
|
|
width: min(1180px, calc(100vw - 32px));
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.scrollbar-soft::-webkit-scrollbar {
|
|
width: 10px;
|
|
height: 10px;
|
|
}
|
|
|
|
.scrollbar-soft::-webkit-scrollbar-thumb {
|
|
background: rgba(17, 81, 156, 0.35);
|
|
border-radius: 999px;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|