-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.css
More file actions
90 lines (81 loc) · 1.32 KB
/
index.css
File metadata and controls
90 lines (81 loc) · 1.32 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
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
.cart{
display: flex;
flex-direction: column;
}
.cart-item{
height:20vh;
width:40vw;
border:solid black 1px;
margin:2vh;
display: flex;
}
.left-half{
height: 100%;
width:30%;
}
.item-pic{
margin:0;
height:100%;
width:100%;
background-color:"#777";
}
.right-half{
margin:1vh;
margin-left: 3vh;
}
.item-props{
margin:1vh;
}
.cart-actions{
margin: 1vh;
display: flex;
}
.action-item{
margin-top:1vh;
margin-right: 2vh;
height:3.5vh;
width: 3.5vh;
}
.navbar{
height:10vh;
width:100;
background-color: rgb(37,101,248);
}
.basket{
height: 7vh;
position:absolute;
right:2vw;
top:1vw;
}
.basket-counter{
height: 5vh;
width:5vh;
background-color: yellow;
position: absolute;
right:0.5vw;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.total{
margin:2vh;
height: 5vh;
width: 30vh;
border: solid black 1px;
font-size: 3vh;
text-align: center;
padding-top:1vh;
}