Skip to content

Commit 0460864

Browse files
authored
Add files via upload
1 parent 0e4f77d commit 0460864

File tree

1 file changed

+103
-0
lines changed

1 file changed

+103
-0
lines changed

tipcalculator.css

+103
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
* {
2+
font-family: 'M PLUS Rounded 1c', Avenir Next, Helvetica, sans-serif;
3+
color: white;
4+
}
5+
6+
body {
7+
background: #FCA311;
8+
}
9+
#warn{
10+
color: red;
11+
font-size: 1rem;
12+
visibility: hidden;
13+
}
14+
15+
.wrapper {
16+
height: 525px;
17+
width: 360px;
18+
color: white;
19+
background: #14213D;
20+
border-radius: 1rem;
21+
padding: 1.2rem;
22+
margin: 100px auto;
23+
}
24+
25+
#topContainer {
26+
margin-top: 4rem;
27+
}
28+
29+
.container {
30+
margin-top: 1.4rem;
31+
}
32+
33+
.title {
34+
font-weight: bold;
35+
margin-bottom: 0.6rem;
36+
}
37+
38+
.inputContainer {
39+
background: #353959;
40+
border-radius: 1.4rem;
41+
padding: 0 0.8rem;
42+
display: flex;
43+
align-items: center;
44+
}
45+
46+
#billTotalInput,
47+
#tipInput {
48+
font-size: 1.2rem;
49+
background: none;
50+
border: none;
51+
outline: none;
52+
padding: none;
53+
}
54+
55+
.buttonContainer {
56+
background: #FCA311;
57+
display: grid;
58+
place-items: center;
59+
width: 1.6rem;
60+
height: 1.6rem;
61+
border-radius: 50%;
62+
}
63+
64+
.splitButton {
65+
background: none;
66+
border: none;
67+
}
68+
69+
.controls {
70+
display: flex;
71+
align-items: center;
72+
}
73+
74+
.splitButton {
75+
font-size: 0.8rem;
76+
font-weight: bold;
77+
display: grid;
78+
place-items: center;
79+
}
80+
81+
.buttonText {
82+
color: #353959 !important;
83+
}
84+
85+
.splitAmount {
86+
font-size: 1.6rem;
87+
margin: 0.8rem;
88+
}
89+
90+
#bottom {
91+
display: flex;
92+
justify-content: space-between;
93+
}
94+
95+
.totalContainer {
96+
display: flex;
97+
flex-direction: column;
98+
align-items: end;
99+
}
100+
101+
.total {
102+
font-size: 2rem;
103+
}

0 commit comments

Comments
 (0)