mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
added red theme
This commit is contained in:
1 parent
41b40653c7
commit
c1e64eabbd
11 files changed
+979
-355
No files matched your search
+144
-234
@@ -3,7 +3,7 @@
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 1000;
|
||||
background: var(--bg-surface);
|
||||
background: color-mix(in srgb, var(--bg-surface) 85%, transparent);
|
||||
border-bottom: 1px solid var(--border);
|
||||
backdrop-filter: blur(12px);
|
||||
transition: none;
|
||||
@@ -206,20 +206,21 @@
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: linear-gradient(135deg, #1d4ed8, #2563eb, #60a5fa);
|
||||
color: #ffffff;
|
||||
background: var(--accent);
|
||||
color: var(--text-on-accent);
|
||||
border: 1px solid transparent;
|
||||
box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
|
||||
box-shadow: 0 4px 20px var(--accent-glow);
|
||||
}
|
||||
|
||||
.btn-primary:hover {
|
||||
color: #ffffff;
|
||||
background: var(--accent-hover);
|
||||
color: var(--text-on-accent);
|
||||
transform: translateY(-2px);
|
||||
box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4);
|
||||
box-shadow: 0 8px 30px var(--accent-glow);
|
||||
}
|
||||
.btn-primary:active {
|
||||
transform: translateY(0);
|
||||
box-shadow: 0 2px 10px rgba(96, 165, 250, 0.3);
|
||||
box-shadow: 0 2px 10px var(--accent-glow);
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
@@ -231,7 +232,7 @@
|
||||
|
||||
.btn-secondary:hover {
|
||||
border-color: var(--accent);
|
||||
background: rgba(96, 165, 250, 0.1);
|
||||
background: var(--accent-soft);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
.btn-secondary:active {
|
||||
@@ -285,7 +286,7 @@
|
||||
|
||||
.badge-accent {
|
||||
background: var(--accent);
|
||||
color: #ffffff;
|
||||
color: var(--text-on-accent);
|
||||
}
|
||||
|
||||
.badge-outline {
|
||||
@@ -313,35 +314,10 @@
|
||||
|
||||
.tag-accent {
|
||||
background: var(--accent);
|
||||
color: #ffffff;
|
||||
color: var(--text-on-accent);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
/* ===== Cards ===== */
|
||||
.card {
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 24px;
|
||||
transition: all var(--transition-normal);
|
||||
}
|
||||
|
||||
.card:hover {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 4px 12px var(--shadow);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.card-elevated {
|
||||
background: var(--bg-elevated);
|
||||
border: none;
|
||||
box-shadow: 0 2px 8px var(--shadow);
|
||||
}
|
||||
|
||||
.card-featured {
|
||||
border-top: 4px solid var(--accent);
|
||||
}
|
||||
|
||||
/* ===== Section Heading ===== */
|
||||
.section-heading {
|
||||
margin-bottom: 48px;
|
||||
@@ -377,7 +353,7 @@
|
||||
justify-content: center;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
border: 1.5px solid rgba(255, 255, 255, 0.15);
|
||||
border: 1.5px solid var(--border-strong);
|
||||
border-radius: 6px;
|
||||
color: var(--text-primary);
|
||||
transition: color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
|
||||
@@ -475,12 +451,12 @@
|
||||
}
|
||||
|
||||
@keyframes pulse-dot {
|
||||
0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.4); }
|
||||
50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
|
||||
0%, 100% { box-shadow: 0 0 0 0 var(--success-glow); }
|
||||
50% { box-shadow: 0 0 0 8px transparent; }
|
||||
}
|
||||
|
||||
.name-highlight {
|
||||
background: linear-gradient(135deg, #1d4ed8, #2563eb, #60a5fa);
|
||||
background: linear-gradient(135deg, var(--accent), var(--accent-active));
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
@@ -632,14 +608,14 @@
|
||||
width: 100%;
|
||||
}
|
||||
.hero-name {
|
||||
color: #ffffff;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
.hero-title,
|
||||
.hero-tagline {
|
||||
color: #e0e0e0;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.hero-greeting {
|
||||
color: #e0e0e0;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
.hero-photo {
|
||||
display: none;
|
||||
@@ -713,6 +689,7 @@
|
||||
text-decoration: none;
|
||||
transition: all var(--transition-fast);
|
||||
border: none;
|
||||
background: transparent;
|
||||
width: 100%;
|
||||
color: var(--accent);
|
||||
list-style: none;
|
||||
@@ -726,7 +703,12 @@
|
||||
.download-resume-summary:hover {
|
||||
border-color: var(--accent);
|
||||
background: var(--accent);
|
||||
color: #ffffff;
|
||||
color: var(--text-on-accent);
|
||||
}
|
||||
|
||||
.download-resume-summary.open {
|
||||
background: var(--accent);
|
||||
color: var(--text-on-accent);
|
||||
}
|
||||
|
||||
.download-resume-summary .chevron {
|
||||
@@ -752,10 +734,10 @@
|
||||
top: calc(100% + 4px);
|
||||
left: 0;
|
||||
width: fit-content;
|
||||
background: var(--bg-surface);
|
||||
background: var(--bg-elevated);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
||||
box-shadow: 0 4px 12px var(--shadow);
|
||||
z-index: 100;
|
||||
overflow: hidden;
|
||||
}
|
||||
@@ -771,7 +753,7 @@
|
||||
|
||||
.download-resume-option:hover {
|
||||
background: var(--accent);
|
||||
color: #fff;
|
||||
color: var(--text-on-accent);
|
||||
}
|
||||
/* Shared wrapper for lazer + dropdown positioning context */
|
||||
.download-resume-shared-wrapper {
|
||||
@@ -824,7 +806,7 @@
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
width: 100%;
|
||||
background: var(--bg-surface);
|
||||
background: var(--accent-tint);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
@@ -905,9 +887,8 @@
|
||||
}
|
||||
|
||||
.expertise-skill {
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
padding: 4px 0;
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
}
|
||||
|
||||
.expertise-skill::before {
|
||||
@@ -983,12 +964,14 @@
|
||||
|
||||
.timeline-title {
|
||||
font-size: 20px;
|
||||
line-height: 1.3;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.timeline-company {
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
color: var(--text-secondary);
|
||||
}
|
||||
|
||||
@@ -1006,8 +989,8 @@
|
||||
}
|
||||
|
||||
.timeline-responsibilities li {
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
padding-left: 16px;
|
||||
position: relative;
|
||||
}
|
||||
@@ -1029,17 +1012,29 @@
|
||||
|
||||
.achievement-title {
|
||||
font-size: 18px;
|
||||
line-height: 1.3;
|
||||
font-weight: 600;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.achievement-context {
|
||||
font-size: 14px;
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.achievement-impact {
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
color: var(--text-secondary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.achievement-metrics {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.achievement-techs {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
@@ -1050,7 +1045,7 @@
|
||||
.achievement-metric {
|
||||
display: inline-block;
|
||||
background: var(--accent);
|
||||
color: #ffffff;
|
||||
color: var(--text-on-accent);
|
||||
padding: 4px 12px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-size: 14px;
|
||||
@@ -1112,9 +1107,9 @@
|
||||
}
|
||||
|
||||
.project-card-summary {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-meta);
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
line-height: var(--leading-body);
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
@@ -1168,12 +1163,14 @@
|
||||
|
||||
.philosophy-card h3 {
|
||||
font-size: 18px;
|
||||
line-height: 1.25;
|
||||
color: var(--accent);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.philosophy-card p {
|
||||
font-size: 14px;
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
}
|
||||
|
||||
.philosophy-keywords {
|
||||
@@ -1208,6 +1205,7 @@
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
font-size: 16px;
|
||||
line-height: 1.4;
|
||||
color: var(--text-secondary);
|
||||
text-decoration: none;
|
||||
padding: 16px 24px;
|
||||
@@ -1228,6 +1226,12 @@
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.contact-link-sub {
|
||||
font-size: var(--text-meta);
|
||||
line-height: 1.5;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.contact-links {
|
||||
flex-direction: column;
|
||||
@@ -1284,179 +1288,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* ===== Page Header ===== */
|
||||
.page-header {
|
||||
padding: 80px 0 48px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.page-header h1 {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
/* ===== Breadcrumb ===== */
|
||||
.breadcrumb {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.breadcrumb a {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.breadcrumb a:hover {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.breadcrumb-separator {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* ===== Form ===== */
|
||||
.form-group {
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.form-label {
|
||||
display: block;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.form-input,
|
||||
.form-textarea {
|
||||
width: 100%;
|
||||
padding: 12px 16px;
|
||||
font-size: 16px;
|
||||
font-family: inherit;
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
color: var(--text-primary);
|
||||
transition: border-color var(--transition-fast);
|
||||
}
|
||||
|
||||
.form-input:focus,
|
||||
.form-textarea:focus {
|
||||
outline: none;
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
|
||||
}
|
||||
|
||||
.form-input::placeholder,
|
||||
.form-textarea::placeholder {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.form-textarea {
|
||||
min-height: 120px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
/* ===== Filter bar ===== */
|
||||
.filter-bar {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 32px;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.filter-pill {
|
||||
padding: 8px 16px;
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
background: transparent;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: 100px;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
transition: all var(--transition-fast);
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.filter-pill:hover {
|
||||
border-color: var(--accent);
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.filter-pill.active {
|
||||
background: var(--accent);
|
||||
border-color: var(--accent);
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* ===== Article Card ===== */
|
||||
.article-card {
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 24px;
|
||||
margin-bottom: 16px;
|
||||
transition: all var(--transition-normal);
|
||||
text-decoration: none;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.article-card:hover {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 4px 12px var(--shadow);
|
||||
transform: translateY(-2px);
|
||||
}
|
||||
|
||||
.article-card h3 {
|
||||
font-size: 20px;
|
||||
color: var(--text-primary);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.article-meta {
|
||||
display: flex;
|
||||
gap: 16px;
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/* ===== Engineering Tabs ===== */
|
||||
.engineering-tabs {
|
||||
display: flex;
|
||||
gap: 0;
|
||||
border-bottom: 1px solid var(--border);
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.engineering-tab {
|
||||
padding: 12px 24px;
|
||||
font-size: 16px;
|
||||
font-weight: 500;
|
||||
background: none;
|
||||
border: none;
|
||||
border-bottom: 2px solid transparent;
|
||||
color: var(--text-muted);
|
||||
cursor: pointer;
|
||||
transition: all var(--transition-fast);
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
.engineering-tab:hover {
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
.engineering-tab.active {
|
||||
color: var(--accent);
|
||||
border-bottom-color: var(--accent);
|
||||
}
|
||||
|
||||
/* ===== Content prose ===== */
|
||||
.prose {
|
||||
max-width: var(--max-content);
|
||||
max-width: var(--measure-prose);
|
||||
}
|
||||
|
||||
.prose h2 {
|
||||
@@ -1466,13 +1300,23 @@
|
||||
}
|
||||
|
||||
.prose h3 {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 12px;
|
||||
font-size: 22px;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 0.65em;
|
||||
}
|
||||
|
||||
.prose h4 {
|
||||
margin-top: 1.25em;
|
||||
margin-bottom: 8px;
|
||||
font-size: 16px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.prose p {
|
||||
margin-bottom: 16px;
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
|
||||
.prose p:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.prose ul,
|
||||
@@ -1484,6 +1328,8 @@
|
||||
.prose li {
|
||||
margin-bottom: 8px;
|
||||
color: var(--text-secondary);
|
||||
font-size: var(--text-body);
|
||||
line-height: var(--leading-body);
|
||||
}
|
||||
|
||||
.prose blockquote {
|
||||
@@ -1494,6 +1340,70 @@
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* Lead paragraph that stands outside a .prose column */
|
||||
.prose-lede {
|
||||
max-width: var(--measure-prose);
|
||||
font-size: var(--text-lede);
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
/* Column for blocks that are not prose (grids, tag lists, timelines) */
|
||||
.page-body {
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
.subheading {
|
||||
margin-top: 32px;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.philosophy-quote + .philosophy-quote {
|
||||
margin-top: 48px;
|
||||
}
|
||||
|
||||
.philosophy-quote h3 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.project-section {
|
||||
background: var(--bg-surface);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-md);
|
||||
padding: 16px;
|
||||
margin-bottom: 16px;
|
||||
box-shadow: inset 0 1px 0 var(--inset-highlight);
|
||||
}
|
||||
|
||||
.project-section h4 {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.project-section p {
|
||||
font-size: var(--text-meta);
|
||||
line-height: var(--leading-body);
|
||||
}
|
||||
|
||||
.back-link {
|
||||
display: inline-block;
|
||||
font-size: var(--text-meta);
|
||||
font-weight: 500;
|
||||
color: var(--accent);
|
||||
margin-bottom: 32px;
|
||||
}
|
||||
|
||||
.section-cta {
|
||||
display: block;
|
||||
font-size: var(--text-meta);
|
||||
font-weight: 500;
|
||||
color: var(--accent);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.link-label {
|
||||
font-weight: 500;
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
/* ===== Back to top ===== */
|
||||
.back-to-top {
|
||||
position: fixed;
|
||||
@@ -1503,7 +1413,7 @@
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent);
|
||||
color: #ffffff;
|
||||
color: var(--text-on-accent);
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
|
||||
Reference in new issue
Block a user