File size: 6,550 Bytes
61d29fc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
/**
 * 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: #354F52;
  --ifm-color-primary-dark: #2e4346;
  --ifm-color-primary-darker: #27383a;
  --ifm-color-primary-darkest: #202d2f;
  --ifm-color-primary-light: #496466;
  --ifm-color-primary-lighter: #5d797a;
  --ifm-color-primary-lightest: #8a9d9e;
  --ifm-button-background-color: #354F52;
  --ifm-button-color: #ffffff;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(53, 79, 82, 0.1);
  --ifm-background-color: #ffffff;
  --ifm-navbar-link-color: #354F52;
  --ifm-navbar-link-hover-color: #2e4346;
  --ifm-navbar-sidebar-link-color: #354F52;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #5d797a;
  --ifm-color-primary-dark: #496466;
  --ifm-color-primary-darker: #354F52;
  --ifm-color-primary-darkest: #2e4346;
  --ifm-color-primary-light: #8a9d9e;
  --ifm-color-primary-lighter: #a7b7b8;
  --ifm-color-primary-lightest: #c4d1d2;
  --docusaurus-highlighted-code-line-bg: rgba(53, 79, 82, 0.2);
  --ifm-background-color: #1E293B;
  --ifm-navbar-link-color: #5d797a;
  --ifm-navbar-link-hover-color: #8a9d9e;
  --ifm-navbar-sidebar-link-color: #5d797a;
}

/* Additional background color overrides */
html[data-theme='light'] {
  --ifm-background-color: #ffffff;
  --ifm-background-surface-color: #ffffff;
}

html[data-theme='dark'] {
  --ifm-background-color: #1E293B;
  --ifm-background-surface-color: #1E293B;
}

body {
  background-color: #ffffff !important;
}

[data-theme='dark'] body {
  background-color: #1E293B !important;
}

/* Logo styling */
.navbar__logo img {
  height: 40px !important;
  max-height: 40px !important;
}

/* Sidebar backgrounds */
.theme-doc-sidebar-container {
  background-color: #F1F5F9 !important;
}

aside.theme-doc-sidebar-container {
  background-color: #F1F5F9 !important;
}

/* Sidebar navigation link colors - lighter and less bold */
.theme-doc-sidebar-item-link,
.menu__link,
.theme-doc-sidebar-item-category > .menu__list-item-collapsible > .menu__link {
  color: #64748b !important; /* Lighter slate color */
  font-weight: 400 !important; /* Regular weight for better readability */
}

.menu__link:hover,
.menu__link--active {
  color: #354F52 !important;
}

/* Category labels - lighter text */
.menu__list-item-collapsible {
  color: #475569 !important; /* Lighter slate color */
}

/* Table of Contents (right sidebar) background */
.theme-doc-toc-desktop,
.table-of-contents {
  background-color: #F1F5F9 !important;
  padding: 1rem;
  border-radius: 8px;
}

/* Active navigation link underline (matches main React app) */
.navbar__link--active {
  position: relative;
  padding-bottom: 4px !important;
}

.navbar__link--active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-color: var(--ifm-color-primary);
}

.navbar__link:hover {
  position: relative;
  padding-bottom: 4px;
}

.navbar__link:hover:not(.navbar__link--active)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 2px;
  background-color: rgba(53, 79, 82, 0.3);
  transition: background-color 0.2s ease;
}

/* Active sidebar link underline - lighter emphasis */
.menu__link--active {
  border-left: 3px solid var(--ifm-color-primary) !important;
  background-color: rgba(53, 79, 82, 0.05) !important;
  font-weight: 500 !important; /* Medium weight, was 600 */
  color: #354F52 !important; /* Slightly darker when active */
}

/* Table of contents active link underline */
.table-of-contents__link--active {
  border-left: 2px solid var(--ifm-color-primary) !important;
  font-weight: 600 !important;
  color: var(--ifm-color-primary) !important;
}

/* Table of contents - increase spacing between vertical line and text */
.table-of-contents__link {
  padding-left: 1rem !important; /* Increased from default 0.5rem */
  line-height: 1.6 !important;
  margin-bottom: 0.25rem !important;
}

.table-of-contents__link--active {
  padding-left: calc(1rem - 2px) !important; /* Account for border width */
}

/* Professional navbar styling - clean without emojis */
.navbar__item.navbar__link {
  font-weight: 600;
  letter-spacing: 0.025em;
  transition: all 0.2s ease;
}

.navbar__item.navbar__link:hover {
  transform: translateY(-1px);
}

/* Sidebar category labels - lighter and more readable */
.menu__list-item-collapsible > .menu__link {
  font-weight: 600; /* Medium bold, was 700 */
  font-size: 1.02em; /* Slightly smaller, was 1.05em */
  text-transform: none;
  padding: 0.5rem 0.75rem;
  border-left: 3px solid transparent;
  transition: all 0.2s ease;
  color: #475569 !important; /* Lighter than regular links */
}

.menu__list-item-collapsible > .menu__link:hover {
  border-left-color: #354F52;
  background-color: rgba(53, 79, 82, 0.05);
}

/* Active sidebar section - lighter */
.theme-doc-sidebar-item-category-level-1 > .menu__list-item-collapsible > .menu__link {
  color: #475569 !important; /* Lighter slate */
  font-size: 1.05em; /* Slightly smaller, was 1.1em */
}

/* Main content area - keep white */
.theme-doc-markdown,
article {
  background-color: #ffffff !important;
}

/* Content headers color */
.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  color: #354F52 !important;
}

article h1,
article h2,
article h3,
article h4,
article h5,
article h6 {
  color: #354F52 !important;
}

/* Dark mode overrides */
[data-theme='dark'] .theme-doc-sidebar-container,
[data-theme='dark'] aside.theme-doc-sidebar-container {
  background-color: #1E293B !important;
}

[data-theme='dark'] .theme-doc-toc-desktop,
[data-theme='dark'] .table-of-contents {
  background-color: #1E293B !important;
}

/* Mermaid diagrams - ensure they render large and readable */
.mermaid {
  font-size: 18px !important;
  line-height: 1.4 !important;
}

.mermaid svg {
  max-width: 100% !important;
  height: auto !important;
}

/* ERD entity boxes should be larger */
.er.entityBox {
  min-width: 200px !important;
  min-height: 140px !important;
}

.er .entityLabel {
  font-size: 20px !important;
  font-weight: 700 !important;
}

.er .attributeBoxEven,
.er .attributeBoxOdd {
  font-size: 16px !important;
  padding: 8px 12px !important;
}