-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
179 lines (176 loc) · 3.47 KB
/
style.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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: rgb(93, 206, 206);
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
h1 {
text-align: center;
padding: 10px;
color: white;
font-size: 30px;
}
#counter {
font-size: 18px;
text-align: center;
}
main {
margin-top: 15px;
}
#playGame {
text-align: center;
}
input[type = text] {
padding: 5px 10px;
border-radius: 8px;
border: 1px solid lightgray;
}
input[type = submit] {
background-color: #c2fbd7;
border-radius: 100px;
box-shadow: rgba(44, 187, 99, .2) 0 -25px 18px -14px inset,
rgba(44, 187, 99, .15) 0 1px 2px,
rgba(44, 187, 99, .15) 0 2px 4px,
rgba(44, 187, 99, .15) 0 4px 8px,
rgba(44, 187, 99, .15) 0 8px 16px,
rgba(44, 187, 99, .15) 0 16px 32px;
color: green;
cursor: pointer;
padding: 7px 25px;
text-align: center;
border: 0;
font-size: 16px;
}
input[type = submit]:hover {
box-shadow: rgba(44,187,99,.35) 0 -25px 18px -14px inset,
rgba(44,187,99,.25) 0 1px 2px,
rgba(44,187,99,.25) 0 2px 4px,
rgba(44,187,99,.25) 0 4px 8px,
rgba(44,187,99,.25) 0 8px 16px,
rgba(44,187,99,.25) 0 16px 32px;
}
.radioBox {
padding: 10px;
margin-bottom: 10px;
}
.radioBox input[type = radio],
.radioBox label {
margin: 5px;
font-size: 16px;
}
input[type = text]:focus {
outline: none;
border: 2px solid green;
}
::placeholder {
font-size: 12px;
}
img {
width: 55px;
}
#results {
text-align: center;
margin-top: 10px;
}
#results h2 {
margin-bottom: 20px;
font-size: 18px;
}
#results button {
background-color: #c2fbd7;
border-radius: 100px;
border: 0;
padding: 8px 30px;
cursor: pointer;
font-size: 14px;
color: green;
}
table {
border-collapse: collapse;
width: 80%;
margin: 20px auto 0;
}
table td, table th {
border: 1px solid #ddd;
padding: 8px;
}
table th {
padding: 10px 20px;
background-color: #c2fbd7;;
color: green;
}
table td {
text-align: center;
text-align: 16px;
}
@media only screen and (max-width: 500px) {
#results {
text-align: center;
}
#results button {
width: 40%;
margin-bottom: 5px;
}
}
@media only screen and (min-width: 1000px) {
h1 {
font-size: 50px;
}
#counter {
font-size: 30px;
}
main {
display: flex;
justify-content: space-between;
}
#playGame {
text-align: left;
width: 50%;
margin: 0 auto;
}
input[type = text] {
width: 30%;
padding: 10px 20px;
border-radius: 10px;
}
::placeholder {
color: rgb(175, 175, 175);
font-size: 16px;
}
input[type = submit] {
padding: 10px 40px;
font-size: 18px;
}
.radioBox {
padding: 20px;
}
.radioBox input[type = radio],
.radioBox label {
margin: 5px;
font-size: 18px;
}
img {
width: 75px;
}
#results {
margin: 0 auto;
}
#results h2 {
font-size: 30px;
text-align: left;
}
#results button {
padding: 10px 40px;
cursor: pointer;
font-size: 18px;
color: green;
}
table {
border-collapse: collapse;
margin-top: 20px;
width: 100%;
}
}