Skip to content

Commit b6cbe58

Browse files
committed
style detailing
1 parent 6e25abf commit b6cbe58

File tree

4 files changed

+32
-1
lines changed

4 files changed

+32
-1
lines changed

src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ html[data-theme='dark'] {
2525
--ifm-color-primary-lighter: #948fff;
2626
--ifm-color-primary-lightest: #c6c3ff;
2727
}
28+
a:hover {
29+
color: #4de9f5;
30+
}
31+
/* bioflourescent night mode colorway experiments */
2832
/* html[data-theme='dark'] {
2933
--ifm-color-primary: #4de9f5;
3034
--ifm-color-primary-dark: #2fe5f3;
@@ -34,6 +38,7 @@ html[data-theme='dark'] {
3438
--ifm-color-primary-lighter: #7beff8;
3539
--ifm-color-primary-lightest: #a8f4fa;
3640
} */
41+
3742
.docusaurus-highlight-code-line {
3843
background-color: rgba(0, 0, 0, 0.1);
3944
display: block;

src/pages/index.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@ import React from 'react';
22
import Layout from '@theme/Layout';
33
import Loadable from '@docusaurus/react-loadable'
44
import CoverSection from './sections/CoverSection'
5+
import loading from './loading.module.css';
56

67
const LandingPage = Loadable({
78
loader: () => import('./LandingPage'),
8-
loading: () => <div>Loading...</div>
9+
loading: () =>
10+
<div className={loading.loader}>
11+
<h1 className={loading.sliding}>🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏 🌎 🌍 🌏
12+
</h1>
13+
</div>
914
});
1015

1116
export default function Home() {

src/pages/index.module.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ html[data-theme=dark] .svg_img {
159159
--invert_amount: 100%;
160160
}
161161

162+
a {
162163

164+
}
163165

164166

165167
.buttons {

src/pages/loading.module.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.loader {
2+
width: 100%;
3+
opacity: 0.3;
4+
white-space: nowrap;
5+
overflow: hidden;
6+
}
7+
8+
.sliding {
9+
margin: auto;
10+
font-size: xx-large;
11+
animation: 69s loader linear forwards;
12+
transform:translateX(-100%);
13+
}
14+
15+
@keyframes loader {
16+
to {
17+
transform:translateX(0);
18+
}
19+
}

0 commit comments

Comments
 (0)