-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpage.html
100 lines (92 loc) · 2.23 KB
/
page.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
<!doctype html>
<!--
This page is shown when the extension button is clicked, because the
"browser_action" field in manifest.json contains the "default_popup" key with
value "popup.html".
-->
<html>
<head>
<title>Sethome</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #27243F;
}
canvas {
display: block;
vertical-align: bottom;
}
/* ---- particles.js container ---- */
canvas {
display: block;
vertical-align: bottom;
}
h1 {
margin: auto;
color: white;
background-color: transparent;
display: flex;
font-size: 10em;
margin: auto auto 0 auto;
}
#bg {
background: radial-gradient(ellipse 150% 100% at 50% 100%, rgba(82,42,84,1) 0%, #27243F 35%, #27243F 50%, #253A4A 75%, #27243F 95%, #27243F 100%);
background-repeat: no-repeat;
background-size: cover;
background-attachment:fixed;
}
#time {
font-size: 5em;
display: flex;
margin: 0 auto auto auto;
color: white;
}
.banner {
height: 50vh;
width: 66vw;
background-color: transparent;
display: flex;
flex-direction: column;
margin: 25vh auto 0 auto;
}
.line {
width:33vw;
height: 2px;
background-color: white;
margin: 2px auto 2px auto;
}
.particles {
position: fixed;
width: 100%;
height: 100%;
top: 0;
z-index: -1;
background: transparent;
}
</style>
<!--
- JavaScript and HTML must be in separate files: see our Content Security
- Policy documentation[1] for details and explanation.
-
- [1]: https://developer.chrome.com/extensions/contentSecurityPolicy
-->
<script src="postpopup.js"></script>
</head>
<body>
<div class="particles" id="bg"></div>
<div class="particles" id="particles-js-bg-static"></div>
<div class="particles" id="particles-js-bg-animated"></div>
<div class="particles" id="particles-js-constellations"></div>
<div class="banner">
<h1 id="title"></h1>
<div class="line"></div>
<div id="time"></div>
</div>
</body>
<footer>
<script src="particles.min.js"></script>
<script src="particles.js"></script>
<script src="time.js"></script>
</footer>
</html>