Repository navigation
Expand file tree
/
Copy pathnotes.css
More file actions
152 lines (130 loc) · 7.13 KB
/
Copy pathnotes.css
File metadata and controls
152 lines (130 loc) · 7.13 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
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
/* ── THEME TOKENS ── */
:root {
--bg: #0d1f2e;
--card: #192f44;
--border: #1b4965;
--text-bright: #cae9ff;
--text: #5fa8d3;
--text-dim: #4e86aa;
--accent: #62b6cb;
--highlight: #bee9e8;
--warning: #f8c46a;
--danger: #f08080;
/* Hanging indent shared by every bulleted list, so contexts stay aligned */
--list-indent: 20px;
}
/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
/* ── BASE ── */
body {
background: var(--bg);
color: var(--text-bright);
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
font-size: 14px;
line-height: 1.7;
-webkit-font-smoothing: antialiased;
font-variant-emoji: text;
}
/* ── HERO ── */
.hero {
padding: 60px 32px 44px;
text-align: center;
border-bottom: 1px solid var(--border);
position: relative;
overflow: hidden;
background: linear-gradient(160deg, var(--bg) 0%, #112234 50%, var(--bg) 100%);
}
.hero::before {
content: '';
position: absolute; inset: 0;
background: radial-gradient(ellipse 60% 40% at 50% 0%, #62b6cb18, transparent);
pointer-events: none;
}
.hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--accent); text-transform: uppercase; margin-bottom: 12px; }
.hero h1 {
font-size: clamp(26px, 5vw, 46px);
font-weight: 700; letter-spacing: -.025em; line-height: 1.15; margin-bottom: 12px;
background: linear-gradient(135deg, var(--text-bright) 30%, var(--accent));
-webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { color: var(--text); font-size: 14px; max-width: 460px; margin: 0 auto 28px; }
.hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.hero-tag { background: var(--bg); border: 1px solid var(--border); color: var(--text); font-size: 11px; padding: 3px 10px; border-radius: 20px; }
/* ── NAV ── */
nav {
position: sticky; top: 0; z-index: 100;
background: #0d1f2edd;
backdrop-filter: blur(16px) saturate(150%);
border-bottom: 1px solid var(--border);
padding: 0 24px;
display: flex; gap: 2px; align-items: center; height: 46px;
overflow-x: auto;
}
nav::-webkit-scrollbar { height: 0; }
.nav-brand { color: var(--accent); font-weight: 700; font-size: 13px; margin-right: 16px; white-space: nowrap; flex-shrink: 0; }
nav a { color: var(--text-dim); text-decoration: none; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; transition: background .15s, color .15s; white-space: nowrap; flex-shrink: 0; }
nav a:hover, nav a.active { background: var(--bg); color: var(--text-bright); }
/* ── SECTIONS ── */
section { padding: 36px 28px; border-bottom: 1px solid var(--border); scroll-margin-top: 64px; }
.si { max-width: 1100px; margin: 0 auto; }
h2 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; letter-spacing: -.01em; }
h3 { font-size: 13px; font-weight: 600; color: var(--text); margin: 16px 0 8px; }
p { color: var(--text); }
/* ── GRID ── */
.grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grid-halves { grid-template-columns: 1fr 1fr; }
/* ── CARDS ── */
.card { background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 15px 17px; transition: border-color .2s, box-shadow .2s; }
.card-title { font-size: 13px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 7px; color: var(--text); }
.card-title strong { color: var(--text-bright); font-weight: 600; }
.card ul { padding-left: var(--list-indent); color: var(--text); }
.card ul li { margin-bottom: 5px; font-size: 13px; }
.card ul li strong { color: var(--text-bright); font-weight: 600; }
/* ── INNER CARD ── */
.inner-card { background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 12px; }
.accent-card { background: var(--bg); border: 1px solid var(--accent); border-radius: 8px; padding: 12px; }
/* ── BADGE / TAG ── */
.badge { display: inline-flex; align-items: center; padding: 2px 8px; border-radius: 5px; font-size: 11px; font-weight: 600; flex-shrink: 0; background: var(--bg); color: var(--text-bright); border: 1px solid var(--border); }
.tag { font-size: 10px; font-weight: 500; background: var(--card); color: var(--text); padding: 2px 8px; border-radius: 4px; }
/* ── LINKS ── */
.links { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
a.ref-link { color: var(--text); text-decoration: none; }
a.ref-link:hover { color: var(--accent); }
/* ── CLICKABLE CARD ── */
a.card-link { display: block; text-decoration: none; color: inherit; }
a.card-link .card { cursor: pointer; }
a.card-link:hover .card { border-color: var(--accent); box-shadow: 0 0 0 1px #62b6cb20, 0 4px 16px #0006; }
/* ── HASH TAGS ── */
.hash-tag { font-size: 11px; color: var(--text-dim); font-weight: 500; }
.hash-tag::before { content: "#"; color: var(--text-dim); }
/* ── CALLOUT ── */
.callout { border-radius: 8px; padding: 9px 13px; margin: 9px 0; font-size: 13px; background: var(--bg); border: 1px solid var(--border); color: var(--highlight); }
.card .callout { margin-top: 8px; margin-bottom: 0; }
/* ── INSIGHT ── */
.insight { padding: 16px 20px; margin-bottom: 16px; text-align: center; }
.insight p { color: var(--highlight); font-size: 15px; line-height: 1.6; }
/* ── QUOTE ── */
.quote { border-left: 2px solid var(--text); padding: 4px 0 4px 12px; color: var(--text); font-style: italic; list-style: none; margin-left: 0; line-height: 1.6; }
/* ── ANNOTATION ── */
.annotation { color: var(--warning); font-style: normal; }
.annotation::before { content: "📌 "; font-style: normal; font-weight: 600; }
/* ── TABLE ── */
table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table-scroll { overflow-x: auto; margin-top: 8px; }
th { background: var(--card); color: var(--text); font-weight: 600; padding: 9px 13px; text-align: left; border-bottom: 1px solid var(--border); }
th[scope="col"] { color: var(--text-bright); letter-spacing: .04em; text-transform: uppercase; }
th[scope="row"] { color: var(--text-bright); white-space: nowrap; }
td { background: var(--card); color: var(--text); padding: 9px 13px; border-bottom: 1px solid var(--border); vertical-align: top; }
td strong { color: var(--text-bright); }
/* ── SVG WRAP ── */
.svg-wrap { overflow-x: auto; padding: 4px 0; }
svg text { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; }
/* ── ICON (grayscale emoji) ── */
.em { filter: grayscale(1) brightness(1.4); display: inline-block; }
/* ── FOOTER ── */
footer { text-align: center; padding: 28px 24px; color: var(--text-dim); font-size: 12px; border-top: 1px solid var(--border); }
footer span { color: var(--accent); }