:root { --text-color: #333; --background-color: #fff; --link-color: #0366d6; --link-hover-color: #0056b3; --border-color: #e1e4e8; --secondary-text-color: #586069; --font-size-base: 16px; --header-height: 60px; --content-width: 800px; --social-button-bg: #f5f5f5; --social-button-hover-bg: #e0e0e0; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; font-size: var(--font-size-base); line-height: 1.6; color: var(--text-color); background-color: var(--background-color); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

a { color: var(--link-color); text-decoration: none; transition: color 0.2s ease; }

a:hover { color: var(--link-hover-color); }

h1, h2, h3, h4, h5, h6 { margin-top: 1.5em; margin-bottom: 0.5em; line-height: 1.2; font-weight: 600; }

h1 { font-size: 2em; }

h2 { font-size: 1.5em; }

h3 { font-size: 1.25em; }

p, ul, ol { margin-bottom: 1.5em; }

ul, ol { padding-left: 1.5em; }

img { max-width: 100%; height: auto; }

code { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; background-color: rgba(27, 31, 35, 0.05); padding: 0.2em 0.4em; border-radius: 3px; font-size: 0.9em; }

pre { padding: 1em; overflow: auto; background-color: #f6f8fa; border-radius: 3px; margin-bottom: 1.5em; }

pre code { background-color: transparent; padding: 0; }

blockquote { margin-left: 0; padding-left: 1em; border-left: 3px solid var(--border-color); color: var(--secondary-text-color); margin-bottom: 1.5em; }

.container { max-width: var(--content-width); margin: 0 auto; padding: 0 1.5em; }

.site-header { padding: 1.5em 0; }

.site-header .header-content { display: flex; justify-content: space-between; align-items: center; }

.site-header .site-title { font-size: 1.5em; font-weight: 600; }

.site-header .site-title a { color: var(--text-color); }

.site-header .site-title a:hover { color: var(--link-color); }

.site-header .site-nav ul { display: flex; list-style: none; margin: 0; padding: 0; }

.site-header .site-nav ul li { margin-left: 1.5em; }

.site-header .site-nav ul li a { color: var(--secondary-text-color); font-weight: 500; }

.site-header .site-nav ul li a:hover, .site-header .site-nav ul li a.active { color: var(--text-color); }

main { padding: 2em 0 3em; }

.home-content .intro { margin-bottom: 3em; }

.home-content .intro h1 { font-size: 2.5em; margin-top: 0; }

.home-content .intro p { font-size: 1.1em; color: var(--secondary-text-color); }

.home-content .social-buttons { display: flex; flex-wrap: wrap; gap: 15px; margin: 1.5em 0; }

.home-content .social-buttons .social-button { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; background-color: #333; border-radius: 50%; color: #fff; text-decoration: none; transition: all 0.2s ease; }

.home-content .social-buttons .social-button:hover { transform: translateY(-3px); }

.home-content .social-buttons .social-button svg { width: 22px; height: 22px; fill: currentColor; }

.home-content .section { margin-bottom: 3em; }

.home-content .section h2 { border-bottom: 1px solid var(--border-color); padding-bottom: 0.5em; margin-bottom: 1em; }

.home-content .intro-container { display: flex; align-items: center; gap: 3em; margin-bottom: 2em; }

.home-content .intro-container .profile-image { width: 250px; height: 250px; border-radius: 50%; flex-shrink: 0; object-fit: cover; object-position: center; }

.home-content .intro-container .intro-content { flex: 1; }

.home-content .intro-container .intro-content h1 { font-size: 3em; margin-bottom: 0.2em; margin-top: 0; line-height: 1.1; }

.home-content .intro-container .intro-content .tagline { font-size: 1.3em; color: #777; margin-bottom: 1.2em; font-style: italic; line-height: 1.3; }

.post-list { list-style: none; padding: 0; }

.post-list li { margin-bottom: 2em; }

.post-list li h2 { margin-top: 0; margin-bottom: 0.25em; }

.post-list li h2 a { color: var(--text-color); }

.post-list li h2 a:hover { color: var(--link-color); }

.post-list li .post-meta { color: var(--secondary-text-color); font-size: 0.9em; margin-bottom: 0.5em; }

.post-list li .post-excerpt { margin-bottom: 0.5em; }

.post .post-header { margin-bottom: 2em; }

.post .post-header .post-title { margin-top: 0; }

.post .post-header .post-meta { color: var(--secondary-text-color); font-size: 0.9em; }

.post .post-content img { display: block; margin: 2em auto; }

.post .post-navigation { display: flex; justify-content: space-between; margin-top: 3em; padding-top: 1.5em; border-top: 1px solid var(--border-color); }

.post .post-navigation a { max-width: 45%; }

.post .post-navigation a.prev { text-align: left; }

.post .post-navigation a.next { text-align: right; }

.timeline { position: relative; margin: 2em 0; }

.timeline::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 2px; background-color: var(--border-color); }

.timeline .timeline-item { position: relative; margin-bottom: 2em; padding-left: 2.5em; }

.timeline .timeline-item:last-child { margin-bottom: 0; }

.timeline .timeline-item::before { content: ''; position: absolute; left: -4px; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background-color: var(--link-color); }

.timeline .timeline-item .timeline-date { font-weight: 600; margin-bottom: 0.5em; }

.timeline .timeline-item .timeline-content { margin-bottom: 0; }

.timeline .timeline-item .timeline-content p:last-child { margin-bottom: 0; }

.site-footer { padding: 2em 0; border-top: 1px solid var(--border-color); }

.site-footer .footer-content { display: flex; justify-content: space-between; align-items: center; color: var(--secondary-text-color); font-size: 0.9em; }

.site-footer .social-links a { margin-left: 1em; color: var(--secondary-text-color); }

.site-footer .social-links a:hover { color: var(--text-color); }

@media (max-width: 900px) { :root { --content-width: 100%; } }

@media (max-width: 768px) { .container { padding: 0 1em; } .site-header .header-content { flex-direction: column; align-items: flex-start; } .site-header .site-nav { margin-top: 1em; width: 100%; } .site-header .site-nav ul { flex-wrap: wrap; } .site-header .site-nav ul li { margin-left: 0; margin-right: 1.5em; margin-bottom: 0.5em; } .home-content .profile-image { float: none; display: block; margin: 0 auto 1.5em; } .home-content .intro-container { flex-direction: column; gap: 1.5em; } .home-content .intro-container .profile-image { width: 200px; height: 200px; margin: 0 auto; } .home-content .intro-container .intro-content { text-align: center; } .home-content .intro-container .intro-content h1 { font-size: 2.5em; } .home-content .intro-container .intro-content .tagline { font-size: 1.2em; } .home-content .social-buttons { justify-content: center; } .timeline::before { left: 15px; } .timeline .timeline-item { padding-left: 2em; } .timeline .timeline-item::before { left: 11px; } }

@media (max-width: 480px) { :root { --font-size-base: 15px; } .home-content .intro-container .profile-image { width: 180px; height: 180px; } .home-content .intro-container .intro-content h1 { font-size: 2em; } .home-content .intro-container .intro-content .tagline { font-size: 1.1em; } .site-footer .footer-content { flex-direction: column; text-align: center; } .site-footer .footer-content p { margin-bottom: 1em; } .site-footer .footer-content .social-links a:first-child { margin-left: 0; } .post .post-navigation { flex-direction: column; } .post .post-navigation a { max-width: 100%; } .post .post-navigation a.prev { margin-bottom: 1em; } }

/* Additional media query for modern iPhones with notches and dynamic islands */
@media (max-width: 430px), (max-width: 932px) and (min-height: 430px) and (orientation: portrait) { :root { --font-size-base: 14px; } .container { padding: 0 1.2em; } /* Safe area insets for notched devices */ .site-header { padding-top: calc(1.5em + env(safe-area-inset-top, 0)); padding-left: env(safe-area-inset-left, 1.2em); padding-right: env(safe-area-inset-right, 1.2em); } .site-footer { padding-bottom: calc(2em + env(safe-area-inset-bottom, 0)); padding-left: env(safe-area-inset-left, 1.2em); padding-right: env(safe-area-inset-right, 1.2em); } /* Improve readability on narrow screens */ p, ul, ol { line-height: 1.7; } /* Adjust section spacing */ .home-content .section { margin-bottom: 2em; } /* Make images more responsive */ .home-content .intro-container .profile-image { width: 150px; height: 150px; } }

div.highlight { position: relative; }

div.highlight .copy-code-button { position: absolute; top: 0.5em; right: 0.5em; padding: 0.25em 0.5em; border: 1px solid #d9d9e3; border-radius: 4px; background-color: #f7f7f8; color: #40414f; font-size: 0.8em; cursor: pointer; transition: all 0.2s ease-in-out; }

div.highlight .copy-code-button:hover { background-color: #ffffff; border-color: #000000; }

div.highlight .copy-code-button:active { background-color: #f0f0f0; }

div.highlight:hover .copy-code-button:not(:hover) { border-color: #8e8ea0; }

.copy-post-button { position: absolute; bottom: 0; left: 0; padding: 0.5em 0.8em; margin-top: 1em; margin-bottom: 0; border: 1px solid #d9d9e3; border-radius: 4px; background-color: #f7f7f8; color: #40414f; font-size: 0.9em; cursor: pointer; transition: all 0.2s ease-in-out; }

.copy-post-button:hover { background-color: #ffffff; border-color: #000000; }

.copy-post-button:active { background-color: #f0f0f0; }

.copy-post-button.success { background-color: #10a37f; color: white; border-color: #10a37f; }

/*# sourceMappingURL=main.css.map */