-
Notifications
You must be signed in to change notification settings - Fork 0
/
color.css
91 lines (79 loc) · 1.23 KB
/
color.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
body {
background-color: #232323;
margin: 0;
font-family: "Avenir";
}
/* heading */
#topBanner {
background-color: steelblue;
margin: 0;
color: white;
}
h1 {
text-align: center;
font-weight: normal;
text-transform: uppercase;
margin: 0;
padding: 20px 0px;
line-height: 1.1;
}
h3 {
color: white;
}
#correctAnswer {
font-size: 150%;
}
/* navbar */
#navbar {
background-color: white;
height: 30px;
text-align: center;
}
/* buttons */
.selected {
background-color: steelblue;
color: white;
}
#xhard:hover {
background-color: grey;
}
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 {
background: steelblue;
color: white;
}
/* text */
#outputText {
width: 20%;
display: inline-block;
}
/* main body */
.square {
width: 30%;
background-color: grey;
padding-bottom: 30%;
float: left;
margin: 1.66%;
border-radius: 10%;
/* animation */
transition: background 1s;
-webkit-transition: background 1s;
-moz-transition: background 1s;
}
#container {
max-width: 450px;
margin: 15px auto;
}