mirror of
https://gitlab.com/vyla-entertainment/documentation.git
synced 2026-11-12 21:47:22 -05:00
358 lines
6.5 KiB
CSS
358 lines
6.5 KiB
CSS
main.prose {
|
|
flex: 1;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
main.prose .eyebrow {
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
margin: 0 0 8px;
|
|
color: var(--text-light);
|
|
}
|
|
|
|
html.dark main.prose .eyebrow {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
main.prose h1 {
|
|
font-size: 30px;
|
|
font-weight: 700;
|
|
letter-spacing: 0;
|
|
margin: 0 0 6px;
|
|
color: #111827;
|
|
}
|
|
|
|
main.prose .page-description {
|
|
color: var(--muted-light);
|
|
font-size: 18px;
|
|
margin: 0 0 32px;
|
|
}
|
|
|
|
html.dark main.prose .page-description {
|
|
color: var(--muted-dark);
|
|
}
|
|
|
|
main.prose h2 {
|
|
font-size: 22px;
|
|
font-weight: 700;
|
|
margin: 40px 0 14px;
|
|
padding-top: 6px;
|
|
}
|
|
|
|
main.prose h2:first-child {
|
|
border-top: none;
|
|
padding-top: 0;
|
|
}
|
|
|
|
main.prose h3 {
|
|
font-size: 17px;
|
|
font-weight: 700;
|
|
margin: 26px 0 10px;
|
|
}
|
|
|
|
main.prose h2,
|
|
main.prose h3 {
|
|
scroll-margin-top: 130px;
|
|
color: #111827;
|
|
}
|
|
|
|
html.dark main.prose h1,
|
|
html.dark main.prose h2,
|
|
html.dark main.prose h3 {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
main.prose p,
|
|
main.prose li {
|
|
color: #4b5563;
|
|
line-height: 1.75;
|
|
}
|
|
|
|
html.dark main.prose p,
|
|
html.dark main.prose li {
|
|
color: #a1a1aa;
|
|
}
|
|
|
|
main.prose strong {
|
|
color: var(--text-light);
|
|
}
|
|
|
|
html.dark main.prose strong {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
main.prose a {
|
|
color: var(--text-light);
|
|
font-weight: 600;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
html.dark main.prose a {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
main.prose ul,
|
|
main.prose ol {
|
|
padding-left: 22px;
|
|
}
|
|
|
|
main.prose li {
|
|
margin: 4px 0;
|
|
}
|
|
|
|
main.prose img {
|
|
max-width: 100%;
|
|
border-radius: 16px;
|
|
display: block;
|
|
margin: 20px 0;
|
|
}
|
|
|
|
main.prose img.vyla-banner {
|
|
width: 100%;
|
|
}
|
|
|
|
main.prose hr {
|
|
border: none;
|
|
}
|
|
|
|
main.prose code {
|
|
background: rgba(250, 250, 250, 0.5);
|
|
font-family: var(--mono);
|
|
font-size: 13px;
|
|
padding: 2px 6px;
|
|
border-radius: 5px;
|
|
}
|
|
|
|
html.dark main.prose code {
|
|
background: rgba(5, 5, 5);
|
|
}
|
|
|
|
main.prose pre {
|
|
margin: 16px 0;
|
|
padding: 16px 20px;
|
|
border-radius: 25px;
|
|
overflow-x: auto;
|
|
background: rgba(250, 250, 250);
|
|
--fade-l: 0px;
|
|
--fade-r: 0px;
|
|
scrollbar-width: none;
|
|
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
|
|
mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
|
|
}
|
|
|
|
html.dark main.prose pre {
|
|
background: rgba(5, 5, 5);
|
|
}
|
|
|
|
main.prose pre code {
|
|
background: none;
|
|
padding: 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.table-wrap {
|
|
--fade-l: 0px;
|
|
--fade-r: 0px;
|
|
max-width: 100%;
|
|
margin: 20px 0;
|
|
overflow-x: auto;
|
|
scrollbar-width: thin;
|
|
border-radius: 14px;
|
|
-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
|
|
mask-image: linear-gradient(to right, transparent 0, #000 var(--fade-l), #000 calc(100% - var(--fade-r)), transparent 100%);
|
|
}
|
|
|
|
.table-wrap table {
|
|
margin: 0;
|
|
}
|
|
|
|
table {
|
|
width: 100%;
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
margin: 0;
|
|
font-size: 13.5px;
|
|
line-height: 1.55;
|
|
text-align: left;
|
|
}
|
|
|
|
th {
|
|
padding: 12px 5px;
|
|
font-size: 11.5px;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.05em;
|
|
color: var(--muted-light);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
html.dark th {
|
|
color: var(--muted-dark);
|
|
}
|
|
|
|
td {
|
|
padding: 14px 5px;
|
|
vertical-align: top;
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
html.dark td {
|
|
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
tbody tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
|
|
tbody tr {
|
|
transition: background 0.15s ease;
|
|
}
|
|
|
|
tbody tr:hover {
|
|
background: rgba(0, 0, 0, 0.02);
|
|
}
|
|
|
|
td code {
|
|
white-space: nowrap;
|
|
font-size: 12.5px;
|
|
}
|
|
|
|
.callout {
|
|
display: flex;
|
|
gap: 12px;
|
|
padding: 14px 11px;
|
|
border-radius: 25px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.callout-content {
|
|
flex: 1;
|
|
}
|
|
|
|
.callout-content> :first-child {
|
|
margin-top: 0;
|
|
}
|
|
|
|
.callout-content> :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.callout-note {
|
|
background: rgba(5, 5, 5, 0.08);
|
|
}
|
|
|
|
html.dark .callout-note {
|
|
background: rgba(50, 50, 50, 0.1);
|
|
}
|
|
|
|
.callout-info {
|
|
background: rgba(39, 39, 39, 0.08);
|
|
}
|
|
|
|
.callout-warning {
|
|
background: #fefce8 !important;
|
|
color: #854d0e !important;
|
|
}
|
|
|
|
.callout-warning p,
|
|
.callout-warning strong {
|
|
color: inherit !important;
|
|
}
|
|
|
|
html.dark .callout-warning {
|
|
background: oklab(68.064% 0.0348215 0.137956 / 0.2) !important;
|
|
color: #fde047 !important;
|
|
}
|
|
|
|
html.dark .callout-warning p,
|
|
html.dark .callout-warning strong {
|
|
color: inherit !important;
|
|
}
|
|
|
|
aside#toc {
|
|
width: var(--toc-width);
|
|
flex-shrink: 0;
|
|
display: none;
|
|
border-radius: 12px;
|
|
padding-left: 10px;
|
|
height: fit-content;
|
|
max-height: calc(100vh - var(--header-height) - 40px);
|
|
padding-bottom: 10px;
|
|
overflow-y: auto;
|
|
position: sticky;
|
|
top: calc(var(--header-height) + 40px);
|
|
}
|
|
|
|
@media (min-width: 1100px) {
|
|
aside#toc {
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
aside#toc .toc-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 14px;
|
|
font-weight: 600;
|
|
line-height: 20px;
|
|
color: var(--text-light);
|
|
margin-bottom: 2px;
|
|
}
|
|
|
|
aside#toc .toc-title::before {
|
|
content: "";
|
|
width: 16px;
|
|
height: 16px;
|
|
background: currentColor;
|
|
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h10M4 18h14'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M4 12h10M4 18h14'/%3E%3C/svg%3E") center / contain no-repeat;
|
|
}
|
|
|
|
html.dark aside#toc .toc-title {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
aside#toc ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
aside#toc li a {
|
|
display: block;
|
|
padding: 6px 0;
|
|
font-size: 14px;
|
|
line-height: 20px;
|
|
color: var(--muted-light);
|
|
}
|
|
|
|
html.dark aside#toc li a {
|
|
color: var(--muted-dark);
|
|
}
|
|
|
|
aside#toc li a:hover {
|
|
color: var(--text-light);
|
|
}
|
|
|
|
html.dark aside#toc li a:hover {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
aside#toc li a.active {
|
|
color: var(--text-light);
|
|
font-weight: 600;
|
|
}
|
|
|
|
html.dark aside#toc li a.active {
|
|
color: var(--text-dark);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
aside#toc {
|
|
display: none;
|
|
}
|
|
} |