Files
api-docs/_site/styles.css
2022-08-17 05:26:38 +03:00

120 lines
2.0 KiB
CSS

*,
*::before,
*::after {
box-sizing: border-box;
}
html:focus-within {
scroll-behavior: smooth;
}
body {
margin: 0;
min-height: 100vh;
text-rendering: optimizeSpeed;
line-height: 1.5;
color-scheme: dark;
accent-color: #6563ee;
background-color: #15151b;
color: #8f8f94;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
main a {
color: white;
text-decoration-skip-ink: auto;
}
@media (prefers-reduced-motion: reduce) {
html:focus-within {
scroll-behavior: auto;
}
*,
*::before,
*::after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
::-webkit-scrollbar {
height: 0.5rem !important;
width: 0.5rem !important;
border-radius: 9999px !important;
padding: 0px !important;
}
::-webkit-scrollbar-track {
background-color: transparent !important;
}
::-webkit-scrollbar-thumb {
margin: 0px !important;
height: 0.5rem !important;
width: 0.5rem !important;
border-radius: 9999px !important;
border: none !important;
background-color: #8f8f94 !important;
}
::-webkit-scrollbar-thumb:active {
background-color: #ffffff !important;
}
h1,
h2,
h3,
h4,
h5,
h6 {
color: #ffffff;
}
code {
font-family: ui-monospace, 'Cascadia Code', 'Fira Code', 'Fira Mono', 'Ubuntu Modo',
SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
color: #ffffff;
}
pre {
border-radius: 1rem;
background-color: #111116;
padding: 1rem;
}
main,
header {
max-width: 900px;
padding: 1rem;
margin-inline: auto;
}
header a {
display: flex;
align-items: center;
gap: 0.5rem;
color: #ffffff;
font-size: 1.5rem;
text-decoration: none;
font-weight: bold;
}
span.get,
span.post {
user-select: none;
padding: 0.25rem;
border-radius: 0.25rem;
}
span.get {
background-color: #0074c7;
}
span.post {
background-color: #32854e;
}