forked from wifislax/dripcap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrender.html
55 lines (49 loc) · 990 Bytes
/
render.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Dripcap</title>
<link href="../font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css">
<style>
html,
body {
margin: 0;
height: 100%;
}
#splash {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
color: #2b303b;
background-color: #dfe1e8;
z-index: 999;
}
#splash .container {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
#splash i {
max-width: 50%;
font-size: 64px;
opacity: 0.4;
}
</style>
</head>
<body>
<div id="splash">
<div class="container"><i class="fa fa-cog fa-spin"></i></div>
</div>
<script>
Object.defineProperty(document, 'createElementNS', {
value: document.createElementNS
});
process.nextTick(function() {
require('dripcap-core/render');
});
</script>
</body>
</html>