Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the top arrow in questions page #116

Merged
merged 3 commits into from
May 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 21 additions & 18 deletions Public/styles/question.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ body {
.cta-card__input-box {
position: relative;
}

.cta-card__input {
margin-top: 1rem;
width: 96%;
Expand All @@ -33,12 +34,15 @@ body {
color: #fff;
background-color: rgba(243, 248, 254, 0.144);
}

.cta-card__input::-moz-placeholder {
color: rgba(255, 255, 255, 0.7);
}

.cta-card__input::placeholder {
color: rgba(255, 255, 255, 0.7);
}

.cta-card__input:focus {
outline: 4px solid rgba(218, 70, 218, 0.4);
border: 2px solid transparent;
Expand All @@ -55,14 +59,16 @@ body {
padding: 32px;
text-align: center;
/* background: rgba(255, 255, 255, 0.279); */
background: rgb(131,58,180);
background: radial-gradient(circle, rgb(130, 38, 191) 25%, rgba(218, 62, 229, 0.681) 92%);

background: rgb(131, 58, 180);
background: radial-gradient(circle, rgba(131, 58, 180, 1) 5%, rgba(252, 70, 128, 0.680637220708596) 92%);
=
color: #3e0446;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
margin-bottom: 15px;
margin-top: 15px;
margin-left: 10px; //added equal margins instead of only rigth
margin-left: 10px; //added equal margins instead of only rigth
margin-right: 10px;
}

Expand Down Expand Up @@ -165,7 +171,7 @@ button .arrow::before {
transition: 0.2s;
padding: 3px;
transform: rotate(-45deg);

}

button:hover {
Expand All @@ -179,6 +185,7 @@ button:hover .arrow {
button:hover .arrow:before {
right: 0;
}

.radio-options {
display: flex;
}
Expand All @@ -187,7 +194,7 @@ button:hover .arrow:before {
.radio-options label {
/* display: flex; */
background-color: #ffffff8c;
/* margin: 8px 0 0 0; */
/* margin: 8px 0 0 0; */
font-size: 18px;
font-weight: 600;
border-radius: 10px;
Expand All @@ -198,7 +205,7 @@ button:hover .arrow:before {
margin-left: 1rem;
margin-bottom: .5rem;
/* display: block; */

}

.radio-options label:hover {
Expand All @@ -207,27 +214,23 @@ button:hover .arrow:before {
color:#16b73b;
}

.radio-options input[type="radio"]:checked + label {
background-color: #16b73b;

.radio-options input[type="radio"]:checked+label {
background-color: #1bd246;

color: white;
border: 2px solid #047a20;

}

#go-to-top-button {
position: fixed;
bottom: 20px;
right: 20px;
--primary-color: #645bff;
--secondary-color: #fff;
--hover-color: #111;
color: white;
opacity: 0.5;
bottom: 37px;
right: 85px;
border: none;
border-radius: 20px;
border-radius: 60px;
padding: 10px 20px;
cursor: pointer;
box-shadow: 5px 2px 4px rgb(0, 0, 0, 0.5);
transition: all o.2s linear;
}

Expand All @@ -244,6 +247,6 @@ input[type="radio"] {
margin-right: 6px;
}

.submit{
.submit {
font-size: 18px;
}
Loading