Skip to content

Commit

Permalink
Fix Feedback Form Alignment and Responsiveness (#420)
Browse files Browse the repository at this point in the history
* Update gamerules.css

* Update feedback.css

---------

Co-authored-by: Shrihari Magar <[email protected]>
  • Loading branch information
RadhikaMalpani1702 and EternoSeeker authored Jul 29, 2024
1 parent 3bc04f3 commit d1e1a03
Showing 1 changed file with 41 additions and 4 deletions.
45 changes: 41 additions & 4 deletions css/feedback.css
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ body {
display: flex;
justify-content: center;
align-items: center;
height: 110vh;
min-height: 100vh;
background: linear-gradient(45deg, #0d0d0d, #1e1e1e);
animation: blinkGradient 10s infinite;
transition: background 0.5s ease-in-out;
Expand Down Expand Up @@ -125,6 +125,8 @@ h1 {

.form-group {
margin-bottom: 15px;
display: flex;
flex-direction: column;
}

label {
Expand Down Expand Up @@ -253,8 +255,7 @@ button[type="submit"]:hover {
}

.rating {
margin-left: 110px;
margin-right: 110px;
margin: 0 auto 15px;
display: flex;
justify-content: space-between;
align-items: center;
Expand Down Expand Up @@ -315,6 +316,42 @@ span {
}
}

@media (max-width: 600px) {
.container {
padding: 1rem;
}

.rating {
margin: 0 20px 15px;
}

h1 {
font-size: 1.5rem;
}

label {
font-size: 0.9rem;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea,
input[type="file"] {
font-size: 0.9rem;
padding: 8px;
}

button[type="submit"] {
padding: 8px;
}

.back-button {
padding: 0.4rem 0.8rem;
margin-left: 0;
}
}
.rating-container button {
font-size: 24px;
cursor: pointer;
Expand Down Expand Up @@ -343,4 +380,4 @@ span {
.rating-container button:hover {
transform: scale(1.2); /* Adjust scaling for smaller screens */
}
}
}

0 comments on commit d1e1a03

Please sign in to comment.