/* ===== Base ===== */ * { box-sizing: border-box; } html { scroll-behavior: smooth; scrollbar-gutter: stable; } body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 16px; line-height: 1.6; color: #333; background: #fff; } a { color: #0066cc; text-decoration: none; } a:hover { text-decoration: underline; } h1, h2, h3 { color: #111; } h1 { font-size: 1.75rem; margin: 0 0 12px; font-weight: 700; } h2 { font-size: 1.25rem; margin: 0 0 16px; padding-bottom: 6px; border-bottom: 1px solid #e5e5e5; } p { margin: 0 0 10px; } ul { margin: 4px 0 10px; padding-left: 20px; } li { margin-bottom: 4px; } img { max-width: 100%; height: auto; } /* ===== Navigation ===== */ .nav { border-bottom: 1px solid #e5e5e5; background: #fff; position: sticky; top: 0; z-index: 100; } .nav-inner { max-width: 820px; margin: 0 auto; padding: 12px 24px; display: flex; justify-content: space-between; align-items: center; } .nav-name { font-weight: 700; color: #111; font-size: 1rem; } .nav-name:hover { text-decoration: none; color: #0066cc; } .nav-links { display: flex; gap: 20px; } .nav-links a { font-size: 0.93rem; color: #555; } .nav-links a:hover { color: #0066cc; text-decoration: none; } /* ===== Page Titles ===== */ .page-title { margin-bottom: 24px; } /* ===== See All Links ===== */ .see-all { font-size: 0.85rem; font-weight: 400; color: #888; } .see-all:hover { color: #0066cc; } /* ===== Container ===== */ .container { max-width: 820px; margin: 0 auto; padding: 40px 24px 20px; } /* ===== Profile ===== */ .profile { display: flex; gap: 32px; align-items: flex-start; margin-bottom: 36px; } .profile-photo { flex-shrink: 0; } .profile-photo img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; } .profile-text { flex: 1; } .profile-links { margin-top: 8px; font-size: 0.95rem; } .profile-links a { font-weight: 500; } /* ===== Sections ===== */ .section { margin-bottom: 32px; } /* ===== News ===== */ .news-list { list-style: none; padding-left: 0; } .news-list li { margin-bottom: 6px; line-height: 1.5; } .news-date { display: inline-block; width: 90px; color: #888; font-size: 0.9rem; } /* ===== Publications ===== */ .pub { display: flex; gap: 20px; margin-bottom: 24px; align-items: flex-start; } .pub-image { flex-shrink: 0; width: 180px; } .pub-image img { width: 180px; height: 110px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e5e5; background: #f9f9f9; } .pub-text { flex: 1; } .pub-title { font-weight: 700; font-size: 1rem; } .pub-desc { font-size: 0.93rem; color: #555; margin: 4px 0 6px; } .pub-text a { font-size: 0.9rem; margin-right: 8px; } .note { color: #888; font-size: 0.93rem; font-style: italic; } /* ===== Entries (Experience, Education, Projects) ===== */ .entry { margin-bottom: 16px; } .entry-header { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; } .entry-title { font-weight: 700; } .entry-date { color: #888; font-size: 0.9rem; white-space: nowrap; } .entry-org { color: #555; font-size: 0.95rem; margin-bottom: 4px; } .entry p { font-size: 0.95rem; color: #555; margin: 4px 0 4px; } .entry ul { margin-top: 4px; font-size: 0.95rem; color: #555; } /* ===== Selected Projects ===== */ .selected-projects .entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 14px; align-items: start; margin-bottom: 10px; } .selected-projects .entry-header, .selected-projects .entry p:first-of-type { min-width: 0; } .selected-projects .entry p { margin: 0; line-height: 1.4; } .selected-projects .entry-link { grid-column: 2; grid-row: 1 / span 2; white-space: nowrap; align-self: center; } .selected-projects .entry-link a { font-size: 0.9rem; } /* ===== Project Cards ===== */ .project { margin-bottom: 28px; padding-bottom: 24px; border-bottom: 1px solid #f0f0f0; } .project:last-child { border-bottom: none; padding-bottom: 0; } .project-header { margin-bottom: 10px; } .project-header h3 { margin: 0 0 6px; font-size: 1.05rem; } .project-tags { display: flex; gap: 6px; flex-wrap: wrap; } .tag { display: inline-block; font-size: 0.78rem; color: #555; background: #f5f5f5; border: 1px solid #e5e5e5; border-radius: 3px; padding: 1px 8px; } .project-body { display: flex; gap: 20px; align-items: flex-start; } .project-img { flex-shrink: 0; width: 200px; } .project-img img { width: 200px; height: 120px; object-fit: cover; border-radius: 4px; border: 1px solid #e5e5e5; background: #f9f9f9; } .project-details { flex: 1; } .project-details p { font-size: 0.95rem; color: #555; margin: 0 0 8px; } .project-details em { font-style: italic; font-weight: 600; color: #444; } .project-tech { list-style: none; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 8px; } .project-tech li { font-size: 0.8rem; color: #0066cc; background: #f0f6ff; border: 1px solid #d0e2f7; border-radius: 3px; padding: 1px 8px; margin-bottom: 0; } .project-link-row { margin: 4px 0 0; } .project-link-row a { font-size: 0.9rem; margin-right: 8px; } .pub-link-row a { font-size: 0.9rem; margin-right: 8px; } /* ===== Skills Table ===== */ .skills-table { width: 100%; border-collapse: collapse; } .skills-table td { padding: 8px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.95rem; vertical-align: top; } .skills-table tr:last-child td { border-bottom: none; } .skills-label { font-weight: 700; color: #333; width: 120px; } /* ===== Footer ===== */ footer { margin-top: 40px; padding-top: 16px; border-top: 1px solid #e5e5e5; font-size: 0.85rem; color: #aaa; } footer p { margin: 2px 0; } footer a { color: #aaa; } footer a:hover { color: #666; } /* ===== Responsive ===== */ @media (max-width: 600px) { .container { padding: 24px 16px 16px; } .profile { flex-direction: column; align-items: center; text-align: center; gap: 20px; } .profile-photo img { width: 160px; height: 160px; } h1 { font-size: 1.4rem; } .pub { flex-direction: column; gap: 10px; } .pub-image { width: 100%; } .pub-image img { width: 100%; height: auto; aspect-ratio: 16 / 9; } .entry-header { flex-direction: column; gap: 2px; } .selected-projects .entry { grid-template-columns: 1fr; gap: 4px; } .selected-projects .entry-link { grid-column: 1; grid-row: auto; align-self: start; } .news-date { display: block; margin-bottom: 2px; } .nav-inner { flex-direction: column; gap: 8px; text-align: center; } .nav-links { gap: 16px; } .project-body { flex-direction: column; gap: 10px; } .project-img { width: 100%; } .project-img img { width: 100%; height: auto; aspect-ratio: 16 / 9; } .skills-label { width: 80px; } }