redesign the site as a technical minimalist TUI
Replace the glassy hero treatment with a terminal and TUI vocabulary while keeping the layout minimal: - Switch the type stack to JetBrains Mono and flatten every surface: hairline borders, square corners, no blur or glow, and a faint graph-paper grid in place of the radial gradients. - Rebuild the home hero as a terminal window whose output is typed in on load; the old mouse-parallax glow script becomes that typing sequence, and it no-ops under prefers-reduced-motion. - Give the projects, about, and entry panels title bars, and render cards with a metadata strip, status dot, ISO date, and prompt-style links. - Hide the inline nav behind the hamburger on narrow screens; the old rule was outranked by the #menu id selector and never applied. - Add an SVG favicon, which also clears the only 404 on the site. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2e67914fd6
commit
8595290318
10 files changed
+1270
-1167
No files matched your search
+201
-151
@@ -1,193 +1,243 @@
|
||||
.container {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(280px, 320px) repeat(3, 1fr);
|
||||
grid-template-areas:
|
||||
"pro about about about"
|
||||
"pro other other other"
|
||||
"footer footer footer footer";
|
||||
grid-template-rows: auto 1fr auto;
|
||||
gap: 24px;
|
||||
padding-top: 18px;
|
||||
min-height: calc(100vh - 132px);
|
||||
align-items: stretch;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 300px) repeat(3, 1fr);
|
||||
grid-template-areas:
|
||||
"pro about about about"
|
||||
"pro other other other"
|
||||
"footer footer footer footer";
|
||||
grid-template-rows: auto 1fr auto;
|
||||
gap: 18px;
|
||||
padding-top: 22px;
|
||||
min-height: calc(100vh - 120px);
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.left-content {
|
||||
grid-area: pro;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
grid-area: pro;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 18px;
|
||||
}
|
||||
|
||||
.about {
|
||||
grid-area: about;
|
||||
grid-area: about;
|
||||
}
|
||||
|
||||
.honors {
|
||||
grid-area: other;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
grid-area: other;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.footer {
|
||||
grid-area: footer;
|
||||
grid-area: footer;
|
||||
}
|
||||
|
||||
.about {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
/* ----------------------------------------------------------- TUI panels */
|
||||
|
||||
section {
|
||||
transition: 0.8s;
|
||||
padding: 24px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
|
||||
linear-gradient(135deg, rgba(235, 82, 52, 0.05), transparent 48%),
|
||||
rgba(20, 21, 24, 0.36);
|
||||
border-radius: 22px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.1);
|
||||
box-shadow:
|
||||
0 18px 44px rgba(0, 0, 0, 0.16),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.12),
|
||||
inset 0 -1px 0 rgba(255, 255, 255, 0.03);
|
||||
backdrop-filter: blur(14px) saturate(120%);
|
||||
-webkit-backdrop-filter: blur(14px) saturate(120%);
|
||||
padding: 0;
|
||||
background: var(--surface);
|
||||
border: 1px solid var(--border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
body.light section {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.42)),
|
||||
linear-gradient(135deg, rgba(235, 82, 52, 0.04), transparent 48%),
|
||||
rgba(255, 255, 255, 0.34);
|
||||
border-color: rgba(255, 255, 255, 0.52);
|
||||
box-shadow:
|
||||
0 16px 36px rgba(0, 0, 0, 0.06),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.72),
|
||||
inset 0 -1px 0 rgba(255, 255, 255, 0.22);
|
||||
.panel__bar {
|
||||
margin: 0;
|
||||
padding: 6px 12px;
|
||||
background: var(--bar);
|
||||
border-bottom: 1px solid var(--border);
|
||||
font-size: 0.92rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.02em;
|
||||
color: var(--bright);
|
||||
}
|
||||
|
||||
section h3 {
|
||||
margin-top: 0;
|
||||
margin-bottom: 14px;
|
||||
font-size: 1.2rem;
|
||||
.panel__bar::before {
|
||||
content: "▸ ";
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
#profile {
|
||||
background-image: linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)), url("../images/pic.png");
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
color: #d8d8d9;
|
||||
border-bottom-right-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
margin-bottom: 0;
|
||||
.panel__body {
|
||||
padding: 16px;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#skills {
|
||||
border-top-left-radius: 0;
|
||||
border-top-right-radius: 0;
|
||||
flex: 1;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
#profile img {
|
||||
border: 4px solid rgba(235, 82, 52, 0.18);
|
||||
box-shadow: var(--shadow);
|
||||
#profile .panel__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
#profile img.profile {
|
||||
width: 100%;
|
||||
max-width: 180px;
|
||||
aspect-ratio: 1;
|
||||
object-fit: cover;
|
||||
border: 1px solid var(--border-strong);
|
||||
border-radius: 0;
|
||||
filter: grayscale(0.3) contrast(1.03);
|
||||
}
|
||||
|
||||
.profile-sub {
|
||||
background:
|
||||
linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.42)),
|
||||
rgba(0, 0, 0, 0.36);
|
||||
padding: 16px;
|
||||
border-radius: 14px;
|
||||
margin-top: 16px;
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.profile-sub .profile-name,
|
||||
.profile-sub .profile-role,
|
||||
.profile-sub .profile-focus {
|
||||
color: #f4f1ed;
|
||||
}
|
||||
|
||||
.skills-list {
|
||||
padding-left: 18px;
|
||||
}
|
||||
|
||||
.skills-list li {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.text {
|
||||
font-weight: 400;
|
||||
transition: 0.8s;
|
||||
margin: 0 0 14px;
|
||||
}
|
||||
|
||||
dt {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-left: 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.honor-inline-link {
|
||||
display: inline-block;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.honor-subitem {
|
||||
margin-top: 10px;
|
||||
padding-left: 14px;
|
||||
}
|
||||
|
||||
.honor-subitem__label {
|
||||
display: inline-block;
|
||||
font-size: 0.74rem;
|
||||
font-weight: 600;
|
||||
letter-spacing: 0.06em;
|
||||
text-transform: uppercase;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.honor-subitem__text {
|
||||
margin: 4px 0 0;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.honors dl,
|
||||
.skills-list {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 920px) {
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: auto;
|
||||
}
|
||||
|
||||
#skills {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.profile-name {
|
||||
margin: 0 0 6px;
|
||||
font-size: clamp(1.45rem, 2vw, 1.9rem);
|
||||
line-height: 1.1;
|
||||
margin: 0 0 4px;
|
||||
font-size: 1.15rem;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.profile-role,
|
||||
.profile-focus {
|
||||
margin: 0;
|
||||
margin: 0;
|
||||
font-size: 0.82rem;
|
||||
color: var(--primary);
|
||||
padding-left: 14px;
|
||||
text-indent: -14px;
|
||||
}
|
||||
|
||||
.profile-focus {
|
||||
margin-top: 6px;
|
||||
color: rgba(255, 255, 255, 0.76);
|
||||
margin-top: 6px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.profile-role::before,
|
||||
.profile-focus::before {
|
||||
content: "#\00a0";
|
||||
color: var(--border-strong);
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------- contents */
|
||||
|
||||
.skills-list {
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.skills-list li {
|
||||
margin-bottom: 4px;
|
||||
color: var(--primary);
|
||||
padding-left: 14px;
|
||||
text-indent: -14px;
|
||||
}
|
||||
|
||||
.skills-list li::before {
|
||||
content: "-\00a0";
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.text {
|
||||
font-weight: 400;
|
||||
margin: 0 0 14px;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.about .panel__body,
|
||||
.honors .panel__body {
|
||||
max-width: 92ch;
|
||||
}
|
||||
|
||||
.about .text:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.about .text,
|
||||
.honors .text {
|
||||
color: var(--primary);
|
||||
}
|
||||
|
||||
.honors dl {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
dt {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
dt:first-of-type {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
dt.text {
|
||||
margin-bottom: 4px;
|
||||
color: var(--bright);
|
||||
}
|
||||
|
||||
dt.text b::before {
|
||||
content: "▸ ";
|
||||
color: var(--secondary);
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin-left: 14px;
|
||||
color: var(--muted);
|
||||
border-left: 1px solid var(--border);
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
dd.text {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.honor-inline-link {
|
||||
display: inline-block;
|
||||
margin-top: 6px;
|
||||
font-size: 0.82rem;
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.honor-inline-link::before {
|
||||
content: "> ";
|
||||
}
|
||||
|
||||
.honor-subitem {
|
||||
margin-top: 10px;
|
||||
padding-left: 12px;
|
||||
border-left: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.honor-subitem__label {
|
||||
display: inline-block;
|
||||
font-size: 0.68rem;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.1em;
|
||||
text-transform: uppercase;
|
||||
color: var(--secondary);
|
||||
}
|
||||
|
||||
.honor-subitem__text {
|
||||
margin: 2px 0 0;
|
||||
color: var(--muted);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
abbr {
|
||||
text-decoration: underline dotted var(--border-strong);
|
||||
cursor: help;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 920px) {
|
||||
.container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: auto;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
#profile img.profile {
|
||||
max-width: 140px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user