Skip to content

Commit f9a4d30

Browse files
committed
add color to pbar
1 parent 345b5a3 commit f9a4d30

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;
@@ -1356,19 +1355,18 @@ a {
13561355
}
13571356
}
13581357

1359-
@media(max-width: 530px){
1360-
.search-input{
1358+
@media (max-width: 530px) {
1359+
.search-input {
13611360
font-size: 12px;
13621361
width: 55%;
13631362
}
1364-
.fa-search{
1363+
.fa-search {
13651364
margin-left: 0.3rem;
13661365
font-size: 0.9rem;
13671366
}
13681367
}
13691368

1370-
1371-
.line.show{
1369+
.line.show {
13721370
position: relative;
13731371
/* bottom: -20px; */
13741372
top: 95px;
@@ -1453,7 +1451,6 @@ a {
14531451
}
14541452

14551453
#progressBarContainer {
1456-
14571454
position: fixed;
14581455
top: 0;
14591456
left: 0;
@@ -1465,7 +1462,17 @@ a {
14651462
#progressBar {
14661463
height: 100%;
14671464
width: 0%;
1468-
background: white;
1465+
.navbar {
1466+
background: linear-gradient(
1467+
135deg,
1468+
#2b0751,
1469+
#52057b,
1470+
#832ab9,
1471+
#ff2a6d,
1472+
#ff5e7a,
1473+
#ff9e99
1474+
);
1475+
}
1476+
14691477
transition: width 0.2s ease;
14701478
}
1471-

0 commit comments

Comments
 (0)