-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
71 lines (60 loc) · 1020 Bytes
/
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
body {
background-color: #f1f1f1;
height: 100vh;
margin:15px;
display: flex;
flex-direction: column;
align-items: center;
margin: 15px;
}
input {
display: block;
margin-bottom: 30px;
width: 100%;
font-size: 18px;
padding: 8px;
border: 1px solid #f1f1ff;
}
label {
border-radius: 8px;
display: block;
margin-bottom: 5px;
}
#distance, #price, #consumption {
margin-bottom: 20px;
}
button {
margin-top: 10px;
background-color: rgb(243, 181, 57);
color: #ffffff;
border: none;
padding: 10px;
cursor: pointer;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
button:disabled {
background-color:#eee6ff;
cursor: default;
color:#000;
width: 100%;
}
#calculate {
margin-top: 20px;
margin-top: 10px;
width: 96%;
border-radius:4px;
font-size: 18px;
width: 100%;
}
#reset, #result {
margin-top: 20px;
width: 50%;
border-radius:4px;
font-size: 18px;
display: flex;
flex-direction: column;
align-items: center;
}