Skip to content

Commit 35f7bd9

Browse files
authored
Merge pull request #1175 from AKSHITHA-CHILUKA/patch-11
Update styles.css
2 parents 75598ee + 4b37fc8 commit 35f7bd9

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

Website/styles.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,35 @@ button#toggle-languages:hover {
658658
opacity: 0.9;
659659
}
660660

661+
662+
/* Loading Animation CSS */
663+
.loading-container {
664+
position: fixed;
665+
top: 0;
666+
left: 0;
667+
width: 100%;
668+
height: 100%;
669+
display: flex;
670+
justify-content: center;
671+
align-items: center;
672+
background-color: rgba(255, 255, 255, 0.8); /* Slightly transparent background */
673+
z-index: 1000;
674+
}
675+
676+
.loader {
677+
border: 16px solid #f3f3f3; /* Light grey */
678+
border-top: 16px solid #3498db; /* Blue */
679+
border-radius: 50%;
680+
width: 120px;
681+
height: 120px;
682+
animation: spin 2s linear infinite;
683+
}
684+
685+
@keyframes spin {
686+
0% { transform: rotate(0deg); }
687+
100% { transform: rotate(360deg); }
688+
}
689+
661690
/* Dark Mode Styles */
662691
body.dark-mode {
663692
background-color: #121245;
@@ -727,3 +756,4 @@ body.dark-mode {
727756
}
728757

729758

759+

0 commit comments

Comments
 (0)