-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
183 lines (163 loc) · 4.45 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
<!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="icon" type="image/x-icon" href="https://media.discordapp.net/attachments/1091510078911299674/1158780247836201052/HCHS_logo.png?ex=651d7db4&is=651c2c34&hm=e4dc0b43cea5dffa0af02d0e4dae5ea951e8cef049088b3e2cec7599d1037fb4&=&width=689&height=671">
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<style>
@import url("https://fonts.googleapis.com/css?family=Lato:300:400");
body {
margin: 0;
font-family: "Lato", sans-serif;
font-weight: 300;
letter-spacing: 2px;
font-size: 48px;
color: white;
}
.waves {
position: absolute;
bottom: 0;
width: 100%;
height: 15vh;
margin-bottom: 0px;
/*Fix for safari gap*/
min-height: 100px;
max-height: 150px;
}
/* Animation */
.parallax > use {
animation: move-forever 25s cubic-bezier(0.55, 0.5, 0.45, 0.5) infinite;
}
.parallax > use:nth-child(1) {
animation-delay: -2s;
animation-duration: 7s;
}
.parallax > use:nth-child(2) {
animation-delay: -3s;
animation-duration: 10s;
}
.parallax > use:nth-child(3) {
animation-delay: -4s;
animation-duration: 13s;
}
.parallax > use:nth-child(4) {
animation-delay: -5s;
animation-duration: 20s;
}
@keyframes move-forever {
0% {
transform: translate3d(-90px, 0, 0);
}
100% {
transform: translate3d(85px, 0, 0);
}
}
/*Shrinking for mobile*/
@media (max-width: 768px) {
.waves {
height: 40px;
min-height: 40px;
}
}
.outcontainer {
min-height: 100vh;
max-width: 100%;
display: flex;
flex-direction: column;
background: linear-gradient(
60deg,
rgba(84, 58, 183, 1) 0%,
rgba(0, 172, 193, 1) 100%
);
justify-content: center;
align-items: center;
position: relative;
}
.wrapper-buttons {
display: flex;
flex-direction: row; /* 變更為水平排列 */
align-items: center;
justify-content: space-between; /* 平均分佈按鈕 */
padding: 0 20px; /* 添加左右間距 */
}
/* 增加按鈕之間的間距 */
.wrapper-buttons a + a {
margin-left: 50px; /* 設定按鈕之間的間距 */
}
.blue-button,
.white-button {
width: 100%;
display: inline-block;
font-family: Whitney, "Open Sans", Helvetica, sans-serif;
font-weight: 400;
font-size: 20pt;
border-radius: 3px;
cursor: pointer;
height: 90px;
box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
}
.blue-button {
background-color: #7289da;
border: 2px solid #7289da;
color: #fff;
}
.white-button {
background-color: #fff;
border: 2px solid #fff;
color: #000;
}
.blue-button:hover,
.white-button:hover {
transform: translateY(1px);
}
.blue-button:active,
.white-button:active {
transform: translateY(2px);
}
.blue-button,
.white-button {
outline: transparent !important;
}
</style>
</head>
<body>
<div class="outcontainer">
<div class="wrapper-buttons">
<a href="/invite">
<button class="blue-button">Invite HCHS Bot</button>
</a>
<a href="/discord">
<button class="white-button">Join our Discord</button>
</a>
</div>
<svg
class="waves"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28"
preserveAspectRatio="none"
shape-rendering="auto"
>
<defs>
<path
id="gentle-wave"
d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z"
/>
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,255,255,0.7)" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,255,255,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,255,255,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="#fff" />
</g>
</svg>
</div>
</body>
</html>