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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="zh-CN">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>ๆ็็ผ็จไธ็ | Coding Space</title>
|
| 7 |
+
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500&family=Inter:wght@300;400;700&display=swap" rel="stylesheet">
|
| 8 |
+
<style>
|
| 9 |
+
/* ๅบ็กๆ ทๅผๅ้ */
|
| 10 |
+
:root {
|
| 11 |
+
--primary-color: #00d2ff;
|
| 12 |
+
--secondary-color: #3a7bd5;
|
| 13 |
+
--bg-dark: #0f172a;
|
| 14 |
+
--card-bg: #1e293b;
|
| 15 |
+
--text-main: #f8fafc;
|
| 16 |
+
--text-dim: #94a3b8;
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
* {
|
| 20 |
+
margin: 0;
|
| 21 |
+
padding: 0;
|
| 22 |
+
box-sizing: border-box;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
body {
|
| 26 |
+
font-family: 'Inter', -apple-system, sans-serif;
|
| 27 |
+
background-color: var(--bg-dark);
|
| 28 |
+
color: var(--text-main);
|
| 29 |
+
line-height: 1.6;
|
| 30 |
+
overflow-x: hidden;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
/* ๅฏผ่ชๆ */
|
| 34 |
+
nav {
|
| 35 |
+
display: flex;
|
| 36 |
+
justify-content: space-between;
|
| 37 |
+
align-items: center;
|
| 38 |
+
padding: 1.5rem 10%;
|
| 39 |
+
background: rgba(15, 23, 42, 0.9);
|
| 40 |
+
backdrop-filter: blur(10px);
|
| 41 |
+
position: fixed;
|
| 42 |
+
width: 100%;
|
| 43 |
+
z-index: 1000;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.logo {
|
| 47 |
+
font-family: 'Fira Code', monospace;
|
| 48 |
+
font-weight: bold;
|
| 49 |
+
font-size: 1.5rem;
|
| 50 |
+
color: var(--primary-color);
|
| 51 |
+
}
|
| 52 |
+
|
| 53 |
+
.nav-links {
|
| 54 |
+
display: flex;
|
| 55 |
+
list-style: none;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.nav-links li { margin-left: 2rem; }
|
| 59 |
+
.nav-links a {
|
| 60 |
+
text-decoration: none;
|
| 61 |
+
color: var(--text-main);
|
| 62 |
+
transition: color 0.3s;
|
| 63 |
+
}
|
| 64 |
+
.nav-links a:hover { color: var(--primary-color); }
|
| 65 |
+
|
| 66 |
+
/* ่ฑ้็ๅ (Hero Section) */
|
| 67 |
+
header {
|
| 68 |
+
height: 100vh;
|
| 69 |
+
display: flex;
|
| 70 |
+
flex-direction: column;
|
| 71 |
+
justify-content: center;
|
| 72 |
+
align-items: center;
|
| 73 |
+
text-align: center;
|
| 74 |
+
background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
header h1 {
|
| 78 |
+
font-size: 4rem;
|
| 79 |
+
margin-bottom: 1rem;
|
| 80 |
+
background: linear-gradient(to right, #00d2ff, #3a7bd5);
|
| 81 |
+
-webkit-background-clip: text;
|
| 82 |
+
-webkit-text-fill-color: transparent;
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.typing-text {
|
| 86 |
+
font-family: 'Fira Code', monospace;
|
| 87 |
+
font-size: 1.2rem;
|
| 88 |
+
color: var(--text-dim);
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
/* ๆ่ฝ็ๅ */
|
| 92 |
+
.section { padding: 5rem 10%; }
|
| 93 |
+
.section-title {
|
| 94 |
+
text-align: center;
|
| 95 |
+
font-size: 2.5rem;
|
| 96 |
+
margin-bottom: 3rem;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.skills-grid {
|
| 100 |
+
display: grid;
|
| 101 |
+
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
| 102 |
+
gap: 2rem;
|
| 103 |
+
text-align: center;
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
.skill-item {
|
| 107 |
+
background: var(--card-bg);
|
| 108 |
+
padding: 1.5rem;
|
| 109 |
+
border-radius: 12px;
|
| 110 |
+
border: 1px solid #334155;
|
| 111 |
+
transition: transform 0.3s;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
.skill-item:hover {
|
| 115 |
+
transform: translateY(-10px);
|
| 116 |
+
border-color: var(--primary-color);
|
| 117 |
+
}
|
| 118 |
+
|
| 119 |
+
/* ้กน็ฎๅก็ */
|
| 120 |
+
.project-grid {
|
| 121 |
+
display: grid;
|
| 122 |
+
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
| 123 |
+
gap: 2rem;
|
| 124 |
+
}
|
| 125 |
+
|
| 126 |
+
.project-card {
|
| 127 |
+
background: var(--card-bg);
|
| 128 |
+
border-radius: 15px;
|
| 129 |
+
overflow: hidden;
|
| 130 |
+
transition: scale 0.3s;
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
.project-card:hover { scale: 1.02; }
|
| 134 |
+
|
| 135 |
+
.project-info { padding: 1.5rem; }
|
| 136 |
+
.project-info h3 { margin-bottom: 0.5rem; color: var(--primary-color); }
|
| 137 |
+
.tags { margin-top: 1rem; }
|
| 138 |
+
.tag {
|
| 139 |
+
font-size: 0.8rem;
|
| 140 |
+
background: #334155;
|
| 141 |
+
padding: 2px 8px;
|
| 142 |
+
border-radius: 4px;
|
| 143 |
+
margin-right: 5px;
|
| 144 |
+
}
|
| 145 |
+
|
| 146 |
+
footer {
|
| 147 |
+
text-align: center;
|
| 148 |
+
padding: 3rem;
|
| 149 |
+
background: #0b1120;
|
| 150 |
+
color: var(--text-dim);
|
| 151 |
+
font-size: 0.9rem;
|
| 152 |
+
}
|
| 153 |
+
|
| 154 |
+
/* ็ฎๅ็ๅจ็ป */
|
| 155 |
+
@keyframes fadeIn {
|
| 156 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 157 |
+
to { opacity: 1; transform: translateY(0); }
|
| 158 |
+
}
|
| 159 |
+
|
| 160 |
+
.animate { animation: fadeIn 1s ease forwards; }
|
| 161 |
+
|
| 162 |
+
</style>
|
| 163 |
+
</head>
|
| 164 |
+
<body>
|
| 165 |
+
|
| 166 |
+
<nav>
|
| 167 |
+
<div class="
|