-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
188 lines (154 loc) · 4.51 KB
/
style.css
File metadata and controls
188 lines (154 loc) · 4.51 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
/* Custom CSS for Mintlify Documentation */
/* Reduce font size of navigation group titles */
.sidebar-group-title {
font-size: 0.5rem !important; /* 14px instead of default 16px */
font-weight: 600 !important;
}
/* Alternative selector if the above doesn't work */
[data-testid="sidebar-group-title"] {
font-size: 0.5rem !important;
font-weight: 600 !important;
}
/* Another alternative selector */
.sidebar .group-title {
font-size: 0.5rem !important;
font-weight: 600 !important;
}
/* If you want even smaller, you can use these sizes: */
/* font-size: 0.75rem !important; */ /* 12px */
/* font-size: 0.8125rem !important; */ /* 13px */
/* font-size: 0.875rem !important; */ /* 14px - current setting */
/* font-size: 1rem !important; */ /* 16px - default */
/* Optional: Also reduce spacing around group titles */
.sidebar-group-title {
margin-bottom: 0.5rem !important;
margin-top: 1rem !important;
}
/* Table styling for content-based width and left alignment */
.table-container {
width: auto !important;
overflow-x: auto !important;
}
.table-container table {
width: auto !important;
table-layout: auto !important;
}
.table-container table th:first-child,
.table-container table td:first-child {
text-align: left !important;
white-space: nowrap !important;
padding-right: 1rem !important;
}
.table-container table th:last-child,
.table-container table td:last-child {
text-align: left !important;
}
/* Logo sizing - 80% of default size */
.nav-logo {
width: 27% !important;
height: auto;
}
/* Heading colors - all headings in #101075 */
h1, h2, h3, h4, h5, h6 {
color: #101075 !important;
}
/* Alternative selectors for different heading structures */
.heading-1, .heading-2, .heading-3, .heading-4, .heading-5, .heading-6 {
color: #101075 !important;
}
/* For Mintlify-specific heading classes */
[data-heading] {
color: #101075 !important;
}
/* For any heading elements */
.heading {
color: #101075 !important;
}
/* Main content area */
.main-content, .content, .page-content {
background-color: #f8f8f9 !important;
}
/* Text color - change black text to #0c0c0c */
body, p, div, a, li, td, th {
color: #0c0c0c !important;
}
/* Ensure bold text displays correctly */
strong, b {
font-weight: 700 !important;
color: #0c0c0c !important;
}
/* Specific text elements */
.paragraph {
color: #0c0c0c !important;
}
/* Links - keep them distinguishable but darker */
a {
color: #0c0c0c !important;
}
/* If you want different sizes, adjust the scale value: */
/* transform: scale(0.6) !important; */ /* 60% - Very small */
/* transform: scale(0.7) !important; */ /* 70% - Small */
/* transform: scale(0.8) !important; */ /* 80% - Current setting */
/* transform: scale(0.9) !important; */ /* 90% - Slightly smaller */
/* Custom CSS for Mintlify Documentation */
/* Reduce font size of navigation group titles */
.sidebar-group-title {
font-size: 0.5rem !important;
font-weight: 600 !important;
}
/* Alternative selector if the above doesn't work */
[data-testid="sidebar-group-title"] {
font-size: 0.5rem !important;
font-weight: 600 !important;
}
/* Another alternative selector */
.sidebar .group-title {
font-size: 0.5rem !important;
font-weight: 600 !important;
}
/* Optional: Also reduce spacing around group titles */
.sidebar-group-title {
margin-bottom: 0.5rem !important;
margin-top: 1rem !important;
}
/* Table styling for 2-column tables - fixed width, equal columns */
.table-container-dc3e57e5 {
width: 100% !important;
overflow-x: auto !important;
}
.table-container-dc3e57e5 table {
width: 100% !important;
table-layout: fixed !important;
}
.table-container-dc3e57e5 table th:first-child,
.table-container-dc3e57e5 table td:first-child {
width: 50% !important;
text-align: left !important;
white-space: nowrap !important;
padding-right: 1rem !important;
}
.table-container-dc3e57e5 table th:nth-child(2),
.table-container-dc3e57e5 table td:nth-child(2) {
width: 50% !important;
text-align: left !important;
}
/* Table styling for single-row display without text breaks */
.table-container-nowrap {
width: 100% !important;
overflow-x: auto !important;
}
.table-container-nowrap table {
width: auto !important;
table-layout: auto !important;
}
.table-container-nowrap table th,
.table-container-nowrap table td {
white-space: nowrap !important;
text-align: left !important;
padding-right: 1rem !important;
}
.table-container-nowrap table th:first-child,
.table-container-nowrap table td:first-child {
width: auto !important;
padding-right: 1.5rem !important;
}