-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
63 lines (57 loc) · 1.93 KB
/
template.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>~ message ~</title>
</head>
<body>
<svg viewbox="0 0 100 20">
<defs>
<linearGradient id="gradient" x1="0" x2="0" y1="0" y2="1">
<stop offset="5%" stop-color="#326384" />
<stop offset="95%" stop-color="darkblue" />
</linearGradient>
<pattern id="wave" x="0" y="0" width="120" height="20" patternUnits="userSpaceOnUse">
<path id="wavePath" d="M-40 9 Q-30 7 -20 9 T0 9 T20 9 T40 9 T60 9 T80 9 T100 9 T120 9 V20 H-40z" mask="url(#mask)"
fill="url(#gradient)">
<animateTransform attributeName="transform" begin="0s" dur="1.5s" type="translate" from="0,0" to="40,0"
repeatCount="indefinite" />
</path>
</pattern>
</defs>
<text text-anchor="middle" x="50" y="15" font-size="12" fill="url(#wave)" fill-opacity="0.6">
~ message ~
</text>
<text text-anchor="middle" x="50" y="15" font-size="12" fill="url(#gradient)" fill-opacity="0.1">
~ message ~
</text>
</svg>
<style>
body,
html {
margin: 0;
padding: 0;
height: 100%;
}
body {
background: #b3dced;
background: -moz-linear-gradient(top, #b3dced 0%, #29b8e5 50%, #bce0ee 100%);
background: -webkit-linear-gradient(top, #b3dced 0%, #29b8e5 50%, #bce0ee 100%);
background: linear-gradient(to bottom, #b3dced 0%, #29b8e5 50%, #bce0ee 100%);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3dced', endColorstr='#bce0ee', GradientType=0);
font-family: 'Cabin Condensed', sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
svg {
font-weight: bold;
max-width: 90%;
height: auto;
}
</style>
</body>
</html>