Skip to content

Commit

Permalink
fix(splash-screen): moves styles into main app.vue only (#638)
Browse files Browse the repository at this point in the history
  • Loading branch information
2xAA authored Oct 23, 2021
1 parent ea8a15d commit a90a09a
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 43 deletions.
43 changes: 0 additions & 43 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,49 +8,6 @@
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
<title>modV</title>

<style>
body {
margin: 0px;
background:rgb(45, 45, 45);
}

/* From https://loading.io/css */
.lds-ripple {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(2.5);
width: 80px;
height: 80px;
}
.lds-ripple div {
position: absolute;
border: 4px solid rgb(21, 21, 21);
opacity: 1;
border-radius: 100%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 72px;
height: 72px;
opacity: 0;
}
}
</style>
</head>

<body>
Expand Down
42 changes: 42 additions & 0 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,48 @@ export default {
}
</style>

<style>
body {
background: rgb(45, 45, 45);
}
/* From https://loading.io/css */
.lds-ripple {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(2.5);
width: 80px;
height: 80px;
}
.lds-ripple div {
position: absolute;
border: 4px solid rgb(21, 21, 21);
opacity: 1;
border-radius: 100%;
animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
.lds-ripple div:nth-child(2) {
animation-delay: -0.5s;
}
@keyframes lds-ripple {
0% {
top: 36px;
left: 36px;
width: 0;
height: 0;
opacity: 1;
}
100% {
top: 0px;
left: 0px;
width: 72px;
height: 72px;
opacity: 0;
}
}
</style>

<style>
@import url("./css/inter.css");
@import url("./css/iaw.css");
Expand Down

0 comments on commit a90a09a

Please sign in to comment.