-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
80 lines (78 loc) · 2.21 KB
/
index.php
File metadata and controls
80 lines (78 loc) · 2.21 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>会员注册Beta</title>
<style>
.main{
/* 设置边框和居中 */
border: 1px solid #0000FF;
margin: 0 auto;
width: 80%;
max-width:1000px;
text-align: center;
padding: 1.5rem 1rem;
box-shadow: 0 6px 18px rgba(16,24,40,0.06);
border-radius:8px;
}
h1,h2{
margin: 50px 0;
}
h1{
font-size: 2rem;
color: #222;
/* 文字阴影:水平偏移 垂直偏移 模糊半径 颜色 */
text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}
/* 使 h2 的链接一行显示 */
.main h2{
display: flex;
justify-content: center;
align-items: flex-start;
gap: 1.25rem; /* 链接之间的水平间距 */
flex-wrap: wrap; /* 小屏幕允许换行 */
padding: 0;
margin: 40px 0;
list-style: none;
}
.main h2 a{
display: flex;
flex-direction: column; /* 中文在上,英文在下 */
align-items: center;
justify-content: center;
gap: 0.25rem;
margin: 0; /* 使用 gap 控制间距,不额外加右边距 */
color: blue;
text-decoration: none;
/* 为导航链接添加更细的文字阴影 */
text-shadow: 1px 1px 2px rgba(0,0,0,0.25);
}
.main h2 a .en{
display: block;
font-size: 0.7rem;
color: #6b7280;
margin-top: 4px;
}
.main h2 a:last-child{
margin-right: 0;
}
.main h2 a:hover{
color:white;
}
.current{
color:brown;
text-decoration: underline;
}
</style>
</head>
<body>
<div class="main">
<?php
include 'nav.php';
?>
</div>
</body>
</html>