Repository navigation
Expand file tree
/
Copy pathstyles.min.css
More file actions
135 lines (116 loc) · 5.87 KB
/
Copy pathstyles.min.css
File metadata and controls
135 lines (116 loc) · 5.87 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
:root {
--ink: #0a0a0a;
--accent: #0a0a0a;
--accent-dark: #0a0a0a;
--paper: #f3f3f3;
--card: #ffffff;
--muted: #4b4b4b;
--line: #cfcfcf;
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
min-height: 100vh;
margin: 0;
display: flex;
flex-direction: column;
background: var(--paper);
color: var(--ink);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
line-height: 1.6;
}
.navbar {
width: 100%;
min-height: 78px;
padding: 0 4.5vw;
display: flex;
align-items: center;
justify-content: space-between;
position: sticky;
top: 0;
z-index: 10;
background: var(--ink);
box-shadow: 0 2px 14px rgba(0, 0, 0, 0.18);
}
.logo { margin: 0; font-size: 1.55rem; letter-spacing: 0.03em; }
.navbar a { color: #fff; text-decoration: none; }
.nav-list { display: flex; gap: 1.1rem; margin: 0; padding: 0; list-style: none; }
.nav-list a {
padding: 0.45rem 0;
border-bottom: 2px solid transparent;
font-size: 0.76rem;
font-weight: 700;
letter-spacing: 0.09em;
text-transform: uppercase;
transition: color 180ms ease, border-color 180ms ease;
}
.nav-list a:hover, .nav-list a:focus-visible { color: #d6d6d6; border-bottom-color: #d6d6d6; }
main { width: min(1120px, 100%); flex: 1; margin: 0 auto; padding: 4.5rem 1.5rem 5rem; }
.page-title {
margin: 0 0 2.5rem;
color: var(--ink);
font-size: clamp(2.35rem, 5vw, 4rem);
line-height: 1.05;
letter-spacing: -0.045em;
text-align: center;
text-transform: uppercase;
}
.page-title::after { content: ""; display: block; width: 56px; height: 4px; margin: 1rem auto 0; border-radius: 999px; background: var(--accent); }
.about, .project, .resume, #contact-form, .stats-intro, .stats-note {
width: 100%;
max-width: 980px;
margin: 0 auto;
padding: clamp(1.5rem, 4vw, 3rem);
border: 1px solid var(--line);
border-radius: 18px;
background: var(--card);
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.08);
}
.about { display: flex; align-items: center; gap: clamp(1.75rem, 4vw, 3.5rem); }
.about-image { flex: 0 0 min(38%, 320px); }
.about-image img, .project img { display: block; width: 100%; border-radius: 0; filter: grayscale(100%); box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14); }
.about-text { max-width: 630px; font-size: 1.05rem; }
.about-text p:first-child { margin-top: 0; }
.about-text p:last-child { margin-bottom: 0; color: var(--muted); }
.about-text em { color: var(--accent-dark); font-weight: 600; }
.project { max-width: 620px; text-align: center; transition: transform 180ms ease, box-shadow 180ms ease; }
.project:hover { transform: translateY(-5px); box-shadow: 0 20px 42px rgba(0, 0, 0, 0.14); }
.project img { margin: 0 auto 1.5rem; max-width: 360px; }
.project-name { margin: 0; font-size: 1.45rem; font-weight: 700; }
.project-description, .entry-description, .entry-info { color: var(--muted); }
.project a, main > a { color: var(--accent-dark); font-weight: 700; }
.project a:hover, main > a:hover { color: var(--ink); }
.resume { max-width: 900px; }
.section + .section { margin-top: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--line); }
.section-title { margin: 0 0 1.25rem; color: var(--accent-dark); font-size: 1.35rem; letter-spacing: 0.08em; text-transform: uppercase; }
.entry + .entry { margin-top: 1.75rem; }
.entry-title { margin: 0; color: var(--ink); font-size: 1.15rem; }
.entry-info, .entry-description { margin: 0.35rem 0 0; }
.course-list, .skill-list { margin: 0; padding-left: 1.25rem; }
#contact-form { max-width: 650px; display: grid; gap: 0.55rem; }
#contact-form label { margin-top: 0.6rem; color: var(--ink); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
#contact-form input, #contact-form textarea { width: 100%; padding: 0.8rem 0.9rem; border: 1px solid #bdc9d8; border-radius: 8px; background: #fff; color: var(--ink); font: inherit; }
#contact-form textarea { min-height: 150px; resize: vertical; }
#contact-form input:focus, #contact-form textarea:focus { outline: 3px solid rgba(0, 0, 0, 0.2); border-color: var(--accent); }
#contact-form input[type="submit"] { width: fit-content; margin-top: 1rem; padding: 0.75rem 1.25rem; border: 0; background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; transition: background 180ms ease, transform 180ms ease; }
#contact-form input[type="submit"]:hover { background: var(--accent-dark); transform: translateY(-2px); }
.stats-intro { max-width: 860px; text-align: center; }
.stats-intro h2, .stats-note h2 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.stats-kicker { margin: 0 0 0.5rem; color: var(--accent-dark); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.13em; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 980px; margin: 1.25rem auto; }
.stat-card { padding: 1.5rem; border: 1px solid var(--line); border-radius: 0; background: var(--card); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06); }
.stat-label { margin: 0; color: var(--muted); font-size: 0.84rem; font-weight: 700; }
.stat-value { margin: 0.45rem 0; color: var(--accent-dark); font-size: 2rem; font-weight: 800; letter-spacing: -0.06em; }
.stat-card p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.9rem; }
.stats-note { max-width: 860px; text-align: center; }
.stats-note p { margin-bottom: 0; color: var(--muted); }
.footer { padding: 1.1rem 1.5rem; background: var(--ink); color: #fff; font-size: 0.9rem; text-align: center; }
@media (max-width: 820px) {
.navbar { min-height: 0; padding: 1.15rem 1.25rem; flex-direction: column; gap: 0.9rem; }
.nav-list { flex-wrap: wrap; justify-content: center; gap: 0.55rem 1rem; }
.about { flex-direction: column; align-items: stretch; }
.about-image { flex-basis: auto; }
.about-image img { width: 100%; }
.stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }