-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
229 lines (192 loc) · 5.04 KB
/
index.html
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
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>野良露營-前後台入口</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800;900&display=swap" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/reset-css@5.0.2/reset.min.css" rel="stylesheet" />
<style>
* {
box-sizing: border-box;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
background: #3eb3c2;
}
.wrap {
width: 100svw;
display: flex;
flex-direction: column;
}
.flag-container {
width: 100%;
position: absolute;
top: -11px;
text-align: center;
z-index: 10;
}
.flag-container img {
width: 50%;
}
.guide-marquee {
position: relative;
width: 100%;
color: #fff;
white-space: nowrap;
overflow: hidden;
}
.line1 {
height: 50px;
background: #d5faff;
}
.line2 {
height: 20px;
background: #bae6ec;
}
.center {
width: 100%;
}
.box {
margin: 0 auto;
display: flex;
justify-content: center;
}
.container {
margin: 20px auto;
display: flex;
justify-content: center;
a+a {
margin-left: 100px;
}
}
a {
padding: 30px 50px;
border-radius: 10px;
border: 0;
background-color: rgb(255, 56, 86);
letter-spacing: 1.5px;
transition: all 0.3s ease;
box-shadow: rgb(201, 46, 70) 0px 10px 0px 0px;
color: hsl(0, 0%, 100%);
cursor: pointer;
font-size: 40px;
font-weight: 900;
font-family: "Inter", sans-serif;
text-decoration: none;
}
a:hover {
transform: translateY(10px);
box-shadow: rgb(201, 46, 70) 0px 0px 0px 0px;
background-color: #CED38C;
}
a:active {
background-color: rgb(255, 56, 86);
/*50, 168, 80*/
box-shadow: rgb(201, 46, 70) 0px 0px 0px 0px;
transform: translateY(5px);
transition: 200ms;
}
.copyright {
width: 100%;
padding: 20px 0;
background-color: #bae6ec;
overflow: hidden;
}
.copyright p {
font-weight: bold;
color: #000;
white-space: nowrap;
}
/*跑馬燈*/
.guide-marquee img {
position: relative;
transform: translateX(153%);
animation: welcome 15s linear infinite;
}
@keyframes welcome {
100% {
transform: translateX(-100%);
}
}
.copyright>p {
animation: marquee 40s linear infinite;
}
@keyframes marquee {
from {
transform: translateX(100%);
}
to {
transform: translateX(-100%);
}
}
.rule-trees1,
.rule-trees2 {
position: fixed;
left: 0%;
bottom: 20%;
display: flex;
align-items: center;
justify-content: space-between;
animation: TreeMove 1s infinite linear;
}
.rule-trees2 {
left: 73%;
}
@keyframes TreeMove {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(10px);
}
100% {
transform: translateY(0px);
}
}
</style>
</head>
<body>
<div class="wrap">
<div class="flag-container">
<img class="colorful-flags" src="./image/index/flag.png" alt="營區規範區塊三角旗" />
</div>
<div class="line2"></div>
<div class="guide-marquee">
<img src="./image/index/marquee.svg" alt="跑馬燈" />
</div>
<div class="line2"></div>
<div class="center">
<div class="box">
<img src="./image/index/logo.png" alt="logo" />
</div>
<div class="container">
<a href="./front">前台</a>
<a href="./back">後台</a>
</div>
</div>
<div class="copyright">
<p>
本網站為緯育TibaMe_前端設計工程師班第88期學員專題成果作品,本平台僅供學習、展示之用。若有抵觸有關著作權,或有第三人主張侵害智慧財產權等情事,均由學員負法律上責任,緯育公司概不負責。若有侵權疑慮,您可以私訊[緯育TibaMe],後續會由專人協助處理。
</p>
</div>
<div class="rule-trees1">
<img src="./image/index/tree_icon_2.svg" alt="樹圖片" />
<img src="./image/index/tree_icon_1.svg" alt="樹圖片" />
<img src="./image/index/tree_icon_2.svg" alt="樹圖片" />
<img src="./image/index/tree_icon_1.svg" alt="樹圖片" />
</div>
<div class="rule-trees2">
<img src="./image/index/tree_icon_2.svg" alt="樹圖片" />
<img src="./image/index/tree_icon_1.svg" alt="樹圖片" />
<img src="./image/index/tree_icon_2.svg" alt="樹圖片" />
<img src="./image/index/tree_icon_1.svg" alt="樹圖片" />
</div>
</div>
</body>
</html>