forked from javierbyte/control-user-cursor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
127 lines (109 loc) · 1.73 KB
/
Copy pathstyle.css
File metadata and controls
127 lines (109 loc) · 1.73 KB
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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
* {
margin: 0;
padding: 0;
position: relative
}
* {
cursor: none;
-moz-user-select: none;
user-select: none;
-webkit-user-select: none;
z-index: 2;
}
body {
height: 100vh;
width: 100vw;
font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Arial, sans-serif;
background-color: #ecf0f1;
}
a {
color: #2980b9;
}
a:hover {
color: #3498db;
}
.how-it-works {
position: fixed;
bottom: 2rem;
right: 2rem;
}
.info {
position: fixed;
top: 1rem;
left: 1rem;
}
.info-title {
font-size: 1.5rem;
line-height: 1.5rem;
font-weight: 300;
padding-bottom: 0.618rem;
}
.info-description {
font-size: 1rem;
color: #7f8c8d;
}
.options {
border: 1px solid #bdc3c7;
border-radius: 2px;
height: 2rem;
font-size: 0.8rem;
margin-top: 1rem;
display: inline-block;
}
.options-element {
height: 2rem;
line-height: 2rem;
padding: 0 1rem;
border-right: 1px solid #bdc3c7;
float: left;
}
.options-element:last-of-type {
border-right: none;
}
.options-element.-active {
background-color: #fff;
font-weight: 500;
}
#cursor {
opacity: 0;
margin-top: -2px;
margin-left: -2px;
position: fixed;
z-index: 2;
pointer-events: none;
}
.clickme {
position: fixed;
display: block;
width: 64px;
height: 64px;
border-radius: 64px;
background: #2980B9;
text-align: center;
line-height: 64px;
top: 50%;
left: 50%;
margin-top: -32px;
margin-left: -32px;
text-transform: uppercase;
font-weight: 700;
text-decoration: none;
font-size: 12px;
color: #fff;
pointer-events: none;
font-weight: 500;
}
.clickme.-alt1 {
top: 35%;
left: 35%;
}
.clickme.-alt2 {
top: 65%;
left: 65%;
}
.clickme.-nope {
background: #c0392b;
}
.clickme.-hover {
opacity: 0.8;
}