diff --git a/config.js b/config.js index 669b8dd..4baf128 100644 --- a/config.js +++ b/config.js @@ -6,7 +6,9 @@ const CONFIG = { profile: { name: "nudoragon", - bio: "設計與開發的探索者 | 建立數位世界的連結", + bio: `歡迎來信私訊交朋友,帶上自介+來意即可 \n + #被動方 #P #transwoman #infp-t #Cancer \n + 詳細內容可見部落格的關於我`, avatar: "avatar.png", // 已從部落格擷取 favicon: "avatar.png", // 使用與 avatar 相同的圖片作為 favicon copyrightYear: 2026 diff --git a/index.html b/index.html index c2ec76f..f1ccbb9 100644 --- a/index.html +++ b/index.html @@ -7,7 +7,7 @@ nudoragon | 個人連結 - + diff --git a/style.css b/style.css index 7b5f4b3..136340e 100644 --- a/style.css +++ b/style.css @@ -140,87 +140,144 @@ body { .bio { color: var(--text-secondary); - font-size: 1.1rem; - max-width: 80%; + font-size: 1.05rem; + line-height: 1.75; + max-width: 92%; margin: 0 auto; + white-space: pre-line; + word-break: break-word; +} + +.bio a { + color: #818cf8; + text-decoration: underline; + text-decoration-color: rgba(129, 140, 248, 0.45); + text-underline-offset: 4px; + font-weight: 500; + transition: var(--transition); + display: inline-block; +} + +.bio a:hover { + color: #c084fc; + text-decoration-color: #c084fc; + text-shadow: 0 0 10px rgba(168, 85, 247, 0.35); } /* Links Section */ .links-container { display: flex; flex-direction: column; - gap: 1.2rem; + gap: 1.1rem; margin-bottom: 3rem; } .link-card { + position: relative; display: flex; align-items: center; background: var(--card-bg); - backdrop-filter: blur(12px); - -webkit-backdrop-filter: blur(12px); + backdrop-filter: blur(14px); + -webkit-backdrop-filter: blur(14px); border: 1px solid var(--glass-border); border-radius: 1.2rem; - padding: 1.2rem; + padding: 1.1rem 1.3rem; text-decoration: none; color: inherit; transition: var(--transition); text-align: left; + overflow: hidden; } -.link-card:hover { - transform: translateY(-5px) scale(1.02); - background: rgba(45, 55, 72, 0.8); - border-color: rgba(255, 255, 255, 0.2); - box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); -} - -.link-icon { - width: 50px; - height: 50px; - background: rgba(255, 255, 255, 0.1); - border-radius: 0.8rem; - display: flex; - justify-content: center; - align-items: center; - font-size: 1.5rem; - margin-right: 1.2rem; - color: var(--primary-color); +.link-card::before { + content: ''; + position: absolute; + inset: 0; + border-radius: 1.2rem; + background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 60%); + pointer-events: none; transition: var(--transition); } +.link-card:hover { + transform: translateY(-3px); + background: rgba(30, 41, 59, 0.85); + border-color: rgba(99, 102, 241, 0.4); + box-shadow: 0 12px 28px -6px rgba(15, 23, 42, 0.6), 0 0 20px -4px rgba(99, 102, 241, 0.25); +} + +.link-card:hover::before { + background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08) 60%); +} + +.link-card:active { + transform: translateY(-1px); +} + +.link-icon { + width: 48px; + height: 48px; + background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.08)); + border: 1px solid rgba(255, 255, 255, 0.08); + border-radius: 0.85rem; + display: flex; + justify-content: center; + align-items: center; + font-size: 1.4rem; + margin-right: 1.2rem; + color: #818cf8; + transition: var(--transition); + flex-shrink: 0; +} + .link-card:hover .link-icon { - background: var(--primary-color); - color: white; + background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); + color: #ffffff; + border-color: transparent; + box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4); + transform: scale(1.05); } .link-content { flex: 1; + min-width: 0; } .link-title { display: block; font-weight: 600; - font-size: 1.1rem; - margin-bottom: 0.2rem; + font-size: 1.08rem; + margin-bottom: 0.25rem; + color: var(--text-primary); + transition: color 0.2s ease; + word-break: break-word; +} + +.link-card:hover .link-title { + color: #ffffff; } .link-desc { display: block; - font-size: 0.9rem; + font-size: 0.88rem; color: var(--text-secondary); + line-height: 1.45; + word-break: break-word; } .link-arrow { color: var(--text-secondary); - opacity: 0.5; + opacity: 0.4; transition: var(--transition); + flex-shrink: 0; + margin-left: 0.8rem; + font-size: 0.95rem; } .link-card:hover .link-arrow { - transform: translateX(5px); + transform: translateX(4px); opacity: 1; - color: var(--primary-color); + color: #818cf8; } /* Footer Section */ @@ -287,13 +344,28 @@ body { } .bio { - font-size: 1rem; + font-size: 0.95rem; + line-height: 1.65; + max-width: 96%; } + .link-card { + padding: 1rem 1.1rem; + } + .link-icon { - width: 44px; - height: 44px; + width: 42px; + height: 42px; font-size: 1.2rem; + margin-right: 0.9rem; + } + + .link-title { + font-size: 1rem; + } + + .link-desc { + font-size: 0.82rem; } .social-icons {