Skip to content

Commit

Permalink
Forum funcional
Browse files Browse the repository at this point in the history
  • Loading branch information
andreeluis committed Nov 24, 2023
1 parent a4f7723 commit 47315ff
Show file tree
Hide file tree
Showing 12 changed files with 189 additions and 1,383 deletions.
39 changes: 32 additions & 7 deletions src/forum/assets/css/forum.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
main article{
main article {
background-color: var(--light-grey);
margin: 2em auto;
padding: 1.5em 2.5em;
width: 90%;
border-radius: 1.5vmax;
}

main article.autor {
border: 2px solid var(--principal-blue);
}

button#add-post {
float: right;
padding: 1em;
Expand All @@ -30,6 +34,7 @@ button#add-post:hover {
}

#posts article h3 {
color: var(--principal-blue);
display: inline;
margin: 0 1em 0 0;
vertical-align: middle;
Expand All @@ -51,9 +56,29 @@ button#add-post:hover {
float: right;
}

/* #posts span {
float: right;
background-color: var(--light-grey);
padding: 5px 10px;
border-radius: 1vmax;
} */
#posts article .engajamento span {
margin-right: 1em;
}

#posts article .engajamento button {
padding: 0;
border: none;
background: none;
font-size: 1em;
}

#posts article .engajamento button:hover {
cursor: pointer;
}

#posts article .engajamento .edit {
color: var(--blue);
}

#posts article .engajamento .delete {
color: var(--red);
}

#posts article .engajamento button i {
margin-left: .5em;
}
18 changes: 12 additions & 6 deletions src/forum/assets/css/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,23 +37,30 @@ section.conteudo {
}

.secao-comentarios {
padding: 1em 3em;
padding: 1em;
}

#comentar {
display: flex;
align-items: center;
}

#comentar input{
width: 60%;
flex: 3;
margin-right: .5em;
vertical-align: middle;
padding: .6em;
border: 1px solid #333;
border-radius: .5vmax;
margin-bottom: 1em;
font-size: 1em;
}

#comentar button {
padding: 1em;
flex: 1;
margin: auto;
padding: 1em;
border: none;
border-radius: .5vmax;
margin-top: 1.5em;
background-color: var(--principal-blue);
color: var(--white);
font-weight: bold;
Expand All @@ -65,5 +72,4 @@ section.conteudo {

section.comentarios {
margin: 1em 0;

}
287 changes: 0 additions & 287 deletions src/forum/assets/css/style2.css

This file was deleted.

Loading

0 comments on commit 47315ff

Please sign in to comment.