-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalc-style.css
58 lines (58 loc) · 1.09 KB
/
calc-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
body {
background-color: hsl(0, 0%, 92%);
font-family: Arial, Helvetica, sans-serif;
}
h1 {
text-align: center;
font-size: 3.5em;
color: hsl(0, 0%, 22%);
}
form {
max-width: 400px;
margin: 0 auto;
display: flex;
flex-direction: column;
background-color: white;
padding: 25px;
border-radius: 10px;
box-shadow: 10px 10px 20px hsl(0, 0%, 52%);
}
label {
text-align: center;
font-size: 2em;
}
input {
font-size: 2em;
text-align: center;
margin-top: 5px;
margin-bottom: 20px;
border: 1px solid hsl(0, 0%, 74%);
padding: 5px;
}
button {
max-width: 150px;
align-self: center;
padding: 5px 10px;
font-size: 1.5em;
background-color: hsl(120, 100%, 28%);
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
}
button:hover {
background-color: hsl(120, 100%, 19%);
}
p {
text-align: center;
font-size: 2em;
}
span {
color: rgb(0, 159, 0);
font-weight: bold;
}
.image img {
width: 350px;
margin-bottom: 40px;
margin-left: 29px;
}