Skip to content

Commit dc02f79

Browse files
authored
Merge pull request #991 from shubhagarwal1/pbar
Add Gradient to the progress bar
2 parents 017fd8b + f9a4d30 commit dc02f79

File tree

1 file changed

+24
-17
lines changed

1 file changed

+24
-17
lines changed

styles/styles.css

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
*{
2-
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
1+
progressBar* {
2+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
3+
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
34
}
45
body {
56
background-color: #f0f0f0;
@@ -11,7 +12,7 @@ body {
1112

1213
.container {
1314
max-width: 1200px;
14-
margin: 100px ;
15+
margin: 100px;
1516
padding: 200px;
1617
text-align: center;
1718
margin-top: 20%;
@@ -502,7 +503,6 @@ body.dark-mode .profile p {
502503
/* Show moon icon when checked */
503504
}
504505

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

519-
520519
/* Checkbox Checked State */
521-
#theme-toggle-mobile:checked+label {
520+
#theme-toggle-mobile:checked + label {
522521
background-color: #555;
523522
}
524523

525-
#theme-toggle-mobile:checked+label .sun-icon {
524+
#theme-toggle-mobile:checked + label .sun-icon {
526525
opacity: 0;
527526
/* Hide sun icon when checked */
528527
}
529528

530-
#theme-toggle-mobile:checked+label .moon-icon {
529+
#theme-toggle-mobile:checked + label .moon-icon {
531530
opacity: 1;
532531
/* Show moon icon when checked */
533532
}
534533

535-
#theme-toggle-mobile:checked+label .switch-button {
534+
#theme-toggle-mobile:checked + label .switch-button {
536535
transform: translateX(30px);
537536
/* Adjust to fit switch width */
538537
background-color: black;
@@ -1364,19 +1363,18 @@ a {
13641363
}
13651364
}
13661365

1367-
@media(max-width: 530px){
1368-
.search-input{
1366+
@media (max-width: 530px) {
1367+
.search-input {
13691368
font-size: 12px;
13701369
width: 55%;
13711370
}
1372-
.fa-search{
1371+
.fa-search {
13731372
margin-left: 0.3rem;
13741373
font-size: 0.9rem;
13751374
}
13761375
}
13771376

1378-
1379-
.line.show{
1377+
.line.show {
13801378
position: relative;
13811379
/* bottom: -20px; */
13821380
top: 95px;
@@ -1461,7 +1459,6 @@ a {
14611459
}
14621460

14631461
#progressBarContainer {
1464-
14651462
position: fixed;
14661463
top: 0;
14671464
left: 0;
@@ -1473,7 +1470,17 @@ a {
14731470
#progressBar {
14741471
height: 100%;
14751472
width: 0%;
1476-
background: white;
1473+
.navbar {
1474+
background: linear-gradient(
1475+
135deg,
1476+
#2b0751,
1477+
#52057b,
1478+
#832ab9,
1479+
#ff2a6d,
1480+
#ff5e7a,
1481+
#ff9e99
1482+
);
1483+
}
1484+
14771485
transition: width 0.2s ease;
14781486
}
1479-

0 commit comments

Comments
 (0)