Newer
Older
}
:focus::placeholder {
color: transparent;
}
textarea{
text-align: start;
margin-left:10px;
resize: none;
}
.pick_file {
color: rgb(67, 1, 128);
font-size: 35px;
margin-left:30px;
margin-top:5px;
display: flex;
justify-content: center;
align-items: center;
}
.recipe{
background:green;
width:300px;
border: none;
background-color: rgb(26, 100, 100);
border-radius:4px;
color: aliceblue;
margin: 10px;
}
.description{
background:green;
width:300px;
border: none;
background-color: rgb(26, 100, 100);
border-radius:4px;
color: aliceblue;
margin: 10px;
}
.image_container {
width: 300px; /* set width of image container */
height: 300px; /* set height of image container */
border-radius: 20px; /* make image container circular */
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
overflow: hidden;
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;
}
.container {
background: rgb(49, 117, 121);
border-radius: 2px;
box-shadow: 0 8px 13px 0 rgba(41, 41, 43, 0.548);
width: 90%;
margin:auto;
text-align: center;
padding: 20px;
backdrop-filter: blur(10px);
}
.searchbar{
border: none;
background-color: rgb(26, 100, 100);
width: 500px;
height: 50px;
color: aliceblue;
outline: none;
margin-left: 50px;
margin-bottom: 10px;
margin-top: 15px;
border-radius:4px;
font-size: 16px;
}
.post_container{
min-height: 35vh;
margin: auto;
margin-top:20px;
margin-bottom: 20px;
width: 600px;
text-align: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
background: linear-gradient(135deg,rgb(48, 51, 51),rgb(36, 44, 44),0 );
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
box-align: center;
}
.post_container h1{
margin: auto;
margin-top: 10px;
}
.post_input1{
border: none;
background-color: rgb(26, 100, 100);
width: 500px;
height: 30px;
color: aliceblue;
outline: none;
margin-left: 50px;
margin-bottom: 10px;
margin-top: 15px;
border-radius:4px;
}
.post_input2{
border: none;
background-color: rgb(26, 100, 100);
width: 500px;
height: 100px;
color: rgb(250, 250, 250);
outline: none;
margin-left: 50px;
margin-bottom: 10px;
margin-right: 20px;
border-radius:4px;
}
.post_container button{
background: rgb(150, 172, 110);
color: white;
font-size: 18px;
border: none;
background: rgb(177, 79, 61);
color: white;
font-size: 18px;
border: none;
min-width: 100px;
height: 50px;
margin-left: 50px;
margin-bottom: 25px;
font-family: 'Outfit', sans-serif;
border-radius: 5px;
.upvote{
background-color: rgb(25, 100, 100);
height: 40px;
width:40px;
box-align: center;
margin-top: 25px;
margin-left:40px;
font-size: 22px;
font-family: 'Poppins', sans-serif;
border-radius: 5px;
border: none;
color: white;
}
.upvote button{
background: rgb(150, 172, 110);
color: white;
margin: auto;
}
.posts_container{
min-height: 35vh;
margin: auto;
margin-top: 30px;
width: 900px;
text-align: center;
display: flex;
flex-direction: row;
flex-wrap: wrap;
background: linear-gradient(135deg,rgb(48, 51, 51),rgb(36, 44, 44),0 );
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
border-radius: 10px;
box-shadow: 0 1px 15px 0 rgba(0, 0, 0, 0.2);
}
.preview_img_container{
width: 60px; /* set width of image container */
height: 60px;
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-top-left-radius: 10px;
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%;
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:aliceblue;
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(26, 100, 100);
border-radius: 3px;
padding: 5px;
margin-right: 10px;
margin-bottom: 10px;
display: inline-block;