Files
sglang/docs_new/custom.css
Mingyi a3291b5654 Add new Mintlify documentation site (docs_new/) (#23001)
Co-authored-by: AdityaVKochar <adityavardhankochar@gmail.com>
Co-authored-by: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
Co-authored-by: adhyan-jain <adhyanjain2006@gmail.com>
Co-authored-by: Adhyan Jain <71976554+adhyan-jain@users.noreply.github.com>
Co-authored-by: Maitri-shah29 <maitrirajivshah@gmail.com>
Co-authored-by: Adarsh Shirawalmath <114558126+adarshxs@users.noreply.github.com>
Co-authored-by: Maitri Shah <shah29maitri@gmail.com>
Co-authored-by: Aditya Vardhan Kochar <80113212+AdityaVKochar@users.noreply.github.com>
Co-authored-by: Rishit Shivam <164783543+pokymono@users.noreply.github.com>
Co-authored-by: Rishitshivam <164783543+Rishitshivam@users.noreply.github.com>
Co-authored-by: IshhanKheria <ishhankheria06@gmail.com>
Co-authored-by: Ishita Joshi <ishitata.joshi@gmail.com>
Co-authored-by: Richard Chen <104477092+Richardczl98@users.noreply.github.com>
Co-authored-by: longGGGGGG <553746008@qq.com>
Co-authored-by: Richard <richardchen@radixark.ai>
Co-authored-by: Nakul Sinha <nakul.new4socials@gmail.com>
Co-authored-by: Divyam Agrawal <ludicrouslytrue@gmail.com>
Co-authored-by: Richardczl98 <Zhenlinc@stanford.edu>
Co-authored-by: Krishang Zinzuwadia <krishangzinzuwadia@gmail.com>
Co-authored-by: nimeshas <nimesha.s106@gmail.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Jignas Paturu <86356085+JignasP@users.noreply.github.com>
Co-authored-by: zijiexia <37504505+zijiexia@users.noreply.github.com>
2026-04-20 15:10:22 -07:00

102 lines
2.2 KiB
CSS

:where(*) {
scrollbar-width: none;
-ms-overflow-style: none;
}
:where(*)::-webkit-scrollbar {
width: 0;
height: 0;
}
:where(pre, code, .code-block, .code-group, #request-example, #response-example),
:where(pre, code, .code-block, .code-group, #request-example, #response-example) * {
scrollbar-width: auto;
-ms-overflow-style: auto;
}
:where(pre, code, .code-block, .code-group, #request-example, #response-example)::-webkit-scrollbar,
:where(pre, code, .code-block, .code-group, #request-example, #response-example) *::-webkit-scrollbar {
width: 10px;
height: 10px;
}
/* Global table styling to match vision-language-models.mdx reference */
table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
}
table thead tr {
border-bottom: 2px solid #d55816;
}
table thead th {
text-align: left;
padding: 10px 12px;
font-weight: 700;
white-space: nowrap;
}
table thead th:nth-child(odd) {
background-color: rgba(255,255,255,0.02);
}
table thead th:nth-child(even) {
background-color: rgba(255,255,255,0.05);
}
table tbody tr:nth-child(odd) td {
background-color: rgba(255,255,255,0.02);
}
table tbody tr:nth-child(even) td {
background-color: rgba(255,255,255,0.05);
}
table tbody td {
padding: 9px 12px;
}
table tbody td:first-child {
font-weight: 500;
}
/* Dark mode support for tables */
html.dark table thead th:nth-child(odd),
[data-theme="dark"] table thead th:nth-child(odd) {
background-color: rgba(255,255,255,0.02);
}
html.dark table thead th:nth-child(even),
[data-theme="dark"] table thead th:nth-child(even) {
background-color: rgba(255,255,255,0.05);
}
html.dark table tbody tr:nth-child(odd) td,
[data-theme="dark"] table tbody tr:nth-child(odd) td {
background-color: rgba(255,255,255,0.02);
}
html.dark table tbody tr:nth-child(even) td,
[data-theme="dark"] table tbody tr:nth-child(even) td {
background-color: rgba(255,255,255,0.05);
}
/* Bold text (**text**) */
.prose strong, .prose b {
font-weight: 600;
}
/* Inline code (single backtick) */
:not(pre) > code {
background-color: rgba(0, 0, 0, 0.07);
font-weight: 600;
}
html.dark :not(pre) > code,
[data-theme="dark"] :not(pre) > code {
background-color: rgba(255, 255, 255, 0.13);
font-weight: 600;
}