mirror of
https://github.com/yawaflua/api-docs.git
synced 2025-12-10 04:19:29 +02:00
добавил сайт
This commit is contained in:
1
_site/logo.svg
Normal file
1
_site/logo.svg
Normal file
@@ -0,0 +1 @@
|
||||
<svg width="42" height="42" fill="none" xmlns="http://www.w3.org/2000/svg"><rect width="42" height="42" rx="14" fill="url(#a)" fill-opacity=".15"/><path fill-rule="evenodd" clip-rule="evenodd" d="M16.396 10.375a6.023 6.023 0 0 0-6.021 6.02v1.56h7.792a4.603 4.603 0 0 0 4.604-4.605v-2.975h-6.375Zm0-2.125a8.148 8.148 0 0 0-8.146 8.146v9.208a8.148 8.148 0 0 0 8.146 8.146h9.208a8.148 8.148 0 0 0 8.146-8.146v-9.208a8.148 8.148 0 0 0-8.146-8.146h-9.208Zm8.5 2.125v2.975a6.728 6.728 0 0 1-6.73 6.73h-7.791v5.524a6.023 6.023 0 0 0 6.02 6.021h.71V28.65a6.728 6.728 0 0 1 6.728-6.73h7.792v-5.524a6.023 6.023 0 0 0-6.02-6.021h-.71Zm6.729 13.67h-7.792a4.603 4.603 0 0 0-4.604 4.605v2.975h6.375a6.023 6.023 0 0 0 6.021-6.02v-1.56Z" fill="url(#b)"/><defs><linearGradient id="a" x1="-.412" y1="-.412" x2="42.412" y2="42.412" gradientUnits="userSpaceOnUse"><stop stop-color="#6763FF"/><stop offset=".5" stop-color="#7E4FE8"/><stop offset="1" stop-color="#B857FF"/></linearGradient><linearGradient id="b" x1="8" y1="8" x2="34" y2="34" gradientUnits="userSpaceOnUse"><stop stop-color="#6763FF"/><stop offset=".5" stop-color="#7E4FE8"/><stop offset="1" stop-color="#B857FF"/></linearGradient></defs></svg>
|
||||
|
After Width: | Height: | Size: 1.2 KiB |
119
_site/styles.css
Normal file
119
_site/styles.css
Normal file
@@ -0,0 +1,119 @@
|
||||
*,
|
||||
*::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;
|
||||
}
|
||||
Reference in New Issue
Block a user