-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshared.css
More file actions
347 lines (328 loc) · 15.8 KB
/
shared.css
File metadata and controls
347 lines (328 loc) · 15.8 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
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
/* ═══════════════════════════════════════════════════════════════════
UCSF BioRouter — Shared Stylesheet
Design: Clean & Warm — Arial-native typography
Colors: warm cream + coral accent (#cf6d47) + UCSF navy (#052049)
═══════════════════════════════════════════════════════════════════ */
/* ─── Reset & Design Tokens ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
/* Backgrounds */
--bg: #ffffff;
--bg-2: #faf7f0;
--bg-3: #f3ead8;
--bg-4: #e5d9bf;
--border: rgba(0,0,0,0.07);
--border-2: rgba(0,0,0,0.13);
/* Text */
--text: #1c1814;
--text-2: #665e55;
--text-3: #a49b8e;
/* Coral accent */
--accent: #cf6d47;
--accent-light:#da7e5a;
--accent-dim: rgba(207,109,71,0.08);
--accent-dim2: rgba(207,109,71,0.15);
/* UCSF Navy */
--ucsf: #052049;
/* Shape & motion */
--radius: 10px;
--radius-lg: 16px;
--radius-xl: 22px;
--shadow: 0 1px 12px rgba(0,0,0,0.06), 0 4px 20px rgba(0,0,0,0.04);
--shadow-lg: 0 4px 32px rgba(0,0,0,0.09), 0 16px 48px rgba(0,0,0,0.05);
--transition: 0.16s cubic-bezier(0.4,0,0.2,1);
}
html { scroll-behavior: smooth; }
body {
font-family: Arial, 'Helvetica Neue', Helvetica, -apple-system, BlinkMacSystemFont, sans-serif;
background: var(--bg);
color: var(--text);
line-height: 1.6;
min-height: 100vh;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
/* ─── Scrollbar ──────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg-4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #c9bfa6; }
/* ─── Navigation ─────────────────────────────────────────────────── */
#navbar {
position: fixed; top: 0; left: 0; right: 0; z-index: 100;
background: rgba(255,255,255,0.88);
backdrop-filter: blur(24px) saturate(160%);
-webkit-backdrop-filter: blur(24px) saturate(160%);
border-bottom: 1px solid var(--border);
padding: 0 28px;
display: flex; align-items: center; justify-content: space-between;
height: 58px;
}
.nav-brand {
display: flex; align-items: center; gap: 9px;
text-decoration: none; color: var(--text);
flex-shrink: 0;
}
.nav-logo { width: 26px; height: 26px; border-radius: 6px; }
.nav-title {
font-size: 14px; font-weight: 700; letter-spacing: -0.2px;
}
.nav-tabs {
display: flex; align-items: center; gap: 0;
list-style: none;
}
.nav-tabs li a {
display: block; padding: 6px 13px;
color: var(--text-2); text-decoration: none;
font-size: 13px; font-weight: 700;
letter-spacing: 0.1px;
border-radius: 7px;
transition: color var(--transition), background var(--transition);
}
.nav-tabs li a:hover { color: var(--text); background: var(--bg-3); }
.nav-tabs li a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.nav-gh-btn {
display: inline-flex; align-items: center; gap: 5px;
padding: 5px 13px; border-radius: 7px;
background: var(--bg-2); border: 1px solid var(--border-2);
color: var(--text-2); text-decoration: none;
font-size: 13px; font-weight: 700;
transition: var(--transition);
}
.nav-gh-btn:hover { color: var(--text); border-color: var(--accent); background: var(--bg-3); }
.hamburger {
display: none; flex-direction: column; gap: 5px;
background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { width: 20px; height: 2px; background: var(--text-2); border-radius: 2px; transition: var(--transition); }
.mobile-menu {
display: none; position: fixed; top: 58px; left: 0; right: 0; z-index: 99;
background: rgba(255,255,255,0.97);
backdrop-filter: blur(20px);
border-bottom: 1px solid var(--border);
padding: 10px 16px;
flex-direction: column; gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
padding: 10px 14px; border-radius: 8px;
color: var(--text-2); text-decoration: none;
font-size: 14px; font-weight: 700;
transition: var(--transition);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--accent); background: var(--accent-dim); }
/* ─── Page wrapper ───────────────────────────────────────────────── */
.page { padding-top: 58px; min-height: 100vh; }
/* ─── Buttons ────────────────────────────────────────────────────── */
.btn-primary {
display: inline-flex; align-items: center; gap: 7px;
padding: 12px 26px; border-radius: var(--radius);
background: var(--accent); color: #fff;
font-family: inherit; font-size: 14px; font-weight: 700;
text-decoration: none; border: none; cursor: pointer;
transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
box-shadow: 0 3px 14px rgba(207,109,71,0.30);
letter-spacing: 0.1px;
}
.btn-primary:hover {
background: var(--accent-light);
box-shadow: 0 6px 22px rgba(207,109,71,0.40);
transform: translateY(-1px);
}
.btn-secondary {
display: inline-flex; align-items: center; gap: 7px;
padding: 12px 26px; border-radius: var(--radius);
background: transparent; color: var(--text);
font-family: inherit; font-size: 14px; font-weight: 700;
text-decoration: none; border: 1px solid var(--border-2); cursor: pointer;
transition: var(--transition);
letter-spacing: 0.1px;
}
.btn-secondary:hover { background: var(--bg-2); border-color: var(--accent); color: var(--accent); transform: translateY(-1px); }
.btn-sm { padding: 7px 15px; font-size: 12px; }
/* ─── Section label ──────────────────────────────────────────────── */
.section-label { text-align: center; margin-bottom: 52px; }
.section-label .eyebrow {
display: inline-block;
font-size: 10px; font-weight: 700; letter-spacing: 1.8px;
text-transform: uppercase; color: var(--accent);
margin-bottom: 12px;
}
.section-label h2 {
font-size: clamp(22px, 3.5vw, 34px); font-weight: 700;
letter-spacing: -0.8px; line-height: 1.15;
color: var(--text);
}
.section-label p {
color: var(--text-2); margin-top: 12px;
max-width: 480px; margin-left: auto; margin-right: auto;
font-size: 15px; line-height: 1.65;
}
/* ─── Cards ──────────────────────────────────────────────────────── */
.card-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
gap: 14px;
}
.feature-card {
background: var(--bg-2);
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 26px 28px;
transition: border-color var(--transition), background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover {
border-color: rgba(207,109,71,0.35);
background: var(--bg-3);
transform: translateY(-2px);
box-shadow: 0 6px 28px rgba(207,109,71,0.08);
}
.feature-icon {
width: 38px; height: 38px; border-radius: 9px;
background: var(--accent-dim);
display: flex; align-items: center; justify-content: center;
font-size: 18px; margin-bottom: 14px;
border: 1px solid rgba(207,109,71,0.16);
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 7px; letter-spacing: -0.1px; }
.feature-card p { font-size: 13px; color: var(--text-2); line-height: 1.65; }
/* ─── Info / alert boxes ─────────────────────────────────────────── */
.info-box {
background: var(--bg-2); border: 1px solid var(--border);
border-left: 3px solid var(--accent);
border-radius: var(--radius); padding: 18px 22px;
}
.info-box h4 { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 7px; }
.info-box p { font-size: 14px; color: var(--text-2); line-height: 1.65; }
.info-box a { color: var(--accent); text-decoration: none; }
.info-box a:hover { text-decoration: underline; }
.alert {
padding: 12px 16px; border-radius: var(--radius);
margin: 14px 0; font-size: 14px; line-height: 1.6;
}
.alert-warning { background: rgba(250,160,30,0.06); border: 1px solid rgba(250,160,30,0.18); color: #a97010; }
.alert-info { background: var(--accent-dim); border: 1px solid rgba(207,109,71,0.18); color: var(--accent); }
.alert strong { color: inherit; }
/* ─── Code ───────────────────────────────────────────────────────── */
pre, .code-block {
background: var(--bg-3); border: 1px solid var(--border);
border-radius: var(--radius); padding: 14px 18px;
font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
font-size: 13px; color: #3a3020;
overflow-x: auto; margin: 14px 0;
line-height: 1.65;
}
code {
font-family: 'Menlo', 'Consolas', 'Courier New', monospace;
font-size: 12.5px;
background: var(--bg-3); padding: 2px 5px;
border-radius: 4px; color: #b85c35;
}
pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
/* ─── Tables ─────────────────────────────────────────────────────── */
.doc-table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.doc-table th {
text-align: left; padding: 9px 14px;
font-size: 11px; font-weight: 700; letter-spacing: 0.8px;
text-transform: uppercase; color: var(--text-3);
background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.doc-table td {
padding: 9px 14px; font-size: 14px; color: var(--text-2);
border-bottom: 1px solid var(--border); vertical-align: middle;
}
.doc-table tr:last-child td { border-bottom: none; }
.doc-table tr:hover td { background: rgba(0,0,0,0.015); }
.doc-table a { color: var(--accent); text-decoration: none; }
.doc-table a:hover { text-decoration: underline; }
/* ─── Doc page typography ────────────────────────────────────────── */
.doc-page h1 { font-size: 30px; font-weight: 700; letter-spacing: -0.8px; margin-bottom: 7px; }
.doc-page .doc-intro { font-size: 15px; color: var(--text-2); margin-bottom: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--border); line-height: 1.65; }
.doc-page h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.4px; margin: 32px 0 14px; }
.doc-page h3 { font-size: 15px; font-weight: 700; margin: 22px 0 10px; }
.doc-page p { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 14px; }
.doc-page ul, .doc-page ol { padding-left: 22px; margin-bottom: 14px; }
.doc-page li { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 5px; }
.doc-page a { color: var(--accent); text-decoration: none; }
.doc-page a:hover { text-decoration: underline; }
.doc-page strong { color: var(--text); font-weight: 700; }
/* ─── Step cards ─────────────────────────────────────────────────── */
.step-card {
display: flex; gap: 14px;
background: var(--bg-2); border: 1px solid var(--border);
border-radius: var(--radius-lg); padding: 22px 24px;
margin-bottom: 12px;
}
.step-num {
flex-shrink: 0; width: 30px; height: 30px;
border-radius: 50%; background: var(--accent);
display: flex; align-items: center; justify-content: center;
font-size: 13px; font-weight: 700; color: #fff;
}
.step-content h3 { margin-top: 4px; margin-bottom: 7px; font-size: 15px; font-weight: 700; }
.step-content p { font-size: 13px; color: var(--text-2); line-height: 1.65; margin-bottom: 7px; }
.step-content ul { padding-left: 18px; }
.step-content li { font-size: 13px; color: var(--text-2); line-height: 1.7; margin-bottom: 3px; }
.step-content a { color: var(--accent); text-decoration: none; }
.step-content a:hover { text-decoration: underline; }
.step-content strong { color: var(--text); font-weight: 700; }
/* ─── Provider chips ─────────────────────────────────────────────── */
.provider-grid { display: flex; flex-wrap: wrap; gap: 9px; justify-content: center; margin-top: 28px; }
.provider-chip {
display: inline-flex; align-items: center; gap: 6px;
padding: 7px 15px; border-radius: 100px;
background: var(--bg-2); border: 1px solid var(--border-2);
font-size: 12px; font-weight: 700; color: var(--text-2);
letter-spacing: 0.1px;
transition: var(--transition);
}
.provider-chip:hover { border-color: var(--accent); color: var(--text); }
.provider-chip.highlight { border-color: rgba(207,109,71,0.35); color: var(--accent); background: var(--accent-dim); }
/* ─── Divider ────────────────────────────────────────────────────── */
.h-rule { height: 1px; background: var(--border); margin: 44px 0; }
/* ─── Tags ───────────────────────────────────────────────────────── */
.tag {
padding: 3px 9px; border-radius: 100px;
font-size: 10px; font-weight: 700;
background: var(--bg-4); color: var(--text-3);
border: 1px solid var(--border);
letter-spacing: 0.3px;
}
.tag.ucsf { background: rgba(5,32,73,0.06); color: #052049; border-color: rgba(5,32,73,0.13); }
.tag.mcp { background: var(--accent-dim); color: var(--accent); border-color: rgba(207,109,71,0.18); }
.tag.federated { background: rgba(5,32,73,0.06); color: #052049; border-color: rgba(5,32,73,0.13); font-weight: 700; }
/* ─── Footer ─────────────────────────────────────────────────────── */
footer {
border-top: 1px solid var(--border);
padding: 28px 24px;
text-align: center;
color: var(--text-3);
font-size: 13px;
}
footer a { color: var(--text-3); text-decoration: none; }
footer a:hover { color: var(--accent); }
footer p + p { margin-top: 5px; }
/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 768px) {
.nav-tabs, .nav-right { display: none; }
.hamburger { display: flex; }
}
@media (max-width: 480px) {
.card-grid { grid-template-columns: 1fr; }
.step-card { flex-direction: column; }
}
/* ─── Animations ─────────────────────────────────────────────────── */
@keyframes pulse {
0%, 100% { opacity: 0.5; transform: scale(1); }
50% { opacity: 0.9; transform: scale(1.06); }
}
@keyframes blink {
0%, 100% { opacity: 1; }
50% { opacity: 0.25; }
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(6px); }
to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.38s ease forwards; }