Skip to content

Commit

Permalink
Merge pull request #51 from Aaron-53/main
Browse files Browse the repository at this point in the history
changed styles for loading
  • Loading branch information
niyashiyas authored Nov 27, 2024
2 parents 77693bc + 919326a commit 87af72e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/app/loading.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import excel from "@/assets/Footer/excel.svg";

function Loading() {
return (
<div>
<div className="landingbody" >
<div id="root ">
<div id="particles-background" className="vertical-centered-box"></div>
<div id="particles-foreground" className="vertical-centered-box"></div>
Expand All @@ -25,7 +25,7 @@ function Loading() {
</div>
</div>
</div>
<Script src="./script.js" />
<Script src="./script.js" strategy="beforeInteractive" />
</div>
);
}
Expand Down
10 changes: 5 additions & 5 deletions src/styles/loading.css
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
body {
.landingbody {
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-family: "proxima-nova-soft", sans-serif;
-webkit-user-select: none;
overflow: hidden;
}
body .vertical-centered-box {
.landingbody .vertical-centered-box {
position: absolute;
width: 100%;
height: 100%;
text-align: center;
}
body .vertical-centered-box:after {
.landingbody .vertical-centered-box:after {
content: '';
display: inline-block;
height: 100%;
vertical-align: middle;
margin-right: -0.25em;
}
body .vertical-centered-box .content {
.landingbody .vertical-centered-box .content {
box-sizing: border-box;
display: inline-block;
vertical-align: middle;
Expand All @@ -28,7 +28,7 @@ body {
* {
transition: all 0.3s;
}
body {
.landingbody {
background: #2c2d44;
}
.loader-circle {
Expand Down

0 comments on commit 87af72e

Please sign in to comment.