-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
160 lines (145 loc) · 5.3 KB
/
Copy pathstyles.css
File metadata and controls
160 lines (145 loc) · 5.3 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
:root {
--bg: #0b0e14;
--bg-soft: #11151f;
--card: #151b27;
--card-hover: #1a2231;
--border: #232c3d;
--text: #e6e9ef;
--muted: #9aa4b6;
--accent: #5db0ff;
--accent-soft: #1d3a5c;
--live: #34d399;
--dev: #fbbf24;
--pub: #a78bfa;
--radius: 14px;
--maxw: 1080px;
--font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
font-family: var(--font);
background: var(--bg);
color: var(--text);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
font-size: 0.88em;
background: rgba(255, 255, 255, 0.06);
padding: 0.1em 0.35em;
border-radius: 5px;
}
/* Header */
.site-header {
position: sticky;
top: 0;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 0.9rem clamp(1rem, 4vw, 2.5rem);
background: rgba(11, 14, 20, 0.8);
backdrop-filter: saturate(180%) blur(12px);
border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.55rem; color: var(--text); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark { color: var(--accent); font-size: 1.25rem; line-height: 1; }
.brand-name { letter-spacing: -0.01em; }
.site-nav { display: flex; gap: clamp(0.9rem, 3vw, 1.8rem); font-size: 0.95rem; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
/* Layout */
main { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 4vw, 2.5rem); }
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; border-top: 1px solid var(--border); }
.section-title { font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.4rem; letter-spacing: -0.02em; }
.section-lede { color: var(--muted); max-width: 60ch; margin: 0 0 2rem; }
/* Hero */
.hero { padding: clamp(3rem, 9vw, 6rem) 0 clamp(2rem, 5vw, 3.5rem); }
.hero h1 {
font-size: clamp(2.2rem, 7vw, 4rem);
line-height: 1.05;
letter-spacing: -0.03em;
margin: 0 0 1.2rem;
background: linear-gradient(180deg, #fff 0%, #b9c2d4 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.lede { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.lede strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2rem; }
/* Buttons */
.btn {
display: inline-block;
padding: 0.7rem 1.25rem;
border-radius: 10px;
border: 1px solid var(--border);
background: var(--bg-soft);
color: var(--text);
font-weight: 600;
font-size: 0.95rem;
transition: background 0.15s, border-color 0.15s, transform 0.1s;
}
.btn:hover { background: var(--card-hover); border-color: #2f3a4f; text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #06121f; border-color: var(--accent); }
.btn-primary:hover { background: #7ac0ff; border-color: #7ac0ff; }
.btn-sm { padding: 0.45rem 0.85rem; font-size: 0.88rem; border-radius: 8px; }
/* Grid + cards */
.grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 1.1rem;
}
.grid-compact { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
background: var(--card);
border: 1px solid var(--border);
border-radius: var(--radius);
padding: 1.4rem;
transition: border-color 0.15s, background 0.15s, transform 0.12s;
}
.card:hover { border-color: #303c52; background: var(--card-hover); transform: translateY(-2px); }
.card h3 { margin: 0; font-size: 1.18rem; letter-spacing: -0.01em; }
.card p { color: var(--muted); margin: 0.55rem 0 0; font-size: 0.97rem; }
.card p.card-tags { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; margin-top: 0.7rem; font-weight: 600; }
.card-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem; }
.card-links { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.card-os h3 { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.card-os .link { display: inline-block; margin-top: 1rem; font-size: 0.9rem; font-weight: 600; }
/* Badges */
.badge {
font-size: 0.72rem;
font-weight: 700;
padding: 0.2rem 0.55rem;
border-radius: 999px;
white-space: nowrap;
border: 1px solid transparent;
letter-spacing: 0.02em;
}
.badge-live { color: var(--live); background: rgba(52, 211, 153, 0.12); border-color: rgba(52, 211, 153, 0.3); }
.badge-dev { color: var(--dev); background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.3); }
.badge-pub { color: var(--pub); background: rgba(167, 139, 250, 0.14); border-color: rgba(167, 139, 250, 0.3); }
/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 2rem; }
.footer-inner {
max-width: var(--maxw);
margin: 0 auto;
padding: 1.6rem clamp(1rem, 4vw, 2.5rem);
display: flex;
justify-content: space-between;
align-items: center;
color: var(--muted);
font-size: 0.9rem;
}
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }
@media (max-width: 560px) {
.site-nav a:nth-child(1) { display: none; }
}