-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainpage.css
159 lines (137 loc) · 2.62 KB
/
mainpage.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
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
h1{
font-size: 50px;
display: flex;
justify-content: center;
color: #333;
}
.resh-container {
border-top: 2px solid #333;
border-bottom: 2px solid #333;
width: 70%;
height: 1300px;
margin: 0 auto;
}
.search-box{
/* border: 2px solid red; */
width: 63%;
margin: 4px auto;
padding: 10px 10px;
display: flex;
justify-content: center;
}
#input_search{
border: 2px solid #333;
display: inline-block;
width: 70%;
margin: 0 5px;
padding: 4px 5px;
}
.search-btn{
border: 2px solid #333;
border-radius: 10%;
display: inline-block;
padding: 2px 2px;
}
.menu-nav{
border-bottom: 2px solid #333;
display: flex;
padding-bottom: 10px;
}
a{
border-right: 2px solid #333;
border-left: 2px solid #333;
outline: 0;
width: 10%;
height: 50px;
margin: 10px 3%;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
}
#menu-btn1, #menu-btn2, #menu-btn3, #menu-btn4{
background-color: white;
border: 0;
}
.order-box{
/* border: 2px solid purple; */
display: inline-flex;
justify-content: flex-end;
margin-top: 15px;
margin-bottom: 5px;
/* margin: 5px 3px; */
padding: 3px 3px;
}
.order-item{
border-right: 2px solid #333;
display: inline-block;
display: flex;
justify-content: right;
align-items: center;
}
.recipe-box{
/* border: 2px solid blue; */
display: flex;
flex-wrap: wrap;
}
.recipe-item{
border: 2px solid #333;
flex: 1 1 20%;
width: 200px;
height: 240px;
margin: 10px 10px;
position: relative;
}
.recipe-img{
/* border: 2px solid plum; */
width: 100%;
height: 200px;
}
.recipe-title{
/* border: 2px solid skyblue; */
margin-top: 5px;
text-align: center;
}
.heart-icon{
background-color: crimson;
color: snow;
width: 20px;
height: 20px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
position: absolute;
top: 5px;
left: 5px;
}
.star-icon{
background-color: gold;
color: snow;
width: 20px;
height: 20px;
border-radius: 50%;
display: inline-flex;
align-items: center;
justify-content: center;
position: absolute;
top: 5px;
right: 5px;
}
.page-btn-box{
/* border: 2px solid blue; */
display: flex;
justify-content: center;
padding: 5px 5px;
}
.page-btn{
/* border: 2px solid red; */
display: inline-block;
margin: 0 10px;
}
.page-move-btn{
/* border: 2px solid purple; */
display: inline-block;
margin: 0 5px;
width: 10px;
}