-
Notifications
You must be signed in to change notification settings - Fork 0
/
RGBs.css
103 lines (89 loc) · 2.04 KB
/
RGBs.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
97
98
99
100
101
102
103
body {
background-color: #232323;
margin: 0;
font-family: 'Play', sans-serif;
}
.square {
width: 100%;
background-color: purple;
border: 2px solid rgba(255, 255, 255, 0.5);
margin: 1.66%;
border-radius: 45%;
transition: background-color 0.5s;
-webkit-transition:background-color 0.6s;
-moz-transition:background-color 0.6s;
-ms-transition:background-color 0.6s;
-o-transition:background-color 0.6s;
}
.square:after {
content: "";
display: block;
padding-bottom: 100%;
}
.square:hover{
cursor: pointer;
border: 5px solid white;
transition: border 0.5s;
}
#wrapper {
margin: 10px auto;
max-width: 600px;
}
h1 {
text-align: center;
color: white;
line-height: 1.1;
margin: 0;
font-weight: normal;
text-transform: uppercase;
padding: 20px 0;
}
.cool-gradient {
background: #00B4DB;
/* fallback for old browsers */
background: -webkit-linear-gradient(to bottom, #0083B0, #00B4DB);
/* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to bottom, #0083B0, #00B4DB);
/* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
#colorDisplay {
font-size: 20px;
}
.stripe {
background-color: #232323;
}
.stripe-correct{
color: white;
background-color: #408939;
font-size:20px;
text-align: center;
}
.stripe-wrong {
color: white;
background-color: #C93933;
font-size:20px;
text-align: center;
}
#message {
background-color: rgb(35, 35, 35, 0.5);
font-size: 30px;
padding: 0 80px;
display: inline-block;
}
#reset{
margin:10px 0;
border-top-left-radius: 0.5rem;
border-top-right-radius: 0rem;
border-bottom-right-radius: 0rem;
border-bottom-left-radius: 0.5rem;
border: 1px solid rgba(255, 255, 255, 0.5);
border-right: none;
}
button {
text-transform: uppercase;
letter-spacing: 1px;
outline: none;
}
button:hover{
cursor: pointer;
}