Plankton_Detector/PlanktonDetector/static/Community/css/post_details.css
2024-03-14 23:20:12 +01:00

176 lines
2.6 KiB
CSS

.page-container{
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
align-items: center;
overflow: auto;
padding-bottom: 100px;
}
.post{
display:flex;
margin-top:10px;
flex-direction: column;
justify-content:center;
align-items: stretch;
padding: 15px;
margin-top: 40px;
margin-bottom: 50px;
}
.title-content{
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
}
#content{
font-size: 20px;
color:white;
}
.author{
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
}
#author{
font-size: 15px;
color:white
}
.comments{
display: flex;
flex-direction:column;
justify-content: space-between;
align-items: center;
width: 100%;
margin-bottom: 25px;
}
.single-comment{
display: flex;
flex-direction: column;
width: 90%;
border-bottom: 3px solid lightgray;
margin-top:10px;
}
#add_comment{
display: flex;
flex-direction: column;
width: 100%;
justify-content: space-evenly;
align-items: center;
margin-top:30px;
}
#comment_form{
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
#comment_form textarea{
height: auto;
border-radius: 3%;
background: rgba(238, 234, 234, 0.4);
outline-color: rgb(32, 89, 133);
border-color: white;
color: white;
resize: none;
width: 100%;
}
#comment_form textarea::placeholder{
color: white;
}
#comment_form label{
display: none;
}
#comment_form *{
margin-bottom: 10px;
}
.date_author{
display: flex;
width: 100%;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.btn-primary{
background-color: #205985;
--bs-btn-border-color:transparent;
align-self: flex-end;
}
#submit{
margin-top: 5px;
}
p{
color:white;
}
#container {
width: 60%;
position: relative;
background: rgba(217, 217, 217, 0.4);
margin-bottom: 15px;
padding: 25px;
}
.title-content > p > img{
width: 100%;
height: 100%;
}
#title{
font-size: 40px;
color: white;
font-weight: bold;
align-self: flex-start;
margin: 5% 0 0 20%;
}
.icons{
align-self: flex-end;
margin-left: auto;
color:white;
}
a{
color: white;
}
a:hover{
color:rgb(231, 225, 225);
}
svg{
width: 20px;
height: 20px;
margin-left:5px;
}
#comment-author{
align-self: flex-end;
margin-left:auto;
margin-bottom:7px;
}
.date_author p {
margin-bottom: 10px;
}