-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (96 loc) · 2.71 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
#root{
max-width: 600px;
margin: 0 auto;
text-align: center;
font-family: system-ui;
transition: visibility 2s, opacity 0.5s linear;
}
canvas{
display: block;
margin: 1em auto;
box-shadow: 0 0 2em rgba(0,0,0,0.2);
border-radius: 1em;
}
button{
display: inline-block;
vertical-align: middle;
border: 0;
padding: .3em .5em;
padding-left: 0;
font-size: 1em;
line-height: 1.5em;
margin: 1em .3em;
cursor: pointer;
border-radius: 1em;
background-color: #efefef;
transition: .4s ease;
}
button:before{
content: '';
float: left;
width: 1.5em;
height: 1.5em;
border-radius: 1.5em;
margin-right: .3em;
margin-left: .3em;
}
button:focus{
outline: none !important;
box-shadow: 0px 0 1em rgb(0, 99, 234), 0 0 2em #FFF;
}
button::-moz-focus-inner {
border: 0;
}
.blue-ish:before{background-color: blue;}
.red-ish:before{background-color: red;}
.green-ish:before{background-color: green;}
.blue-ish:before{background-color: blue;}
.orange-ish:before{background-color: orange;}
.yellow-ish:before{background-color: yellow;}
.pink-ish:before{background-color: pink;}
.purple-ish:before{background-color: purple;}
.brown-ish:before{background-color: #8B4513;}
.grey-ish:before{background-color: grey;}
body{
background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%,rgba(0,0,0,0) 100%);
user-select: none;
transition: background-color 1s ease-out;
}
html{
height: 100%;
}
.loading {
width: 200px;
height: 200px;
display: flex;
justify-content: center;
margin: 1em auto;
}
.disabled{
pointer-events: none;
opacity: 0;
transition: 1s ease;
}
</style>
<title>crowdsource color</title>
<script src="https://www.gstatic.com/firebasejs/5.0.4/firebase.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/p5.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.6.1/addons/p5.dom.min.js"></script>
<script src="Sito.js"></script>
<input type="button" value="Logout Provvisorio" onclick=firebase.auth().signOut()>
<div id="root">
<div class="loading" style="display:none;">
<img src="loading.svg" alt="Loading...">
</div>
</div>
</head>
<body>
</body>
</html>