-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
124 lines (104 loc) · 1.73 KB
/
Copy pathstyle.css
File metadata and controls
124 lines (104 loc) · 1.73 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,900');
* {
box-sizing: border-box;
margin: 0;
}
html, body {
margin: 0;
padding: 0;
line-height: 1;
}
body {
min-height: 100vh;
width: 100%;
font-family: 'Roboto', sans-serif;
font-weight: 300;
text-align: center;
display: flex;
align-items: center;
background: url(cover.jpg);
background-size: cover;
background-position: center;
}
body>div {
flex: 1;
}
.header h2 {
color: #fff;
margin-bottom: 25px;
}
.calculator {
display: flex;
color: rgba(0, 0, 0, 0.75);
padding: 25px;
width: 600px;
margin: 0 auto;
border-radius: 4px;
background: #fff;
}
.calculator>div,
.calculator>form {
flex: 1;
padding: 0 10px;
}
.result {
align-self: center;
}
.tip_per_person {
border-bottom: solid 1px rgba(255, 255, 255, 0.25);
}
.result div {
padding: 15px 0;
}
.result div p {
font-size: 18px;
text-transform: uppercase;
}
.result div .amount_tip,
.result div .amount_total {
font-size: 36px;
font-weight: 900;
margin: 5px 0;
}
input {
border: solid 2px rgba(0, 0, 0, 0.2);
padding: 15px 10px;
font-size: 15px;
width: 100%;
border-radius: 4px;
}
input.err {
border: solid 2px #F44336;
}
.input-group {
margin: 10px 0;
}
.input-group label {
color: rgba(0, 0, 0, 0.75);
display: block;
text-align: left;
font-weight: 900;
text-transform: uppercase;
margin-bottom: 5px;
}
.copyright {
margin-top: 45px;
color: #fff;
}
.copyright ul {
margin: 0;
list-style: none;
padding: 0;
}
.copyright ul li {
display: inline-block;
margin: 0 5px;
font-weight: 900;
font-size: 13px;
}
.copyright ul li a {
text-decoration: none;
padding: 3px 8px;
border-radius: 4px;
background: #fff;
}