File size: 7,523 Bytes
d15f07c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
/**
 * 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.
 */

/* Align primary palette with the main app header (SiteHeader teal). */
:root {
  --ifm-color-primary: #0d9488;
  --ifm-color-primary-dark: #0f766e;
  --ifm-color-primary-darker: #0f766e;
  --ifm-color-primary-darkest: #115e59;
  --ifm-color-primary-light: #14b8a6;
  --ifm-color-primary-lighter: #2dd4bf;
  --ifm-color-primary-lightest: #5eead4;
  --ifm-button-background-color: #0d9488;
  --ifm-button-color: #ffffff;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(13, 148, 136, 0.12);
  --ifm-background-color: #ffffff;
  --ifm-navbar-link-color: #44403c;
  --ifm-navbar-link-hover-color: #0f766e;
  --ifm-navbar-sidebar-link-color: #44403c;
  --ifm-navbar-height: 64px;
  --ifm-navbar-padding-horizontal: 1.25rem;
  --ifm-navbar-shadow: 0 1px 0 #e7e5e4;
  --ifm-font-family-base: 'Source Sans 3', system-ui, sans-serif;
}

/* Light theme only (#735) — no dark-mode palette. */
html {
  --ifm-background-color: #ffffff;
  --ifm-background-surface-color: #ffffff;
}

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

/* Brand row — match web_app SiteHeader (C1 mark + Open Navigator / by CommunityOne). */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

.navbar {
  border-bottom: 1px solid #e7e5e4;
  box-shadow: none !important;
}

.navbar__inner {
  max-width: 1180px;
  margin: 0 auto;
}

.navbar__brand {
  margin-right: 1.25rem;
}

.navbar__logo {
  margin-right: 0.55rem !important;
}

.navbar__logo img {
  height: 38px !important;
  width: 38px !important;
  max-height: 38px !important;
  border-radius: 50%;
  object-fit: cover;
}

.navbar__title {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #1c1917 !important;
  line-height: 1.1;
}

/* Sub-brand under the title (SiteHeader “by CommunityOne”). */
.navbar__title::after {
  content: 'by CommunityOne';
  display: block;
  font-family: 'Source Sans 3', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: #78716c;
  margin-top: 0.1rem;
  letter-spacing: 0;
}

.navbar__item {
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

.navbar__link {
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  padding: 0.35rem 0.55rem !important;
}

.navbar__link--active::after,
.navbar__link:hover:not(.navbar__link--active)::after {
  left: 0.55rem !important;
  transform: none !important;
  width: calc(100% - 1.1rem) !important;
  background-color: #0d9488 !important;
}

@media (max-width: 996px) {
  .navbar__title::after {
    display: none;
  }
}

/* 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 */
/* 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;
}

/* Phones: keep the C1 mark, drop the text title so it never clips under the search button (#1424).
   The logo img keeps alt="CommunityOne" as the link's accessible name. */
@media (max-width: 576px) {
  .navbar__title {
    display: none !important;
  }
  .navbar__brand {
    margin-right: 0.5rem;
  }
}