-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathapi-doc.css
More file actions
82 lines (79 loc) · 1.78 KB
/
Copy pathapi-doc.css
File metadata and controls
82 lines (79 loc) · 1.78 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
body {
max-width: 90% !important;
margin: 2em auto !important;
padding: 0 40px !important;
}
table tr:nth-child(even) {
background-color: #f2f2f2;
}
table {
width: 100%;
display: table;
border-collapse: collapse;
}
/* Handles overflow if the table is too wide for the screen */
div.table-wrapper {
overflow-x: auto;
width: 100%;
}
/* ── Enum definitions section ── */
.enum-section {
margin: 1.5em 0 2em 0;
padding: 1em 1.2em;
background: #f8f9fa;
border-left: 4px solid #1a5276;
border-radius: 3px;
}
.enum-section h2 {
margin-top: 0;
font-size: 1.1rem;
color: #1a5276;
letter-spacing: 0.04em;
}
.enum-block { margin: 0.8em 0 0 0; }
.enum-block + .enum-block {
margin-top: 1.2em;
padding-top: 1em;
border-top: 1px solid #dde;
}
.enum-name {
font-family: monospace;
font-size: 0.95rem;
font-weight: bold;
color: #1a5276;
}
.enum-desc { font-size: 0.85rem; color: #555; margin: 0.15em 0 0.4em 0; }
.enum-values { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.3em; }
.enum-value {
display: inline-block;
font-family: monospace;
font-size: 0.82rem;
background: #e8f0fe;
border: 1px solid #b3c6e7;
border-radius: 3px;
padding: 2px 8px;
color: #1a3a6b;
}
/* ── valid values column ── */
th.valid-values-col {
text-align: center;
white-space: nowrap;
}
td.valid-values-col {
text-align: center;
white-space: nowrap;
}
td.valid-values-col a.enum-link {
font-family: monospace;
font-size: 0.78rem;
color: #1a5276;
background: #e8f0fe;
border: 1px solid #b3c6e7;
border-radius: 3px;
padding: 2px 7px;
text-decoration: none;
}
td.valid-values-col a.enum-link:hover {
background: #cddcf7;
border-color: #1a5276;
}