-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmenu.css
80 lines (70 loc) · 1.44 KB
/
menu.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
#menu {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 100vh;
}
#dishes {
width: 100%;
display: flex;
justify-content: center;
gap: 24px;
margin-top: 32px;
}
.dish {
display: flex;
flex-direction: column;
align-items: center;
border-radius: 20px;
gap: 18px;
width: 25%;
padding: 20px;
background-color: var(--color-neutral-0);
box-shadow: 0px 0px 12px 4px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
}
.dish-heart {
position: absolute;
background-color: var(--color-primary-6);
display: flex;
align-items: center;
justify-content: center;
font-size: 1.563rem;
color: var(--color-primary-1);
width: 70px;
height: 70px;
right: -10px;
top: -10px;
border-radius: 0px 37.5px 0px 42.5px;
}
.dish-description {
color: #434343;
text-align: center;
}
.dish-rate i {
color: var(--color-primary-6);
}
.dish-price {
display: flex;
align-items: center;
gap: 20px;
}
@media screen and (max-width: 1170px) {
#dishes {
flex-wrap: wrap;
justify-content: center;
}
.dish {
width: calc(50% - 12px);
}
}
@media screen and (max-width: 600px) {
.dish {
width: 100%;
}
#menu .section-subtitle {
text-align: center;
}
}