-
Notifications
You must be signed in to change notification settings - Fork 0
/
food.css
130 lines (130 loc) · 1.93 KB
/
food.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
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
.food__item__wrapper
{
padding-bottom: 25px;
}
.food__design
{
position: absolute;
right: 0;
padding-right: 75px;
}
.food__item__title
{
text-align: center;
font-weight: 600;
font-size: 22px;
}
.food__item__price
{
font-size: 22px;
text-align: center;
}
.food__item__wrapper a
{
text-decoration: none;
}
@media only screen and (max-width: 1039px)
{
.food__design
{
display: none;
}
}
@media only screen and (max-width: 490px)
{
.food__item
{
width: 200px;
margin: 0 auto;
display: flex;
flex-direction: column;
align-items: center;
}
.food__item__img img
{
display: inline-block;
margin: 0 auto;
width: 120px;
}
}
/* Food Detail Styles */
.food__wrapper
{
margin-left: 250px;
margin-top: 50px;
}
.food__detail__item
{
display: flex;
}
.food__detail__title
{
font-size: 38px;
font-weight: 600;
margin-bottom: 70px;
}
.food__detail__info
{
padding-left: 30px;
}
.food__detail__name
{
font-size: 25px;
margin-bottom: 10px;
color: #3E3737;
}
.food__detail__price
{
font-size: 22px;
color: #91B40D;
font-weight: 600;
padding-bottom: 11px;
}
.food__detail__text
{
width: 555px;
line-height: 1.6em;
color: #7C7A7A;
padding-bottom: 40px;
}
.food__detail__imgs img
{
padding-right: 30px;
}
@media only screen and (max-width: 1043px)
{
.food__wrapper
{
margin-left: 100px;
}
}
@media only screen and (max-width: 900px)
{
.food__wrapper
{
margin-left: 25px;
}
.food__detail__imgs
{
margin-left: 25px;
}
.food__detail__item
{
display: block;
}
.food__detail__text
{
width: 100%;
}
}
@media only screen and (max-width: 768px)
{
.food__detail__img img
{
width: 150px;
}
.food__detail__imgs img
{
margin-bottom: 20px;
}
}