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

Add Gradient to the progress bar #991

Merged
merged 1 commit into from
Oct 21, 2024
Merged
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
41 changes: 24 additions & 17 deletions styles/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*{
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
progressBar* {
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body {
background-color: #f0f0f0;
Expand All @@ -11,7 +12,7 @@ body {

.container {
max-width: 1200px;
margin: 100px ;
margin: 100px;
padding: 200px;
text-align: center;
margin-top: 20%;
Expand Down Expand Up @@ -502,7 +503,6 @@ body.dark-mode .profile p {
/* Show moon icon when checked */
}


#theme-toggle:checked + label .switch-button {
transform: translateX(34px);
/* Adjust to fit switch width */
Expand All @@ -516,23 +516,22 @@ body.dark-mode .profile p {
height: 0;
}


/* Checkbox Checked State */
#theme-toggle-mobile:checked+label {
#theme-toggle-mobile:checked + label {
background-color: #555;
}

#theme-toggle-mobile:checked+label .sun-icon {
#theme-toggle-mobile:checked + label .sun-icon {
opacity: 0;
/* Hide sun icon when checked */
}

#theme-toggle-mobile:checked+label .moon-icon {
#theme-toggle-mobile:checked + label .moon-icon {
opacity: 1;
/* Show moon icon when checked */
}

#theme-toggle-mobile:checked+label .switch-button {
#theme-toggle-mobile:checked + label .switch-button {
transform: translateX(30px);
/* Adjust to fit switch width */
background-color: black;
Expand Down Expand Up @@ -1356,19 +1355,18 @@ a {
}
}

@media(max-width: 530px){
.search-input{
@media (max-width: 530px) {
.search-input {
font-size: 12px;
width: 55%;
}
.fa-search{
.fa-search {
margin-left: 0.3rem;
font-size: 0.9rem;
}
}


.line.show{
.line.show {
position: relative;
/* bottom: -20px; */
top: 95px;
Expand Down Expand Up @@ -1453,7 +1451,6 @@ a {
}

#progressBarContainer {

position: fixed;
top: 0;
left: 0;
Expand All @@ -1465,7 +1462,17 @@ a {
#progressBar {
height: 100%;
width: 0%;
background: white;
.navbar {
background: linear-gradient(
135deg,
#2b0751,
#52057b,
#832ab9,
#ff2a6d,
#ff5e7a,
#ff9e99
);
}

transition: width 0.2s ease;
}

Loading