Newer
Older
input{
font-family: 'Poppins', sans-serif;
text-align: start;
margin-left:10px;
}
:focus::placeholder {
color: transparent;
}
textarea{
font-family: 'Poppins', sans-serif;
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;
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
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: 500px; /* set width of image container */
height: 500px; /* set height of image container */
border-radius: 50%; /* make image container circular */
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-weight: bold;
font-size: 18px;
border: none;
width: 200px;
height: 80px;
margin-left: 35%;
margin-bottom: 25px;
font-family: 'Poppins', sans-serif;
border-radius: 5px;
}
.deletePost{
height: 40px;
width:80px;
position: relative;
margin-top: 25px;
margin-left:145px;
margin-bottom: 20px;
.deletePost button{
background: rgb(136, 14, 14);
height: 40px;
width:100px;
margin: auto;
border-radius: 5px;
border: none;
font-size: 14px;
font-family: 'Poppins', sans-serif;
color: white;
}
.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;
border-radius: 40%; /* 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;
}
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
.post_img_container{
width: 300px; /* set width of image container */
height: 300px; /* set height of image container */
border-radius: 50%; /* make image container circular */
overflow: hidden;
display: flex; /* Add display flex to center image vertically */
align-items: center; /* Center image vertically */
justify-content: center; /* Center image horizontally */
margin-left: 5%;
margin-right: 10%;
margin-top:5%;
margin-bottom:5%;
}
.post_img_container img{
height: 100%;
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;
}