Forge
0d405cb9
1*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
2
3:root {
4 --bg: #0f172a;
5 --bg-surface: #1e293b;
6 --bg-card: #1e293b;
7 --bg-card-hover: #334155;
8 --text: #f1f5f9;
9 --text-secondary: #94a3b8;
10 --text-muted: #64748b;
11 --accent: #38bdf8;
12 --accent-hover: #7dd3fc;
13 --accent-dim: rgba(56, 189, 248, 0.12);
14 --border: #334155;
15 --radius: 12px;
16 --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
17}
18
19html { scroll-behavior: smooth; }
20@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
21
22body {
23 font-family: var(--font);
24 background: var(--bg);
25 color: var(--text);
26 line-height: 1.6;
27 -webkit-font-smoothing: antialiased;
28}
29
30.skip-link {
31 position: absolute;
32 top: -100%;
33 left: 1rem;
34 background: var(--accent);
35 color: var(--bg);
36 padding: 0.5rem 1rem;
37 border-radius: 0 0 var(--radius) var(--radius);
38 z-index: 100;
39 font-weight: 600;
40}
41.skip-link:focus { top: 0; }
42
43a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
44a:hover { color: var(--accent-hover); }
45a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
46
47nav {
48 position: sticky; top: 0; z-index: 50;
49 background: rgba(15, 23, 42, 0.85);
50 backdrop-filter: blur(12px);
51 border-bottom: 1px solid var(--border);
52 padding: 0 1.5rem;
53}
54nav .nav-inner {
55 max-width: 1100px; margin: 0 auto;
56 display: flex; align-items: center; justify-content: space-between;
57 gap: 1rem; min-height: 56px;
58}
59nav .logo { font-weight: 700; font-size: 1.05rem; color: var(--text); }
60nav .logo a { color: inherit; }
61nav .logo a:hover { color: var(--text); }
62nav .logo span { color: var(--accent); }
63nav .nav-right { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
64nav ul { list-style: none; display: flex; gap: 1.25rem; }
65nav ul a { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }
66nav ul a:hover { color: var(--accent); }
67nav ul.nav-lang { gap: 0.35rem; }
68nav ul.nav-lang a { font-size: 0.85rem; font-weight: 600; }
69nav ul.nav-lang a[aria-current="page"] { color: var(--accent); }
70nav ul.nav-lang .nav-sep { color: var(--text-muted); pointer-events: none; }
71
72.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }
73section { padding: 3.5rem 0; }
74.section-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
75.section-subtitle { color: var(--text-secondary); margin-bottom: 2rem; max-width: 42rem; }
76
77.hero {
78 min-height: calc(100vh - 56px);
79 display: flex; align-items: center;
80 position: relative; overflow: hidden;
81}
82.hero::before {
83 content: "";
84 position: absolute; top: -40%; right: -15%; width: 560px; height: 560px;
85 background: radial-gradient(circle, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
86 pointer-events: none;
87}
88.hero-content { position: relative; z-index: 1; max-width: 720px; }
89.hero-label {
90 display: inline-block;
91 padding: 0.35rem 0.9rem;
92 background: var(--accent-dim);
93 border: 1px solid rgba(56, 189, 248, 0.25);
94 border-radius: 999px;
95 font-size: 0.85rem; font-weight: 500;
96 color: var(--accent);
97 margin-bottom: 1.25rem;
98}
99.hero h1 { font-size: clamp(2rem, 5vw, 2.75rem); font-weight: 800; line-height: 1.15; margin-bottom: 1rem; }
100.hero h1 .accent { color: var(--accent); }
101.hero .lead { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1.75rem; max-width: 38rem; }
102.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
103.btn {
104 display: inline-flex; align-items: center;
105 padding: 0.65rem 1.25rem;
106 border-radius: var(--radius);
107 font-weight: 600; font-size: 0.95rem;
108}
109.btn-primary { background: var(--accent); color: var(--bg); }
110.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
111.btn-outline { border: 1px solid var(--border); color: var(--text); }
112.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
113
114.card-grid {
115 display: grid;
116 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
117 gap: 1.25rem;
118}
119.project-card {
120 background: var(--bg-card);
121 border: 1px solid var(--border);
122 border-radius: var(--radius);
123 padding: 1.25rem;
124 transition: border-color 0.2s, background 0.2s;
125}
126.project-card:hover { background: var(--bg-card-hover); border-color: rgba(56, 189, 248, 0.35); }
127.card-header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
128.card-icon { font-size: 1.5rem; line-height: 1; }
129.project-card h3 { font-size: 1rem; font-weight: 600; }
130.project-card h3 a { color: var(--text); }
131.project-card h3 a:hover { color: var(--accent); }
132.project-card .desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
133.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
134.tag {
135 font-size: 0.75rem; font-weight: 500;
136 padding: 0.2rem 0.55rem;
137 border-radius: 999px;
138 background: var(--accent-dim);
139 color: var(--accent);
140 border: 1px solid rgba(56, 189, 248, 0.2);
141}
142
143.link-list { list-style: none; display: grid; gap: 0.75rem; }
144.link-list a { font-weight: 500; }
145.link-list .meta { display: block; font-size: 0.85rem; color: var(--text-muted); font-weight: 400; margin-top: 0.15rem; }
146
147footer {
148 padding: 2.5rem 0;
149 border-top: 1px solid var(--border);
150 text-align: center;
151 color: var(--text-secondary);
152 font-size: 0.85rem;
153}
154footer .links { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1rem; }
155
View only · write via MCP/CIDE