-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
85 lines (74 loc) · 1.42 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
:root{
--primary-color: lightcoral;
--secondary-color: dimgrey;
--tertiary-color: gainsboro;
}
body{
background-color: var(--primary-color);
font-size: 15px;
font-family: 'Lato', sans-serif;
}
#container{
height: 525px;
width: 360px;
margin: 100px auto;
background-color: #f7f7f7;
box-shadow: 5px 5px 5px var(--tertiary-color);
border-radius: 20px;
}
.title{
background: var(--tertiary-color);
color: var(--secondary-color);
padding: 20px;
text-transform: uppercase;
border-radius: 20px 20px 0 0;
font-size: 18px;
font-weight: normal;
text-align: center;
}
.tipsForm{
padding-left: 20px;
padding-right: 20px;
}
.formInput{
background: #fff;
width: 40px;
padding: 5px 5px 8px 8px;
}
.formInput:focus{
border: 3px solid var(--primary-color);
}
.formSelect{
width: 180px;
padding: 5px;
font-size: 12px;
}
.formSubmit{
text-transform: uppercase;
font-weight: bold;
display: block;
margin: 30px auto;
background: var(--primary-color);
border-radius: 5px;
width: 200px;
height: 50px;
color: #fff;
font-size: 17px;
}
#totalTip{
font-size: 20px;
margin-top: 5px;
text-align: center;
}
@media (max-width:312px){
#container{
margin: 20px auto;
width: 95%;
}
}
@media (max-width:360px){
#container{
margin: 20px auto;
width: 95%;
}
}