-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
81 lines (81 loc) · 1.52 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
import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
font-family: Arial, Helvetica, sans-serif;
height: 100vh;
background-color: #f9f9f9;
font-size: 22px;
position: relative;
}
.container{
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%,-50%);
width: 450px;
background-color: #FFF;
border-radius: 18px;
text-align: center;
box-shadow: 1px 1px 13px rgb(0 0 0 / 10%);
}
h1{
background-color: #f3e4e2;
padding: 10px 0;
font-size: 28px;
border-radius: 18px;
}
p{
color: #7e7e7e;
}
.control{
margin: 25px 0;
}
input{
border: none;
outline: none;
text-align: center;
border-bottom: 1px solid #334944;
color: #202927;
font-size: 28px;
margin-top: 20px;
}
select{
border: none;
outline: none;
border: 1px solid #334944;
color: #7e7e7e;
font-size: 18px;
margin-top: 20px;
padding: 11px 34px;
border-radius: 25px;
width: 75%;
}
button#calculate{
color: white;
background: #334944;
border: 1px solid transparent;
font-size: 17px;
border-radius: 25px;
padding: 14px 29px;
margin: 25px;
transition: all .3s ease;
}
button#calculate:hover{
color: #334944;
border-color: #202927;
background: white;
}
.totalTip{
background-color: #f3e4e2;
border-radius: 18px;
padding: 25px 0 35px;
}
p.tip{
font-size: 38px;
color: #202927;
margin-top: 10px;
}