-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (95 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>+Note | Better Programming Notes</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/granim/1.1.0/granim.js"></script>
<style>
*{
margin: 0;
padding: 0
}
html{
width: 100%;
height: 100%;
}
body{
width: 100%;
text-align: center;
color: #ffffff;
box-sizing: border-box;
font-family: 'Open Sans';
}
#canvas-basic {
position: absolute;
display: block;
width: 100%;
height: 100%;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: -100
}
.page-title{
font-size: 3em;
margin-top: 15%
}
.subtitle{
font-weight: normal;
color: #b2d3d9;
margin-top: 20px;
font-size: 18px;
margin-bottom: 70px
}
.download-btn{
display: inline-block;
width: 180px;
border: 1px solid #ffffff;
padding: 10px 0;
color: #ffffff;
text-decoration: none;
margin: 0 20px;
background-color: rgba(256, 256, 256, 0.05);
opacity: 0.7;
border-radius: 6px;
transition: 0.3s all ease;
}
.download-btn:hover{
opacity: 1;
background-color: rgba(256, 256, 256, 0.2);
transition: 0.3s all ease;
}
</style>
<script>
window.onload = function(){
var granimInstance = new Granim({
element: '#canvas-basic',
name: 'basic-gradient',
direction: 'left-right',
opacity: [1, 1],
isPausedWhenNotInView: true,
states : {
"default-state": {
gradients: [
['#155799', '#159957'],
['#AA076B', '#61045F'],
['#02AAB0', '#00CDAC'],
['#DA22FF', '#9733EE'],
['#2298d8', '#00c876']
]
}
}
});
}
</script>
</head>
<body>
<h1 class="page-title">+Note</h1>
<h3 class="subtitle">A Note-taking Application For Code Lovers</h3>
<a href="https://www.dropbox.com/s/h6q8e86lollmz1k/%2BNote-win.zip?dl=1" class="download-btn">Windows x64</a>
<a href="https://www.dropbox.com/s/idd8gkl7aa57gt2/%2BNote-OSX.zip?dl=1" class="download-btn">Mac OS</a>
<canvas id="canvas-basic"></canvas>
</body>
</html>