Repository navigation
Expand file tree
/
Copy pathstyle.css
More file actions
156 lines (155 loc) · 5.63 KB
/
Copy pathstyle.css
File metadata and controls
156 lines (155 loc) · 5.63 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
:root {
--bg: #0d0f12;
--panel: #15181d;
--panel-hover: #191d23;
--text: #f2f4f7;
--muted: #9aa3af;
--line: #2a3038;
--accent: #d8dee9;
--tag: #20252c;
--max-width: 1120px;
--radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
margin: 0;
min-height: 100vh;
background: var(--bg);
color: var(--text);
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
line-height: 1.55;
}
a { color: inherit; }
button { font: inherit; }
.container { width: min(calc(100% - 32px), var(--max-width)); margin-inline: auto; }
.site-header {
border-bottom: 1px solid var(--line);
background: color-mix(in srgb, var(--bg) 88%, transparent);
backdrop-filter: blur(12px);
position: sticky;
top: 0;
z-index: 10;
}
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.brand { text-decoration: none; font-weight: 750; letter-spacing: -0.03em; font-size: 1.1rem; }
.github-link, .project-link { text-decoration: none; color: var(--muted); }
.github-link:hover, .project-link:hover { color: var(--text); }
.language-switch { display: flex; align-items: center; gap: 7px; color: var(--muted); }
.language-button {
appearance: none;
border: 0;
border-bottom: 1px solid transparent;
padding: 3px 0 2px;
background: transparent;
color: var(--muted);
cursor: pointer;
font-size: 0.78rem;
font-weight: 650;
letter-spacing: 0.06em;
}
.language-button:hover { color: var(--text); }
.language-button.is-active { color: var(--text); border-bottom-color: var(--text); }
.language-separator { color: #4c5561; user-select: none; }
.hero { padding: 84px 0 52px; max-width: 800px; }
.eyebrow {
margin: 0 0 12px;
color: var(--muted);
font-size: 0.8rem;
font-weight: 700;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.hero h1 {
margin: 0;
font-size: clamp(2.25rem, 7vw, 4.9rem);
line-height: 0.98;
letter-spacing: -0.055em;
max-width: 900px;
}
.hero-copy { margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 2vw, 1.2rem); }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 22px; }
.filters { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.filter-button {
appearance: none;
border: 0;
border-bottom: 1px solid transparent;
border-radius: 0;
background: transparent;
color: var(--muted);
padding: 4px 0 3px;
font-size: 0.84rem;
cursor: pointer;
}
.filter-button:hover { color: var(--text); }
.filter-button.is-active { color: var(--text); border-bottom-color: var(--text); }
.project-count { margin: 0; color: var(--muted); white-space: nowrap; font-size: 0.88rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 72px; }
.project-card {
min-width: 0;
overflow: hidden;
border: 1px solid var(--line);
border-radius: var(--radius);
background: var(--panel);
transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}
.project-card:hover { transform: translateY(-2px); border-color: #3b434d; background: var(--panel-hover); }
.project-image {
display: block;
width: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
object-position: center top;
background: linear-gradient(135deg, #1d2229, #111419);
border-bottom: 1px solid var(--line);
}
.project-image-placeholder {
width: 100%;
aspect-ratio: 16 / 9;
display: grid;
place-items: center;
border-bottom: 1px solid var(--line);
background: linear-gradient(135deg, transparent 0 48%, #222832 49% 51%, transparent 52%), linear-gradient(45deg, #171b20, #111419);
color: #596270;
font-size: 0.78rem;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.project-body { padding: 22px; }
.project-topline { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.project-title { margin: 0; font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.025em; }
.project-status { flex: none; color: var(--muted); font-size: 0.78rem; }
.project-description { margin: 0; color: var(--muted); min-height: 3.1em; }
.project-highlight {
margin-top: 18px;
padding: 14px 0 0 15px;
border-top: 1px solid var(--line);
border-left: 2px solid #48515d;
}
.project-highlight-label {
display: block;
margin-bottom: 5px;
color: var(--text);
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.project-highlight p { margin: 0; color: #c1c8d1; font-size: 0.9rem; line-height: 1.5; }
.project-tags { list-style: none; display: flex; gap: 7px; flex-wrap: wrap; padding: 0; margin: 20px 0 0; }
.project-tag { border-radius: 999px; background: var(--tag); color: #bac2cc; padding: 4px 9px; font-size: 0.75rem; }
.project-links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 22px; padding-top: 17px; border-top: 1px solid var(--line); font-size: 0.88rem; }
.project-link::after { content: " ↗"; }
.load-error { margin: 0 0 72px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted); background: var(--panel); }
.site-footer { padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
@media (max-width: 760px) {
.header-actions { gap: 14px; }
.hero { padding-top: 56px; }
.toolbar { align-items: flex-start; flex-direction: column; }
.filters { gap: 14px; }
.project-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}