-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaddon.css
More file actions
113 lines (100 loc) · 1.75 KB
/
Copy pathaddon.css
File metadata and controls
113 lines (100 loc) · 1.75 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
body {
background-color: #232323;
margin: 0;
font-family: "Montserrat", "Avenir";
cursor: pointer;
}
.square {
width: 30%;
background: purple;
padding-bottom: 30%;
float: left;
margin: 1.66%;
border-radius: 15%;
transition: background 0.6s;
-webkit-transition: background 0.6s;
-moz-transition: background 0.6s;
}
#container {
margin: 20px auto;
max-width: 600px;
}
h1 {
text-align: center;
line-height: 1.1;
font-weight: normal;
color: white;
background: steelblue;
margin: 0;
text-transform: uppercase;
padding: 20px 0;
}
#colorDisplay {
font-size: 200%;
}
#message {
display: inline-block;
width: 20%;
color : white;
}
#stripe {
background:rgb(20, 20, 20);
height: 30px;
text-align: center;
color: black;
}
.selected {
color: white;
background: steelblue;
}
button {
border: none;
background: none;
text-transform: uppercase;
height: 100%;
font-weight: 700;
color: steelblue;
letter-spacing: 1px;
font-size: inherit;
transition: all 0.3s;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
outline: none;
}
button:hover {
color: white;
background: steelblue;
}
.cursor {
position: fixed;
width: 50px;
height: 50px;
left: 0;
top: 0;
border: 1px solid white;
border-radius: 50%;
pointer-events: none;
transform: translate(-50%, -50%);
transition: -30s;
}
.cursor2 {
position: fixed;
width: 8px;
height: 8px;
left: 0;
top: 0;
background-color: black;
border: 1px solid white;
border-radius: 50%;
pointer-events: none;
transform: translate(-50%, -50%);
transition: -15s;
}
.content:hover ~ .cursor {
transform: translate(-50%, -50%) scale(1.5);
background-color: #c6c6c6;
opacity: 0.5;
}
.content:hover ~ .cursor2 {
opacity: 0;
}