-
Notifications
You must be signed in to change notification settings - Fork 0
/
order.css
90 lines (88 loc) · 1.71 KB
/
order.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
88
89
90
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-color: #f3f3f3;
font-family: 'Poppins',sans-serif;
}
.menu{
padding: 0;
display: grid;
grid-template-columns: repeat( auto-fit, minmax(350px,1fr));
grid-gap: 20px 40px;
}
/* heading starting */
.heading{
background-color: #4593ce;
color: #ffffff;
margin-bottom: 30px;
padding: 120px 0 30px 0;
grid-column: 1/-1;
text-align: center;
}
.heading>h1{
font-weight: 400;
font-size: 30px;
letter-spacing: 10px;
margin-bottom: 10px;
}
.heading>h3{
font-weight: 600;
font-size: 22px;
letter-spacing: 5px;
}
/* heading end */
/* card items starts */
.food-items{
display: grid;
position: relative;
grid-template-rows: auto 1fr;
border-radius: 15px;
box-shadow: 0 0 15px rgba(0,0,0,0.1);
margin: 0 20px;
}
/* card img */
.food-items img{
position: relative;
width: 100%;
border-radius: 15px 15px 0 0;
}
.details{
padding: 20px 10px;
display: grid;
grid-template-rows: auto 1fr 50px;
grid-row-gap: 15px;
}
.details-sub{
display: grid;
grid-template-columns: auto auto;
}
/* item name text */
.details-sub>h5{
font-weight: 600;
font-size: 18px;
}
/* price text */
.price{
text-align: right;
}
/* details about items */
.details>p{
color: #6f6f6f;
font-size: 15px;
line-height: 28px;
font-weight: 400;
align-self: stretch;
}
/* order now btn */
.details>button{
background-color: #4593ce;
border: none;
color: #ffffff;
font-size: 16px;
font-weight: 600;
border-radius: 5px;
width: 180px;
}