-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
182 lines (158 loc) · 5.26 KB
/
index.html
File metadata and controls
182 lines (158 loc) · 5.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>IT 工具集</title>
<style>
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
min-height: 100vh;
color: #fff;
}
.container {
max-width: 1000px;
margin: 0 auto;
padding: 60px 20px;
}
header {
text-align: center;
margin-bottom: 60px;
}
h1 {
font-size: 3rem;
font-weight: 300;
letter-spacing: 2px;
margin-bottom: 15px;
background: linear-gradient(90deg, #00d9ff, #00ff88);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.subtitle {
color: #888;
font-size: 1.1rem;
letter-spacing: 1px;
}
.tools-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}
.tool-card {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 20px;
padding: 40px 30px;
text-decoration: none;
color: inherit;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.tool-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 3px;
background: linear-gradient(90deg, var(--accent), transparent);
opacity: 0;
transition: opacity 0.3s;
}
.tool-card:hover {
transform: translateY(-5px);
background: rgba(255, 255, 255, 0.08);
border-color: var(--accent);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.tool-card:hover::before {
opacity: 1;
}
.tool-card[data-tool="json"] { --accent: #00d9ff; }
.tool-card[data-tool="timestamp"] { --accent: #ff6b6b; }
.tool-card[data-tool="in-sql"] { --accent: #00ff88; }
.tool-card[data-tool="set-diff"] { --accent: #a78bfa; }
.tool-icon {
font-size: 3rem;
margin-bottom: 20px;
display: block;
}
.tool-card h2 {
font-size: 1.5rem;
font-weight: 500;
margin-bottom: 12px;
color: var(--accent);
}
.tool-card p {
color: #999;
line-height: 1.6;
font-size: 0.95rem;
}
.tool-card .arrow {
position: absolute;
bottom: 25px;
right: 25px;
font-size: 1.5rem;
color: var(--accent);
opacity: 0;
transform: translateX(-10px);
transition: all 0.3s;
}
.tool-card:hover .arrow {
opacity: 1;
transform: translateX(0);
}
footer {
text-align: center;
margin-top: 80px;
color: #555;
font-size: 0.9rem;
}
footer a {
color: #00d9ff;
text-decoration: none;
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>🛠️ IT 工具集</h1>
<p class="subtitle">开发者常用小工具,提升效率</p>
</header>
<div class="tools-grid">
<a href="json-formatter.html" class="tool-card" data-tool="json">
<span class="tool-icon">{ }</span>
<h2>JSON 格式化</h2>
<p>JSON 格式化、压缩、校验,支持语法高亮显示,快速定位错误位置</p>
<span class="arrow">→</span>
</a>
<a href="timestamp.html" class="tool-card" data-tool="timestamp">
<span class="tool-icon">⏱️</span>
<h2>时间戳转换</h2>
<p>Unix 时间戳与日期时间互转,支持秒级和毫秒级时间戳</p>
<span class="arrow">→</span>
</a>
<a href="in-clause.html" class="tool-card" data-tool="in-sql">
<span class="tool-icon">📝</span>
<h2>多行转 IN 语句</h2>
<p>将多行文本转换为 SQL IN 语句,支持字符串和数字格式</p>
<span class="arrow">→</span>
</a>
<a href="set-diff.html" class="tool-card" data-tool="set-diff">
<span class="tool-icon">🧮</span>
<h2>集合差集 / 交集</h2>
<p>对比两份列表,一键求差集(A \ B)或交集(A ∩ B),适合对账与排查</p>
<span class="arrow">→</span>
</a>
</div>
<footer>
<p>单文件 HTML 工具,无需安装,离线可用</p>
</footer>
</div>
</body>
</html>