-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
96 lines (83 loc) · 1.37 KB
/
styles.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
body {
margin: 0;
padding: 0;
font-family: monospace;
min-width: 400px;
user-select: none;
}
h1 {
font-size: 1.5rem;
text-align: center;
font-weight: normal;
margin: 0;
padding: 15px 0;
line-height: 1.5;
text-shadow: 0px 0px 7px white;
}
button {
cursor: pointer;
font-size: 0.85rem;
border: none;
background: none;
height: inherit;
font-weight: 300;
font-family: inherit;
letter-spacing: 1px;
transition: all 0.3s 0.05s;
outline: none;
border-radius: 5px;
}
button:hover {
box-shadow: 0px 5px 10px lightgray;
transform: translateY(-2px);
}
button.selected {
border:black solid 1px;
background-color: #f4f4f4;
}
button:active {
transition: all 0.1s;
transform: translateY(1px);
}
.square {
width: 30%;
padding-bottom: 30%;
float: left;
margin: 1.6666%;
border-radius: 15%;
transition: all 0.3s 0.05s ease-out;
}
.square:focus {
outline: none;
}
.square:hover {
transform: scale(1.1, 1.1);
border-radius: 50%;
}
.container {
max-width: 500px;
margin: 2% auto;
}
#color-display {
text-transform: uppercase;
font-size: 160%;
letter-spacing: 3px;
text-shadow: 0px 0px 15px rgba(255,255,255, 1));
}
#stripe {
padding-top: 1.5%;
height: 25px;
text-align: center;
}
#new-game {
margin-right: 30px;
}
#message {
display: block;
margin: 0 auto;
padding-top: 20px;
text-align: center;
max-width: 500px;
font-size: 20px;
transition: all 0.5s;
}