-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
63 lines (55 loc) · 1.14 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
input[id='quantity']{
width: 40px;
}
body {
background-color: #D3D3D3;
}
.button {
background-color: #00008B;
border: none;
color: white;
padding: 10px 16px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: -10px 2px;
cursor: pointer;
border-radius: 10px;
transition-duration: 0.3s;
border: 2px solid #00008B;
}
.button:hover {
background-color: lightgrey;
color: #00008B;
box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}
h1 {
text-align: center;
}
#question {
text-align: center;
margin: 25px;
border-style: solid;
border-width: 3px;
border-color: #00008B;
width: fit-content;
margin: auto;
}
.content {
text-align: center;
margin: 5px;
position: absolute;
top: 50%;
left: 50%;
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
#quantity, #submitButton, #score {
margin-top: 20px;
}
@media screen and (max-width:769px){
.content {
font-size:16px;
}
}