forked from MarketDataApp/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcustom.css
More file actions
288 lines (262 loc) · 7.49 KB
/
Copy pathcustom.css
File metadata and controls
288 lines (262 loc) · 7.49 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
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/
/* You can override the default Infima variables here. */
:root {
/* --ifm-color-primary: #2e8555;
--ifm-color-primary-dark: #29784c;
--ifm-color-primary-darker: #277148;
--ifm-color-primary-darkest: #205d3b;
--ifm-color-primary-light: #33925d;
--ifm-color-primary-lighter: #359962;
--ifm-color-primary-lightest: #3cad6e; */
--ifm-code-font-size: 95%;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
--ifm-link-color: #0085F2;
--ifm-color-primary: #00419a;
--ifm-color-primary-dark: #003b8b;
--ifm-color-primary-darker: #003783;
--ifm-color-primary-darkest: #002e6c;
--ifm-color-primary-light: #0048a9;
--ifm-color-primary-lighter: #004bb1;
--ifm-color-primary-lightest: #0055c8;
--custom-bg-tabs: #f6f8fa;
}
/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
/* --ifm-color-primary: #25c2a0;
--ifm-color-primary-dark: #21af90;
--ifm-color-primary-darker: #1fa588;
--ifm-color-primary-darkest: #1a8870;
--ifm-color-primary-light: #29d5b0;
--ifm-color-primary-lighter: #32d8b4;
--ifm-color-primary-lightest: #4fddbf; */
--ifm-color-primary: #eb5c6d;
--ifm-color-primary-dark: #e73f53;
--ifm-color-primary-darker: #e63046;
--ifm-color-primary-darkest: #cc192e;
--ifm-color-primary-light: #ef7987;
--ifm-color-primary-lighter: #f08894;
--ifm-color-primary-lightest: #f6b3bb;
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
--custom-bg-tabs: #282a36;
}
.footer-custom-container {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
width: 100% !important;
color: #ffffff80;
}
.footer-custom {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-around;
width: 100%;
}
.footer-custom a {
color: #ffffff80 !important;
text-decoration: none;
}
.url-host {
color: blue;
}
.url-path {
color: green;
}
.url-query {
color: red;
}
@media screen and (min-width: 768px) {
.footer-custom-container {
flex-direction: row;
justify-content: space-between !important;
}
.footer-custom {
width: 60%;
justify-content: space-between;
}
.footer-custom-container p {
margin: 0;
padding: 0;
}
}
#__docusaurus > footer {
background-color: #040f30;
padding-top: 20px;
padding-bottom: 20px;
padding-right: 0 !important;
padding-left: 0 !important;
width: 100%;
}
/* for the tabs nod background styling FOR DEV */
/* .tabItem_node_modules-\@docusaurus-theme-classic-lib-theme-TabItem-styles-module{
background-color: var(--custom-bg-tabs);
padding: 8px;
border-radius: 14px;
} */
/* for the tabs nod background styling FOR PROD */
.tabItem_Ymn6 {
background-color: var(--custom-bg-tabs);
padding: 8px;
border-radius: 14px;
}
.DocSearch.DocSearch-Button {
border-radius: 8px;
}
.sdk-list {
display: flex;
flex-wrap: wrap;
gap: 20px; /* Adjust the space between items */
margin-bottom: 20px; /* Added margin on the bottom */
}
.sdk-item {
display: flex;
flex-direction: column;
justify-content: space-between; /* This will push the text to the bottom */
flex: 1;
min-width: 300px;
max-width: 300px;
border: 1px solid #ddd;
padding: 20px 20px 20px 20px; /* Adjusted padding */
padding-top: 40px; /* Added 20px padding at the top */
border-radius: 8px;
text-align: center;
background-color: #f9f9f9;
text-decoration: none; /* Remove underline from links */
}
.sdk-list .sdk-item a {
text-decoration: none !important;
}
.sdk-item p img {
width: auto; /* Adjust the logo size */
height: 80px;
margin-bottom: 10px; /* Space between logo and text */
align-self: center; /* Center the image in the flex container */
}
.sdk-item p img + img {
margin-left: 12px;
}
[data-theme="dark"] .sdk-item {
background-color: #1e1e1e; /* Dark background for the items */
color: #ffffff; /* Light text color for readability */
border: 1px solid #3c3c3c; /* Darker border color */
}
[data-theme="dark"] .sdk-item a {
color: #eb5c6d; /* Lighter link color for better visibility */
}
/* Target main content links inside the main container in both p and li tags */
.theme-doc-markdown.markdown p a,
.theme-doc-markdown.markdown li a {
text-decoration: underline;
text-decoration-skip-ink: none;
}
.cus-tag {
font-size: 28px;
color: white;
padding-left: 16px;
padding-right: 16px;
padding-top: 4px;
padding-bottom: 4px;
border-radius: 8px;
}
.cus-tag-sm {
font-size: 12px;
margin-left: 6px;
padding-left: 8px;
padding-right: 8px;
padding-top: 3px;
padding-bottom: 3px;
border-radius: 4px;
}
/* Background colors for tags */
.tg-n {
background-color: #0f9d58; /* New: Google Sheets Green */
}
.tg-p {
background-color: #e83155; /* Premium: Red */
}
.tg-h {
background-color: #003286; /* High Usage: Blue */
}
.tg-b {
background-color: #E65100; /* Beta: Orange */
}
/* ==========================================================================
Navbar overflow prevention
Right-side items (search, avatar, username, logout button, dark-mode toggle)
can overflow the navbar at any width. These rules keep everything on one line:
- flex-wrap: nowrap on .navbar__inner (all widths) stops the two halves from
stacking, so the JS overflow utility can detect flex-item compression.
- white-space: nowrap on nav links (≥997px only) stops multi-word labels
("Sheets Add-On", "Accounts & Billing") from wrapping at ~1024px.
- The JS utility (navbarOverflow.js) then hides lower-priority right-side
items one at a time until nothing is compressed.
========================================================================== */
.navbar__inner {
flex-wrap: nowrap;
}
@media (min-width: 997px) {
.navbar__items .navbar__link {
white-space: nowrap;
}
}
/* Navbar user-profile positioning
Desktop (≥997px): 12px gap before the dark-mode toggle.
Below desktop (<997px): Docusaurus absolutely-positions the search bar to
the right, which puts the profile to its left. Override search back to
normal flow so both items participate in flex layout and the profile
(later in DOM order) stays on the far right. */
.navbar__items--right .user-profile-wrapper {
align-self: center;
line-height: 0;
}
@media (min-width: 997px) {
.navbar__items--right .user-profile-wrapper {
margin-right: 12px;
}
}
@media (max-width: 996px) {
.navbar__items--right [class*="navbarSearchContainer"] {
position: relative;
right: auto;
}
.navbar__items--right .user-profile-wrapper {
margin-left: 12px;
}
}
/* Generic hidden utility — required by the UI library's dropdown toggle
(classList.add('hidden') / classList.remove('hidden')). */
.hidden {
display: none;
}
/* Clear floats so following content starts below (e.g. after float: right images) */
.clear-float {
clear: both;
}
/* CSS Styling for Images */
img[alt="Pull Request in Postman"] {
max-width: 735px;
width: 100%;
height: auto;
}
/* OAuth consent GIF: float right so step list flows on the left; stack on narrow screens */
img[alt="Google OAuth consent screen—select all permissions and click Continue"] {
float: right;
max-height: 540px;
max-width: 100%;
width: auto;
height: auto;
margin-left: 1.25rem;
margin-bottom: 0.75rem;
}
@media (max-width: 640px) {
img[alt="Google OAuth consent screen—select all permissions and click Continue"] {
float: none;
margin-left: 0;
}
}