Skip to content

Commit

Permalink
removed preloader, added some new styling for headers
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Madigan <[email protected]>
  • Loading branch information
jasonmadigan committed Dec 12, 2024
1 parent 41b8688 commit 64364be
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 51 deletions.
1 change: 0 additions & 1 deletion src/_includes/layout.njk
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ title: Kuadrant.io
</div>
</footer><!-- End Footer -->

<div id="preloader"></div>
<a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i class="bi bi-arrow-up-short"></i></a>

<!-- Vendor JS Files -->
Expand Down
80 changes: 40 additions & 40 deletions static/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,45 +31,7 @@ h3,
h4,
h5,
h6 {
font-family: "Jost", sans-serif;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 9999;
overflow: hidden;
background: #37517e;
}

#preloader:before {
content: "";
position: fixed;
top: calc(50% - 30px);
left: calc(50% - 30px);
border: 6px solid #37517e;
border-top-color: #fff;
border-bottom-color: #fff;
border-radius: 50%;
width: 60px;
height: 60px;
animation: animate-preloader 1s linear infinite;
}

@keyframes animate-preloader {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
font-family: "Open Sans", sans-serif;
}

/*--------------------------------------------------------------
Expand Down Expand Up @@ -1952,4 +1914,42 @@ h1, h2, h3, h4, h5 {

.footer-contact img {
max-width: 20em;
}
}

h1 {
font-size: 2rem;
color: #37517e;
font-weight: 700;
margin-bottom: 1rem;
}

h2 {
font-size: 1.75rem;
color: #2a4866;
font-weight: 600;
margin-bottom: 0.9rem;
}

h3 {
font-size: 1.5rem;
color: #37517e;
font-weight: 500;
letter-spacing: 0.02rem;
margin-bottom: 0.8rem;
}

h4 {
font-size: 1.25rem;
color: #2a4866;
font-weight: 500;
margin-bottom: 0.7rem;
}

h5 {
font-size: 1rem;
color: #537198;
font-weight: 400;
text-transform: capitalize;
letter-spacing: 0.05rem;
margin-bottom: 0.6rem;
}
10 changes: 0 additions & 10 deletions static/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,16 +155,6 @@
}
});

/**
* Preloader
*/
let preloader = select('#preloader');
if (preloader) {
window.addEventListener('load', () => {
preloader.remove()
});
}

/**
* Initiate glightbox
*/
Expand Down

0 comments on commit 64364be

Please sign in to comment.