:root { --bg: #ffffff; --text: #24292f; --muted: #57606a; --border: #d0d7de; --panel: #f6f8fa; --card: #ffffff; --link: #0969da; --hover: #f6f8fa; } :root.dark { --bg: #0d1117; --text: #c9d1d9; --muted: #8b949e; --border: #30363d; --panel: #161b22; --card: #161b22; --link: #58a6ff; --hover: #21262d; } * { box-sizing: border-box; } img { width: 100%; height: 100%; object-fit: cover; } body { /* margin: 0; */ background: var(--bg); color: var(--text); } a { color: var(--link); } .page { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; } .repo-list, .project-grid { list-style: none; margin: 0; padding: 0; } .repo-list { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--card); } .repo-list li + li { border-top: 1px solid var(--border); } .repo-list li { margin: 0; } .repo-list li a { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 12px; text-decoration: none; color: inherit; } .repo-list li a:hover { background: var(--hover); } .repo-list li .icon { width: 16px; flex: 0 0 auto; color: var(--muted); } .repo-list li .meta { color: var(--muted); font-size: 12px; white-space: nowrap; flex: 0 0 auto; } .repo-list li .name { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .repo-toolbar { margin-bottom: 8px; } .back-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); color: var(--link); text-decoration: none; } .back-link:hover { background: var(--hover); text-decoration: underline; } .readme-card { margin-top: 16px; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--card); } .readme-topbar { padding: 8px 12px; border-bottom: 1px solid var(--border); background: var(--panel); } .readme-title { display: inline-block; font-size: 13px; font-weight: 600; color: var(--muted); } .readme-body { padding: 16px; } .project-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } .project-card { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--card); } .project-link { display: flex; align-items: center; min-height: 96px; padding: 14px 16px; text-decoration: none; color: inherit; } .project-link:hover { background: var(--hover); } .project-title { display: block; font-weight: 600; color: var(--link); } .project-desc { display: block; margin-top: 6px; font-size: 14px; color: var(--muted); } .page-header { margin-bottom: 20px; padding: 28px 20px; border: 1px solid var(--border); border-radius: 8px; text-align: center; background: linear-gradient(135deg, rgba(9, 105, 218, 0.08) 25%, transparent 25%) -10px 0/20px 20px, linear-gradient(225deg, rgba(9, 105, 218, 0.08) 25%, transparent 25%) -10px 0/20px 20px, linear-gradient(315deg, rgba(9, 105, 218, 0.08) 25%, transparent 25%) 0 0/20px 20px, linear-gradient(45deg, rgba(9, 105, 218, 0.08) 25%, transparent 25%) 0 0/20px 20px, var(--panel); } .page-header h1 { margin: 0; font-size: 32px; font-weight: 700; line-height: 1.1; }