-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyles.css
96 lines (82 loc) · 1.51 KB
/
styles.css
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
* {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
html, body {
width: 100vw;
height: 100vh;
font-size: 18px;
line-height: 1.6;
overflow: hidden;
}
body {
color: #FFFFFF;
background-color: #2DB1E5;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
.wrapper {
width: 100vw;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
.sun,
.askpermission {
opacity: 1;
-webkit-transition: opacity 1s ease;
-moz-transition: opacity 1s ease;
-o-transition: opacity 1s ease;
transition: opacity 1s ease;
}
.sun.sunhover {
cursor: pointer;
}
.sun.hidden,
.askpermission.hidden {
opacity: 0;
}
.askpermission,
.infos {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.askpermission {
width: 400px;
max-width: calc(100vw - 2rem);
}
.askpermission p {
font-size: 1.25rem;
}
.askpermission .buttons {
display: flex;
justify-content: space-between;
margin-top: 3.2rem;
}
.askpermission input {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 1rem;
color: #EEE;
padding: 0.4rem 0.75rem;
border: 1px solid #EEE;
border-radius: 0.3rem;
background: transparent;
cursor: pointer;
-webkit-transition: all 0.3s ease;
-moz-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
transition: all 0.3s ease;
}
.askpermission input:hover,
.askpermission input:focus {
border-color: #FFF;
color: #FFF;
outline: none;
}