-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
158 lines (137 loc) · 4.53 KB
/
Copy pathindex.html
File metadata and controls
158 lines (137 loc) · 4.53 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
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>思哥の工具库</title>
<style>
/* 全局 */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f9;
color: #333;
line-height: 1.6;
}
/* 导航栏 */
.navbar {
background-color: #007bff;
padding: 15px 20px;
color: #fff;
text-align: center;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar h1 {
margin: 0;
font-size: 24px;
font-weight: bold;
}
/* 内容容器 */
.container {
max-width: 800px;
margin: 40px auto;
padding: 20px;
background-color: #fff;
border-radius: 8px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* 分类标题 */
.category-title {
font-size: 20px;
font-weight: bold;
margin: 20px 0 10px;
color: #007bff;
border-bottom: 2px solid #007bff;
padding-bottom: 5px;
}
/* 链接列表 */
.link-list {
list-style: none;
padding: 0;
}
.link-list li {
margin: 10px 0;
}
.link-list a {
display: block;
padding: 12px;
background-color: #f8f9fa;
border-radius: 6px;
text-decoration: none;
color: #007bff;
font-size: 16px;
font-weight: bold;
transition: background-color 0.3s ease, transform 0.2s ease;
}
.link-list a:hover {
background-color: #e2e6ea;
transform: translateY(-2px);
}
.link-list a:active {
transform: translateY(0);
}
/* 深色模式 */
@media (prefers-color-scheme: dark) {
body {
background-color: #121212;
color: #e0e0e0;
}
.navbar {
background-color: #1a73e8;
}
.container {
background-color: #1e1e1e;
box-shadow: 0 4px 10px rgba(255, 255, 255, 0.1);
}
.category-title {
color: #1a73e8;
border-bottom-color: #1a73e8;
}
.link-list a {
background-color: #333;
color: #1a73e8;
}
.link-list a:hover {
background-color: #444;
}
}
</style>
</head>
<body>
<!-- 导航栏 -->
<div class="navbar">
<h1>思哥の工具库</h1>
</div>
<!-- 内容容器 -->
<div class="container">
<!-- 分类 1 -->
<div class="category">
<div class="category-title">时间类</div>
<ul class="link-list">
<li><a href="https://tools.albert-peng.top/time/unix_timestamp.html" target="_blank">Unix 时间戳转换</a></li>
<li><a href="https://tools.albert-peng.top/time/time_now.html" target="_blank">当前时间</a></li>
<li><a href="https://tools.albert-peng.top/time/timer.html" target="_blank">计时器</a></li>
</ul>
</div>
<!-- 分类 2 -->
<div class="category">
<div class="category-title">字符类</div>
<ul class="link-list">
<li><a href="https://tools.albert-peng.top/char/ascii.html" target="_blank">ASCII 编码表</a></li>
<li><a href="https://tools.albert-peng.top/char/editor_markdown.html" target="_blank">Markdown 编辑器</a></li>
<li><a href="https://tools.albert-peng.top/char/av2bv.html" target="_blank">B 站 AV / BV 号转换器</a></li>
</ul>
</div>
<!-- 分类 3 -->
<div class="category">
<div class="category-title">数学类</div>
<ul class="link-list">
<li><a href="https://tools.albert-peng.top/maths/bin2oct2dec2hex.html" target="_blank">进制转换器</a></li>
<li><a href="https://tools.albert-peng.top/maths/pow.html" target="_blank">乘方计算器</a></li>
<li><a href="https://tools.albert-peng.top/maths/random.html" target="_blank">随机数生成器</a></li>
</ul>
</div>
</div>
</body>
</html>