Repository navigation
Expand file tree
/
Copy pathcustom.css
More file actions
72 lines (65 loc) · 2.27 KB
/
Copy pathcustom.css
File metadata and controls
72 lines (65 loc) · 2.27 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
/* Card icons: tinted tile (documented data-component-part selector) */
[data-component-part="card-icon"] {
background: rgba(79, 70, 229, 0.08);
border-radius: 0.5rem;
padding: 0.4rem;
}
.dark [data-component-part="card-icon"] { background: rgba(165, 180, 252, 0.12); }
/* Cards — depth + hover, brand indigo */
.card {
border: 1px solid rgba(79, 70, 229, 0.08);
transition: all 0.2s ease;
}
.card:hover {
border-color: rgba(79, 70, 229, 0.22);
box-shadow: 0 8px 24px rgba(79, 70, 229, 0.07);
transform: translateY(-1px);
}
.dark .card:hover {
box-shadow: 0 8px 24px rgba(79, 70, 229, 0.14);
}
/* Headings — landing letter-spacing */
h1 { letter-spacing: -0.02em; }
h2 { margin-top: 2rem; }
/* Tables — cleaner */
table th {
background: rgba(79, 70, 229, 0.04);
font-weight: 600;
}
.dark table th { background: rgba(79, 70, 229, 0.10); }
table tr:hover { background: rgba(79, 70, 229, 0.02); }
/* Code blocks */
pre {
border: 1px solid rgba(11, 21, 51, 0.08) !important;
border-radius: 8px !important;
}
/* ---- Content links — brand indigo, underlined ---- */
#content-area a.link, .prose a.link {
color: #4F46E5 !important;
text-decoration: underline;
text-decoration-color: rgba(79, 70, 229, 0.35);
text-underline-offset: 2px;
font-weight: 500;
}
#content-area a.link:hover, .prose a.link:hover { text-decoration-color: #4F46E5 !important; }
.dark #content-area a.link, .dark .prose a.link { color: #A5B4FC !important; text-decoration-color: rgba(165, 180, 252, 0.4); }
/* ---- Announcement banner — match the landing's ink bar (#0B1533, white text) ---- */
#banner { background-color: #0B1533 !important; }
/* Release-phase pill: sits at the top of a preview page, next to the first line of its callout */
.preview-pill {
display: inline-block;
vertical-align: baseline;
margin-right: 0.35rem;
padding: 0.1rem 0.55rem;
border-radius: 9999px;
font-size: 0.72rem;
font-weight: 600;
letter-spacing: 0.02em;
line-height: 1.4;
color: #4338CA;
background: rgba(79, 70, 229, 0.12);
white-space: nowrap;
}
.dark .preview-pill { color: #C7D2FE; background: rgba(165, 180, 252, 0.16); }
.preview-pill-public { color: #047857; background: rgba(16, 185, 129, 0.12); }
.dark .preview-pill-public { color: #A7F3D0; background: rgba(52, 211, 153, 0.16); }