Newer
Older
input {
text-align: start;
margin-left: 10px;
font-family: 'Outfit', sans-serif;
textarea {
text-align: start;
margin-left: 10px;
resize: none;
font-family: 'Outfit', sans-serif;
justify-content: center;
align-items: center;
}
.recipe {
width: 300px;
border: none;
background-color: rgb(161, 161, 161);
border-radius: 4px;
color: rgb(255, 255, 255);
margin: 10px;
margin-top:54px;
font-family: 'Outfit', sans-serif;
color: rgb(0, 0, 0);
width: 300px;
/* set width of image container */
height: 300px;
/* set height of image container */
border-radius: 20px;
/* make image container circular */
display: flex;
/* Add display flex to center image vertically */
align-items: center;
/* Center image vertically */
justify-content: center;
/* Center image horizontally */
}
.image_container img {
height: 100%;
width: 100%;
object-fit: cover;
}
height: 8vh;
margin-bottom: 5px;
background-color:#71caf3;
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
align-items: center;
width: 100vw;
color: white;
display: grid;
grid-template-columns: repeat(3, 1fr);
}
.header_photo{
display: flex;
margin-top: auto;
margin-bottom: auto;
}
.header_text{
margin: auto;
.header_button{
display: flex;
justify-content: end;
margin-right: 25px;
}
border-radius: 15px;
border: 0.5px solid rgb(185, 185, 185);
box-shadow: 0 8px 13px 0 rgba(41, 41, 43, 0.705);
width: 90%;
margin: auto;
padding: 20px;
backdrop-filter: blur(10px);
justify-content: center;
text-align: center;
display: flex;
margin-top: 150px;
.searchbar {
background-color: rgb(255, 255, 255);
width: 500px;
height: 50px;
color: rgb(0, 0, 0);
border: solid 1px black;
outline: none;
margin: 10px;
border-radius: 5px;
font-size: 18px;
.post_container {
height: 65vh;
align-self: center;
justify-self: center;
margin-left: auto;
margin-right: auto;
margin-top: 200px;
width:93%;
display: flex;
flex-direction: column;
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
background-color: #F28482;
}
.post_header{
margin-top: 100px;
margin: 10px;
display: flex;
width: 100%;
color: white;
}
.input_fields{
display: flex;
flex-direction: column;
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
}
.post_input1 {
border: none;
background-color: rgb(235, 235, 235);
width: 500px;
height: 30px;
color: rgb(0, 0, 0);
outline: none;
border-radius: 4px;
border: 2px solid rgb(255, 255, 255);
margin-top: 10px;
}
.post_input2 {
border: none;
background-color: rgb(235, 235, 235);
width: 500px;
height: 100px;
color: rgb(0, 0, 0);
outline: none;
border-radius: 4px;
border: 2px solid rgb(255, 255, 255);
}
.delete {
background: rgb(182, 55, 55);
color: rgb(255, 255, 255);
font-size: 18px;
border: none;
min-width: 100px;
height: 50px;
font-family: 'Outfit', sans-serif;
border-radius: 5px;
box-sizing: border-box;
transition-timing-function: cubic-bezier(0.25, 0.8, 0.25, 1);
transition-duration: 400ms;
margin-left: 50px;
}
.delete:hover {
transform: scale(1.1);
}
.upvote {
height: 40px;
width: 110px;
font-size: 18px;
border-radius: 5px;
border: none;
background-color: #ffcd6f;
color: rgb(255, 255, 255);
margin-left: auto;
margin-right: 20px;
font-family: 'Outfit', sans-serif;
}
.posts_container {
min-height: 35vh;
width: 900px;
display: flex;
background-color: white;
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
text-align: left;
}
.grid_container {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: 300px;
grid-gap: 10px;
}
.grid_container2 {
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-template-rows: 300px;
grid-gap: 10px;
}
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
border-radius: 50%;
/* make image container circular */
overflow: hidden;
/* Add display flex to center image vertically */
align-items: center;
/* Center image vertically */
justify-content: center;
/* Center image horizontally */
margin-left: 20px;
}
.post_img_container {
width: 300px;
/* set width of image container */
height: 35vh;
/* set height of image container */
border-bottom-left-radius: 10px;
overflow: hidden;
display: flex;
/* Add display flex to center image vertically */
align-items: center;
/* Center image vertically */
justify-content: center;
/* Center image horizontally */
margin-right: 10%;
}
.post_img_container img {
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
width: 100%;
object-fit: cover;
}
.addpicture {
text-align: center;
margin-right: 30px;
margin-left: 31%;
margin-bottom: 30px;
height: 50px;
width: 500px;
display: flex;
}
::placeholder {
color: rgb(0, 0, 0);
text-align: start;
}
.tag_container {
display: flex;
flex-direction: row;
margin: 5px;
}
.tag_container ul {
list-style: none;
margin: 0;
padding: 0;
}
.tag_container li {
background-color: rgb(32, 32, 32);
color: white;
border-radius: 3px;
padding: 5px;
margin-right: 10px;
margin-bottom: 10px;
display: inline-block;
flex-direction: column;
}
.wrapper {
display: flex;
justify-content: center;
align-items: center;
margin: 50px;
}
.posts_header {
height: 55px;
background-color: #F28482;
margin-top: 30px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
box-shadow: 2px;
box-shadow: 0 0.5px 2px 0 rgba(0, 0, 0, 0.808);
color: white;
display: flex;
align-items: center;
}