css • Lines: 961:root {
--bg-deep: #090b10;
--bg-surface: #11141c;
--bg-elevated: #181d28;
--text-main: #e2e8f0;
--text-muted: #8892b0;
--accent: #22d3ee;
--accent-warm: #f59e0b;
--border-subtle: rgba(255,255,255,0.06);
--content-width: 760px;
}
body {
margin: 0;
font-family: 'Open Sans', sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.10), transparent 26%), linear-gradient(135deg, #06080d 0%, var(--bg-deep) 48%, #0a1018 100%);
color: var(--text-main);
}
.home-page {
position: relative;
z-index: 1;
}
.home-page::before {
content: "";
position: absolute;
inset: 0;
background: radial-gradient(circle at 20% 0%, rgba(34, 211, 238, 0.06), transparent 30%), radial-gradient(circle at 100% 15%, rgba(148, 163, 184, 0.06), transparent 28%);
pointer-events: none;
z-index: -1;
}
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: #262b36; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #363c4a; }
::selection { background: rgba(34,211,238,0.18); color: #fff; }
.navbar { backdrop-filter: blur(14px); background: rgba(9,11,16,0.88) !important; min-height: 0 !important; }
.navbar .container-fluid { padding-top: 0 !important; padding-bottom: 0 !important; }
.navbar-brand { padding-top: 2px !important; padding-bottom: 2px !important; font-size: 1rem !important; }
.nav-link { padding-top: 4px !important; padding-bottom: 4px !important; }
.navbar-toggler { padding: 2px 6px !important; font-size: 0.9rem !important; }
.navbar-brand { font-family: 'Lora', serif; font-weight: 600; letter-spacing: -0.3px; }
/* Page intro */
.page-intro p { margin-bottom: 0.5rem; }
/* Profile image */
.profile-img-wrap {
position: relative;
display: inline-block;
border-radius: 16px;
overflow: hidden;
max-width: 100%;
}
.profile-img-wrap::after {
content: '';
position: absolute;
inset: 0;
border-radius: 16px;
pointer-events: none;
background: linear-gradient(135deg, rgba(0,0,0,0.2) 0%, transparent 50%, rgba(0,0,0,0.2) 100%);
}
.profile-img {
display: block;
border-radius: 16px;
border: 2px solid var(--border-subtle);
transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
width: 100%;
max-height: 320px;
object-fit: cover;
filter: saturate(0.85) brightness(1);
}
.profile-img:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(34, 211, 238, 0.15);
}
/* Bio text */
.bio-text {
max-width: 60ch;
font-size: 1.1rem;
line-height: 1.85;
color: var(--text-main);
letter-spacing: -0.01em;
}
/* Blog section headers */
.home-section .section-heading {
font-family: 'Lora', serif;
font-size: 1.1rem;
letter-spacing: -0.3px;
margin-bottom: 4px;
color: var(--text-main);
font-weight: 600;
}
.home-section .section-heading b {
color: var(--text-main);
font-weight: 600;
}
.home-section .section-heading .show-all {
color: var(--accent);
font-size: 0.75rem;
font-family: 'Open Sans', sans-serif;
margin-left: 8px;
text-decoration: none;
opacity: 0.6;
transition: opacity 0.2s;
white-space: nowrap;
vertical-align: middle;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.home-section .section-heading .show-all:hover {
opacity: 1;
}
.home-section .section-sub {
margin-bottom: 14px;
font-size: 0.82rem;
color: var(--text-muted);
}
/* Professional Summary Stats */
.professional-summary {
background: linear-gradient(135deg, var(--bg-elevated) 0%, rgba(34, 211, 238, 0.03) 100%);
padding: 24px 20px;
border-radius: 12px;
border: 1px solid var(--border-subtle);
margin-bottom: 8px;
}
.stat-item {
padding: 12px 8px;
position: relative;
}
.stat-item:not(:last-child)::after {
content: '';
position: absolute;
right: 0;
top: 20%;
height: 60%;
width: 1px;
background: linear-gradient(180deg, transparent, var(--border-subtle), transparent);
}
.stat-number {
font-size: 2rem;
font-weight: 700;
background: linear-gradient(135deg, var(--accent) 0%, #7dd3fc 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
line-height: 1;
margin-bottom: 6px;
font-family: 'Inter', 'Open Sans', sans-serif;
font-weight: 800;
}
.stat-label {
font-size: 0.7rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 1.2px;
font-weight: 500;
}
/* Book stat */
.book-stat {
transition: all 0.3s ease;
}
.book-stat:hover {
transform: translateY(-2px);
}
.book-icon {
font-size: 1.8rem;
-webkit-text-fill-color: unset;
background: none;
margin-bottom: 6px;
}
.book-title {
font-size: 0.78rem;
color: var(--accent);
margin-top: 4px;
font-weight: 500;
}
/* Organization hover tooltip */
.stat-hover-wrapper {
position: relative;
cursor: default;
}
.org-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(8px);
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 12px 14px;
min-width: 220px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
z-index: 100;
}
.org-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--bg-surface);
}
.stat-hover-wrapper:hover .org-tooltip {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.org-item {
display: flex;
align-items: center;
gap: 10px;
padding: 6px 8px;
font-size: 0.82rem;
color: var(--text-main);
text-decoration: none;
border-radius: 6px;
transition: background 0.2s;
}
.org-item:hover {
background: rgba(34, 211, 238, 0.06);
color: var(--text-main);
}
.org-item:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.org-logo {
width: 22px;
height: 22px;
border-radius: 6px;
object-fit: contain;
background: rgba(255, 255, 255, 0.06);
padding: 3px;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
/* Timeline tooltip */
.timeline-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(8px);
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 12px;
width: 250px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
z-index: 100;
}
.timeline-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--bg-surface);
}
.stat-hover-wrapper:hover .timeline-tooltip {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.timeline-item {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 0;
position: relative;
}
.timeline-item:not(:last-child)::after {
content: '';
position: absolute;
left: 11px;
top: 32px;
height: calc(100% - 8px);
width: 1px;
background: rgba(34, 211, 238, 0.2);
}
.timeline-item:not(:last-child) {
border-bottom: none;
padding-bottom: 12px;
}
.timeline-info {
flex: 1;
min-width: 0;
}
.timeline-role {
font-size: 0.78rem;
font-weight: 600;
color: var(--accent);
line-height: 1.2;
}
.timeline-company {
font-size: 0.75rem;
color: var(--text-main);
line-height: 1.2;
}
.timeline-dates {
font-size: 0.68rem;
color: var(--text-muted);
margin-top: 2px;
}
/* Tech stack tooltip */
.tech-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(8px);
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 14px;
min-width: 200px;
max-width: 260px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
z-index: 100;
}
.tech-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--bg-surface);
}
.stat-hover-wrapper:hover .tech-tooltip {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
.tech-tooltip-tags {
display: flex;
flex-wrap: wrap;
gap: 6px;
}
.tech-tooltip-tag {
display: inline-block;
padding: 4px 10px;
background: rgba(34, 211, 238, 0.08);
border: 1px solid rgba(34, 211, 238, 0.15);
border-radius: 6px;
font-size: 0.72rem;
color: var(--text-main);
font-weight: 500;
}
/* Open source projects tooltip */
.projects-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(8px);
background: var(--bg-surface);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 10px;
width: 240px;
opacity: 0;
visibility: hidden;
pointer-events: none;
transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
z-index: 100;
}
.projects-tooltip::after {
content: '';
position: absolute;
top: 100%;
left: 50%;
transform: translateX(-50%);
border: 6px solid transparent;
border-top-color: var(--bg-surface);
}
.stat-hover-wrapper:hover .projects-tooltip {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
pointer-events: auto;
}
.stat-hover-wrapper::before {
content: '';
position: absolute;
bottom: 100%;
left: 0;
right: 0;
height: 8px;
}
.project-item {
display: block;
padding: 10px;
border-radius: 8px;
text-decoration: none;
transition: background 0.2s;
}
.project-item:hover {
background: rgba(34, 211, 238, 0.06);
}
.project-item:not(:last-child) {
border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.project-name {
font-size: 0.82rem;
font-weight: 600;
color: var(--accent);
line-height: 1.2;
}
.project-desc {
font-size: 0.72rem;
color: var(--text-muted);
margin-top: 2px;
line-height: 1.3;
}
.project-type {
display: inline-block;
margin-top: 4px;
padding: 2px 8px;
background: rgba(255, 255, 255, 0.06);
border-radius: 4px;
font-size: 0.65rem;
color: var(--text-muted);
text-transform: uppercase;
letter-spacing: 0.5px;
}
/* Tech Stack Tags */
.tech-stack-section {
background: var(--bg-elevated);
padding: 24px;
border-radius: 16px;
border: 1px solid var(--border-subtle);
height: 100%;
display: flex;
flex-direction: column;
}
.tech-stack-section .section-heading {
margin-bottom: 8px;
}
.tech-stack-section .tech-tags {
flex: 1;
display: flex;
flex-wrap: wrap;
gap: 10px;
align-content: flex-start;
}
.tech-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 16px;
}
.tech-tag {
display: inline-flex;
align-items: center;
padding: 8px 18px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 8px;
font-size: 0.85rem;
color: var(--text-muted);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
font-weight: 500;
}
.tech-tag:hover {
background: rgba(34, 211, 238, 0.08);
border-color: rgba(34, 211, 238, 0.3);
color: var(--text-main);
transform: translateY(-2px);
}
.tech-tag.primary {
background: linear-gradient(135deg, rgba(34, 211, 238, 0.12) 0%, rgba(34, 211, 238, 0.06) 100%);
border-color: rgba(34, 211, 238, 0.3);
color: var(--accent);
font-weight: 600;
}
.tech-tag.primary:hover {
background: linear-gradient(135deg, rgba(34, 211, 238, 0.18) 0%, rgba(34, 211, 238, 0.1) 100%);
border-color: rgba(34, 211, 238, 0.5);
box-shadow: 0 4px 20px rgba(34, 211, 238, 0.15);
}
/* Expertise Section */
.expertise-section {
background: var(--bg-elevated);
padding: 24px;
border-radius: 16px;
border: 1px solid var(--border-subtle);
height: 100%;
display: flex;
flex-direction: column;
}
.expertise-section .section-heading {
margin-bottom: 8px;
}
.expertise-list {
list-style: none;
padding: 0;
margin: 0;
flex: 1;
display: flex;
flex-direction: column;
}
.expertise-list li {
padding: 14px 16px;
margin-bottom: 4px;
border-left: 3px solid transparent;
background: rgba(255, 255, 255, 0.02);
font-size: 0.9rem;
color: var(--text-main);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
border-radius: 0 8px 8px 0;
flex: 1;
}
.expertise-list li:hover {
background: rgba(34, 211, 238, 0.06);
border-left-color: var(--accent);
transform: translateX(4px);
}
.expertise-list li:last-child {
margin-bottom: 0;
}
/* Home sections shared */
.home-section {
background: var(--bg-elevated);
padding: 24px;
border-radius: 16px;
border: 1px solid var(--border-subtle);
transition: border-color 0.3s ease;
}
.home-section:hover {
border-color: rgba(255, 255, 255, 0.1);
}
.expertise-list li:last-child {
margin-bottom: 0;
}
/* Blog links on home page */
.home-page .label a {
text-decoration: none;
color: var(--text-main);
font-weight: 500;
line-height: 1.5;
transition: color 0.2s;
}
.home-page .label a:hover {
color: var(--accent);
}
.home-page ul li {
padding: 6px 8px;
margin: 0 -8px;
border-radius: 4px;
border-bottom: 1px solid rgba(255,255,255,0.04);
transition: background 0.15s;
}
.home-page ul li:hover {
background: rgba(255,255,255,0.03);
}
.home-page ul li:last-child {
border-bottom: none;
}
/* Blog/content list pages */
.contents-page .label a {
text-decoration: none;
color: var(--text-main);
font-weight: 500;
line-height: 1.5;
transition: color 0.2s;
}
.contents-page .label a:hover {
color: var(--accent);
}
.contents-page ul li {
padding: 6px 8px;
margin: 0 -8px;
border-radius: 4px;
border-bottom: 1px solid rgba(255,255,255,0.04);
transition: background 0.15s;
}
.contents-page ul li:hover {
background: rgba(255,255,255,0.03);
}
.contents-page ul li:last-child {
border-bottom: none;
}
/* Content containers */
.tech-blog-content, .blog-content {
max-width: 800px;
margin: 0 auto;
padding: 0 8px;
}
/* Reading width — keep paragraphs at 70ch, let code/tables breathe */
.tech-blog-content p,
.tech-blog-content li,
.blog-content p,
.blog-content li {
max-width: 70ch;
line-height: 1.85;
margin-bottom: 1.35em;
font-size: 1.05rem;
}
/* Heading hierarchy */
.tech-blog-content h1 {
font-size: 2rem;
color: var(--accent);
border-bottom: 1px solid rgba(255,255,255,0.06);
padding-bottom: 0.35em;
margin-top: 0;
}
.tech-blog-content h2 {
font-size: 1.4rem;
color: #7dd3fc;
font-weight: 600;
margin-top: 2em;
margin-bottom: 0.75em;
}
.tech-blog-content h3 {
font-size: 1.1rem;
color: #b0b8d0;
font-weight: 600;
margin-top: 1.5em;
margin-bottom: 0.5em;
}
.tech-blog-content h4, .tech-blog-content h5, .tech-blog-content h6 {
color: var(--text-muted);
font-weight: 500;
}
.tech-blog-content pre, .blog-content pre {
margin: 1.5em 0;
}
/* Cards */
.card {
background: var(--bg-elevated) !important;
border-color: var(--border-subtle) !important;
transition: border-color 0.2s;
}
.card:hover {
border-color: rgba(255,255,255,0.12) !important;
}
.card-footer {
background: transparent !important;
border-top-color: var(--border-subtle) !important;
}
a { transition: color 0.15s ease; }
a:hover { color: var(--accent); }
/* Footer social icons */
.footer-socials {
display: flex;
justify-content: center;
gap: 5px;
padding-top: 0 !important;
padding-bottom: 0 !important;
}
.footer-socials a {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 20px;
border-radius: 4px;
color: var(--text-muted);
border: 1px solid var(--border-subtle);
transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer-socials a:hover {
color: var(--accent);
border-color: rgba(34,211,238,0.3);
background: rgba(34,211,238,0.06);
}
.site-footer {
background: #0d0f16 !important;
border-top-color: rgba(255,255,255,0.04) !important;
padding-top: 0.2rem !important;
padding-bottom: 0.15rem !important;
}
.site-footer .container-fluid {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
/* ===== Imported from site-assets/styles.css ===== */
:root {
--md-body-text: #e2e8f0;
--md-light: #38bdf8;
--md-ultra-light: #7dd3fc;
--md-hyper-light: #bae6fd;
--md-dark: #1e293b;
--md-ultra-dark: #0f172a;
--md-complimentary-blockquote: #f59e0b;
}
.custom-theme {
--bs-heading-color: var(--md-light) !important;
--bs-card-title-color: var(--md-complimentary-blockquote) !important;
}
.custom-theme p {
color: var(--md-body-text);
}
.main-app-mw {
font-family: "Merriweather", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: italic;
}
.main-app-lora {
font-family: "Lora", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: italic;
}
.content-body-roboto {
font-family: "Roboto", sans-serif;
font-weight: 400;
font-style: normal;
}
.content-body-opensans {
font-family: "Open Sans", sans-serif;
font-weight: 400;
font-style: normal;
}
table td,
table th {
padding: 0.5em 1em;
}
.note-group {
transition: all 0.2s ease;
cursor: pointer;
}
.note-group:hover .note-element {
stroke: #e11d48 !important;
fill: #e11d48 !important;
}
.markdown-color p {
color: var(--md-body-text);
}
.markdown-color h1 {
color: var(--md-light);
}
.markdown-color h2 {
color: var(--md-ultra-light);
}
.markdown-color h3 {
color: var(--md-hyper-light);
}
.markdown-color h4 {
color: var(--md-ultra-light);
}
.markdown-color h5 {
color: var(--md-light);
}
.markdown-color h6 {
color: var(--md-dark);
}
.markdown-color a {
color: var(--md-light);
}
.markdown-color a:hover {
color: var(--md-ultra-light);
}
.markdown-color ul,
.markdown-color ol {
color: var(--md-body-text);
}
.markdown-color li strong {
color: var(--md-hyper-light);
}
.markdown-color pre {
background-color: var(--md-ultra-light);
}
.markdown-color blockquote {
background-color: var(--md-ultra-dark);
border-left: 10px solid var(--md-complimentary-blockquote);
color: var(--md-body-text);
}
.markdown-color del {
color: var(--md-hyper-light);
}
.markdown-color hr {
border: 1px solid var(--md-light);
}
.markdown-color th,
.markdown-color td {
border: 1px solid var(--md-light);
color: var(--md-dark);
}
.markdown-color th {
background-color: var(--md-dark);
color: var(--md-ultra-dark);
}
.markdown-color tr:nth-child(even) {
background-color: var(--md-ultra-dark);
}
.markdown-color tr:hover {
background-color: var(--md-hyper-light);
}
.markdown-color tr:hover td{
color: var(--md-ultra-dark);
}
.markdown-color td {
color: var(--md-body-text);
}
.tech-blog-content {
font-family: "Roboto", sans-serif;
font-weight: 400;
font-style: normal;
line-height: 1.75;
}
.tech-blog-content h1,
.tech-blog-content h2,
.tech-blog-content h3 {
line-height: 1.3;
}
.tech-blog-content h1 {
font-size: 2.2rem;
font-weight: 700;
}
.tech-blog-content h2 {
font-size: 1.8rem;
font-weight: 600;
}
.tech-blog-content h3 {
font-size: 1.4rem;
font-weight: 600;
}
.tech-blog-content p {
font-family: 'Open Sans', sans-serif;
font-size: 1.1rem;
line-height: 1.85;
}
.tech-blog-content img {
max-height: 250px;
height: auto;
}
.tech-blog-content pre,
.tech-blog-content code {
color: #dfe6e9;
font-family: "Fira Code", monospace;
border-radius: 4px;
}
.tech-blog-content code {
font-size: 0.95rem;
color: #81ecec;
}
.tech-blog-content blockquote {
font-style: italic;
color: #fab1a0;
border-left: 4px solid #fab1a0;
padding-left: 1em;
}
.tech-blog-content li {
font-family: 'Open Sans', sans-serif;
margin: 0.5em 0;
}
.tech-blog-content a {
font-weight: 500;
}
.tech-blog-content a:hover {
text-decoration: underline;
}
.tech-blog-content pre {
color: #00ff9d;
background-color: #1e1e1e;
font-family: "Fira Code", monospace;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
border-left: 4px solid #e3f988;
padding: 1em;
border-radius: 5px;
overflow-x: auto;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.tech-blog-content code {
color: #9acd32;
background-color: #1e1e1e;
font-family: 'Fira Code', monospace;
border-radius: 3px;
}
.tech-blog-content blockquote {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
padding-left: 15px;
font-style: italic;
}
.blog-content {
line-height: 1.85;
font-family: "Roboto", sans-serif;
font-style: normal;
font-size: 1.05rem;
}
.blog-content img {
max-height: 250px;
height: auto;
}
.blog-content h1, .blog-content h2, .blog-content h3 {
font-family: "Lora", serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: italic;
}
.blog-content a {
text-decoration: none;
}
.blog-content a:hover {
text-decoration: underline;
}
.blog-content ul, .blog-content ol {
list-style-type: disc;
margin-left: 20px;
}
.blog-content blockquote {
border-top-left-radius: 2px;
border-bottom-left-radius: 2px;
padding: 15px;
font-style: italic;
}
.blog-content pre,
.blog-content code {
font-family: "Fira Code", monospace;
border-radius: 4px;
background-color: #0d0d0f;
}
.blog-content code {
font-size: 0.95rem;
color: #b8a2f6;
}