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;
}
.body{
align-items: center;
justify-content: center;
display: flex;
width: 100vw;
height: 100vh;
position: fixed;
z-index: 1;
background-color: rgba(46, 46, 46, 0.582);
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;
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;
flex-direction: column;
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
border: 1px solid rgba(147, 164, 165, 0.2);
box-shadow: 0 8px 23px 0 rgba(85, 85, 85, 0.651);
background: #6e979ca6;
margin: auto;
padding: 20px;
}
.input_fields{
display: flex;
flex-direction: column;
width: 500px;
height: 30px;
color: rgb(0, 0, 0);
outline: none;
border-radius: 4px;
margin-top: 10px;
}
.post_input2 {
border: none;
width: 500px;
height: 100px;
color: rgb(0, 0, 0);
outline: none;
border-radius: 4px;
border: 1px solid rgba(172, 171, 171, 0.616);
}
.comment_input {
background-color: rgba(235, 235, 235, 0.61);
width: 770px;
height: 27px;
color: rgb(0, 0, 0);
border:none;
outline: none;
padding: 0;
margin: 0;
box-sizing: border-box;
.comment_button {
font-family: 'Outfit', sans-serif;
appearance: none;
background-color: #ffcd6f;
border:none;
outline: none;
color: #ffffff;
cursor: pointer;
font-size: 18px;
line-height: normal;
height: 30px;
width: 130px;
outline: none;
text-align: center;
transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
user-select: none;
-webkit-user-select: none;
touch-action: manipulation;
will-change: transform;
box-sizing: border-box;
}
.comment_button:hover {
color: #ffffff;
background-color: #5cbbd8;
box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px;
}
.comment_button:active {
box-shadow: none;
}
.comments{
width:900px;
min-height: 50px;
border: solid 1px rgba(128, 128, 128, 0.644);
border-bottom-left-radius: 5px;
border-bottom-right-radius: 5px;
}
242
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
274
275
276
.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 {
background-color: white;
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;
}
/* set height of image container */
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 {
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
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;
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;