-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathcustom.css
More file actions
84 lines (68 loc) · 1.88 KB
/
custom.css
File metadata and controls
84 lines (68 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
: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);
}