Skip to content

Commit

Permalink
fix form style
Browse files Browse the repository at this point in the history
  • Loading branch information
YarBurArt committed Jan 7, 2025
1 parent 860d899 commit d393a4a
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
17 changes: 17 additions & 0 deletions frontend/src/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/src/styles.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 19 additions & 2 deletions frontend/src/styles/pages/_post-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
max-width: 500px;
//min-width: 200px;
padding: 1.5rem;
animation: bounceIn 0.5s ease-in-out forwards;
button {
background-color: #4a90e2;
border: none;
Expand Down Expand Up @@ -58,12 +59,13 @@
background-color: #f8f8f8;
border-radius: 6px;
box-shadow: 0 2px 6px #0000001a;
//margin: 2rem auto;
margin-left: 2rem;
margin-right: 2rem;
//max-width: 800px;
//min-width: 200px;
padding: 1.5rem;
flex:1;;
flex:1;
animation: bounceIn 0.5s ease-in-out forwards;
h1 {
color: #333;
font-size: 1.8rem;
Expand All @@ -74,6 +76,20 @@

}

@keyframes bounceIn {
0% {
opacity: 0;
transform: translateY(-10px) scale(0.7);
}
60% {
opacity: 1;
transform: translateY(5px) scale(1.05);
}
100% {
transform: translateY(0) scale(1);
}
}

.tab-controls {
display: flex;
//justify-content: center;
Expand All @@ -89,6 +105,7 @@
padding: 10px 20px;
transition: background-color 0.3s ease;
border-radius: 5px;
margin-right: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

&:hover {
Expand Down

0 comments on commit d393a4a

Please sign in to comment.