-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
76 lines (68 loc) · 1.37 KB
/
main.css
File metadata and controls
76 lines (68 loc) · 1.37 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
body {
background-color: rgb(31, 30, 30);
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
}
.square {
width: 30%;
background-color: rgb(31, 30, 30);
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 {
max-width: 600px;
margin: 20px auto;
}
h1 {
color: aliceblue;
text-align: center;
background-color: slateblue;
font-weight: normal;
text-transform: uppercase;
line-height: 1.1;
padding: 20px 0;
margin: 0;
}
#message {
color: black;
display: inline-block;
width: 25%;
font-size: inherit;
}
#stripe {
background: white;
height: 30px;
text-align: center;
}
.selected {
background: slateblue;
}
button.selected {
color: white;
}
/* for selected RGB color in h1 */
#selected {
font-size: 200%;
}
button {
border: none;
background: none;
height: 100%;
text-transform: uppercase;
font-weight: 700;
color: slateblue;
font-size: inherit;
letter-spacing: 1px;
transition: all 0.3s;
-webkit-transition: all 0.3s;
-moz-transition: all 0.3s;
}
button:hover {
background: slateblue;
color: white;
}