Plankton_Detector/PlanktonDetector/static/Community/css/post_details.css
2024-01-07 01:10:31 +01:00

119 lines
1.9 KiB
CSS

.page-container{
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
align-items: center;
overflow: hidden;
}
.post{
display:flex;
margin-top:10px;
flex-direction: column;
justify-content:center;
align-items: stretch;
border: 3px solid lightgray;
width: 80%;
padding: 15px;
border-radius: 5%;
}
.title-content{
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
#title{
font-size: 40px;
color: black;
font-weight: bold;
align-self: flex-start;
}
#content{
font-size: 20px;
color:black;
}
.author{
display: flex;
justify-content: flex-end;
align-items: center;
width: 100%;
}
#author{
font-size: 15px;
}
.comments{
display: flex;
flex-direction:column;
justify-content: space-between;
align-items: center;
width: 80%;
margin-bottom: 25px;
}
#comment-label{
font-size: 30px;
align-self: flex-start;
margin-left: 10%;
color:black;
font-weight: bold;
}
.single-comment{
display: flex;
flex-direction: column;
width: 90%;
border-bottom: 3px solid lightgray;
margin-top:10px;
}
#add_comment{
display: flex;
flex-direction: row;
width: 55%;
justify-content: space-evenly;
align-items: center;
margin-top:30px;
}
#comment_form{
width: 100%;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
#comment_form textarea{
height: auto;
}
#comment_form label{
font-size: 20px;
}
.date_author{
display: flex;
width: 100%;
flex-direction: row;
align-items: flex-start;
justify-content: space-between;
}
#submit{
background-color: chartreuse;
border-radius: 25px;
border: 2px solid black;
font-size: 20px;
text-decoration: none;
color:black;
font-family: Arial;
text-align: center;
}