-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
87 lines (75 loc) · 1.46 KB
/
styles.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
html {
font-size: 10px;
color: #4e4d4d;
font-family: 'Roboto', sans-serif;
font-weight: 300;
}
main {
max-width: 50rem;
margin: 2rem auto;
background: linear-gradient(30deg, #3dc0c0, #5bceae);
padding: 3rem 1.6rem 6rem 1.6rem;
border-radius: 4rem;
box-shadow: 0 2px 2px lightgray;
}
h1 {
text-align: center;
font-size: 3rem;
margin: 0;
padding-bottom: 3rem;
}
section {
background: white;
font-size: 1.8rem;
margin-bottom: 1.6rem;
padding: 0 1.6rem;
border-radius: 1rem;
box-shadow: 0 2px 2px lightgray;
}
section>div {
padding: 1.6rem 0;
}
.bill {
display: flex;
}
.bill label {
flex: 1;
align-self: center;
}
.bill input {
flex: 3;
}
input[type="number"] {
font-family: font-family: 'Roboto', sans-serif;
background: #f4f4f5;
font-size: 1.6rem;
border: 1px solid lightgray;
border-radius: 0.5rem;
padding: 0.8rem 0 0.8rem 0.8rem;
box-shadow: inset 0 2px 2px lightgray;
}
.space-between {
display: flex;
justify-content: space-between;
}
.total {
font-size: 2rem;
font-weight: bolder;
}
.range {
-webkit-appearance: none;
width: 100%;
height: 8px;
background: lightgray;
margin-top: 1.2rem;
border-radius: 0.3rem;
outline-color: #5bceae;
}
.range::-webkit-slider-thumb {
-webkit-appearance: none;
width: 2.2rem;
height: 2.2rem;
border-radius: 50%;
background: #3dc0c0;
cursor: pointer;
}