-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
83 lines (72 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
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap");
: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 {
margin: 525px;
width: 360px;
margin: 100px auto;
background: #f7f7f7;
box-shadow: 5px 5px 5px var(--tertiary-color);
border-radius: 20px;
height: 500px;
width: 400px;
}
.title {
background: var(--tertiary-color);
color: var(--secondary-color);
border-top-left-radius: 20px;
border-top-right-radius: 20px;
padding: 20px;
text-align: center;
font-size: 18px;
font-weight: normal;
text-transform: uppercase;
}
.tipsForm {
padding-left: 20px;
padding-right: 20px;
}
.formInput {
background: white;
width: 40px;
padding: 5px 5px 5px 8px;
}
.formInput:focus {
border: 3px solid var(--primary-color);
outline: none;
}
.formSelect {
width: 180px;
padding: 5px;
font-size: 12px;
}
.formSelect:focus {
border: 3px solid var(--primary-color);
outline: none;
}
.formSubmit {
text-transform: uppercase;
width: 200px;
height: 50px;
display: block;
margin: 30px auto;
background: var(--primary-color);
border-radius: 5px;
font-size: 17px;
color: white;
font-weight: bold;
}
#totalTip {
font-size: 16px;
text-align: center;
margin-top: 10px;
font-weight: bold;
}