-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
114 lines (101 loc) · 1.82 KB
/
style.css
File metadata and controls
114 lines (101 loc) · 1.82 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
@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
*{
margin: unset;
padding: unset;
}
body {
background: #f3f3f3;
}
nav{
display: flex;
justify-content: space-between;
background: #f7c44d;
height: 3rem;
line-height: 3rem;
color: black;
padding-left: 2rem;
margin-bottom: 1rem;
}
.copyright h2{
text-align: center;
font-size: 10px;
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: 300;
padding-right: 2rem;
}
.container{
padding: 1rem;
}
#itemForm label{
display: block;
margin-bottom: 1rem;
}
#itemForm input{
height: 2rem;
text-align: center;
border: 1px solid
#335e6c;
border-radius: 20px;
}
#quantityInput, #priceInput{
width: 3rem;
}
/* Remove arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
#addItemButton {
border: none;
background: #f69f16;
color: black;
padding: 0.5rem;
border-radius: 20px;
}
#itemsDiv {
margin-top: 3rem;
margin-bottom: 2rem;
}
.item {
display: flex;
justify-content: space-between;
background: #eaeaea;
margin-bottom: 0.5rem;
}
.checkbox{
height: 100%;
width: 1.5rem;
margin-left: 1rem;
}
.itemInfo{
text-align: center;
font-family: 'Montserrat';
font-size: 1rem;
}
.deleteButton{
margin-right: 0.5rem;
border: unset;
background: #b10000;
color: #fff;
font-size: 0.8rem;
width: 2.5rem;
}
.deleteButton:active{
margin-top: 3px;
}
.purchased{
background: #964949;
border: 2px black solid;
}
.purchased p{
text-decoration: line-through;
}
#totalPriceDiv{
margin-top:1.5rem ;
border-top: solid 1px #f69f16;
text-align: center;
padding: 0.5rem;
background: #eaeaea;
font-family: 'Montserrat';
}