-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTipCalculatorStyle.css
96 lines (81 loc) · 1.36 KB
/
TipCalculatorStyle.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
86
87
88
89
90
91
92
93
94
95
body {
background: #f2f2f2;
color: brown;
font-size: 120%;
}
#container {
width: 20em;
margin: 10% auto;
background: #fff;
padding: 1%;
box-sizing: border-box;
-webkit-border-radius: 0.8em;
-moz-border-radius: 0.8m;
-o-border-radius: 0.8em;
border-radius: 0.8em;
box-shadow: 0 0.5em 1.5em -0.5em #000;
}
h1 {
border-bottom: solid 0.05em #ddd;
margin: 2% 0 0 2%;
padding: 1% 0 1%;
font-size: 200%;
font-weight: bold;
}
p {
margin: 0.5%;
}
label {
padding: 3% 0;
display: block;
}
form input{
width: 30%;
padding: 1.2%;
margin: 2% 1.5% 0 0;
}
#totalPeople {
position: relative;
left: 1.5%;
top: -0.5%;
}
#serviceQuality {
margin-top: 1%;
}
button {
background: brown;
width: 40%;
padding: 3%;
display: inline-block;
margin: 3% auto;
font-size: 110%;
color: white;
border: none;
-webkit-border-radius: 0.5em;
-moz-border-radius: 0.5em;
-o-border-radius: 0.5em;
border-radius: 0.5em;
border-bottom: solid 0.2em #111;
}
#buttons {
text-align: center;
}
button:hover {
background: crimson;
border-bottom-color: #000;
}
button:active {
background-color: #3e8e41;
transform: translateY(0.1em);
}
#totals {
text-align: left;
margin-top: 2%;
}
span {
font-size: 110%;
}
small {
font-size: 100%;
font-weight: bold;
}