-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
98 lines (91 loc) · 1.96 KB
/
style.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
91
92
93
94
95
96
97
98
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background: #f3f3f3;
font-family: 'Popins',sans-serif;
}
.menu{
padding: 0 10px 30px 10px;
display: grid;
grid-template-columns: repeat(auto-fit,minmax(350px,1fr));
}
.heading{
background: #e84343;
color: #fff;
margin-bottom: 30px;
padding: 30px 0;
grid-column: 1/-1;
text-align: center;
}
.heading>h1{
font-weight: 400;
font-size: 32px;
letter-spacing: 10px;
margin-bottom: 10px;
text-transform: uppercase;
}
.heading>h3{
font-weight: 600;
font-size: 22px;
letter-spacing: 5px;
text-transform: uppercase;
}
.food-items{
display: grid;
position: relative;
grid-template-rows: auto 1fr;
border-radius: 15px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
transition: .2s ease-in-out;
}
.food-items img{
position: relative;
width: 380px;
height: 280px;
border-radius: 15px 15px 0 0;
cursor: pointer;
background-size: cover;
background-position: center;
}
h1{
grid-column: 1/-1;
text-align: center;
}
.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;
}
.details-sub>h5{
font-weight: 600;
font-size: 18px;
}
.price{
text-align: right;
}
.details>p{
color: #6f6f6f;
font-size: 15px;
line-height: 28px;
font-weight: 400;
align-self: stretch;
}
.details>button{
background: #e84343;
border: none;
color: #fff;
font-size: 16px;
font-weight: 600;
border-radius: 5px;
width: 180px;
cursor: pointer;
}