-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
161 lines (141 loc) · 2.42 KB
/
style.css
File metadata and controls
161 lines (141 loc) · 2.42 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
body{
font-family: 'Open Sans', sans-serif;
}
.main-head{
background-color: #43281c;
color: #fbf2c0;
font-size: 16px;
display: flex;
align-items: center;
justify-content: center;
font-weight: normal;
}
*{
box-sizing: border-box;
}
.logo {
height: 25px;
position: relative;
top: 3px;
}
.page {
display: grid;
row-gap: 30px;
column-gap: 30px;
width: 100%;
padding: 30px;
margin: 0 auto;
grid-template-areas:
"order payment"
"total total ";
grid-template-columns: 1fr 1fr;
}
.order{
grid-area:order;
}
.payment{
grid-area: payment;
}
.total {
grid-area: total;
}
.box{
background-color: #eee1d5;
border-radius: 5px;
box-shadow: 0 1px 3px rgb(0 0 0 / 0.2);
width: 100%;
padding: 30px;
margin-bottom: 20px;
}
.order-items
{
color: #885a2d;
font-weight: normal;
font-size: 18px;
}
.items{
list-style: none;
margin: 0;
padding: 0;
}
.item-quantity{
grid-area: quantity;
}
.item-price {
grid-area: price;
}
.item-title {
grid-area: title;
}
.item{
display: grid;
border-bottom: 2px solid #DDB892;grid-template-columns: 1fr 6fr 1fr;
grid-template-columns: 1fr 6fr 1fr;
grid-template-areas:
"quantity title price"
"quantity options price";
row-gap: 8px;
padding: 10px 0;
}
.item-option-list{
grid-area: options;
color: #B08968;
list-style: none;
margin: 0;
padding: 0;
font-size: 14px;
}
.input-group{
position: relative;
margin-bottom: 20px;
}
.user-input-label{
color: #885a2d;
background-color: #eee1d5;
font-size: 11px;
position: absolute;
font-size: 11px;
left: 25px;
top: -7px;
padding: 0 2px;
}
.user-input{
background-color: rgba(0,0,0,0);
border: 2px #885a2d solid;
padding: 8px;
border-radius: 100px;
text-indent: 18px;
font-size: 18px;
width: 100%;
}
.short-input {
max-width: 200px;
}
.total{
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
.total-table{
width: 100%;
max-width: 500px;
margin-bottom: 30px;
}
.total-table td{
padding: 10px;
}
.total-table td:last-child{
text-align: right;
}
.final-total{
font-weight: bold;
}
.checkout{
background-color: #deb993;
border: none;
padding: 10px 30px;
width: 100%;
border-radius:100px;
font-size: 16px;
}