diff --git a/public/css/style.css b/public/css/style.css index 19087b3..25b79d1 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -9,12 +9,29 @@ } @layer base { + #particles-js { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + z-index: 0; + pointer-events: none; + } + + #particles-js canvas { + display: block; + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + } html { @apply h-full; margin: 0; padding: 0; box-sizing: border-box; - overflow-x: hidden; } *, @@ -24,7 +41,7 @@ } body { - @apply min-h-full flex flex-col bg-gray-900 text-white; + @apply min-h-full flex flex-col text-white; font-family: 'Roboto', 'Verdana', sans-serif; overflow-x: hidden; } @@ -639,24 +656,7 @@ background-color: #151d31; } -#particles-js { - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: 100vh; - z-index: 0; - pointer-events: none; -} -#particles-js canvas { - display: block; - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; -} @media (max-width: 480px) { .section-bg { diff --git a/public/css/style.min.css b/public/css/style.min.css index 3147e99..e4ff610 100644 --- a/public/css/style.min.css +++ b/public/css/style.min.css @@ -938,12 +938,28 @@ font-display: swap; } @layer base { + #particles-js { + position: fixed; + top: 0; + left: 0; + width: 100vw; + height: 100vh; + z-index: 0; + pointer-events: none; + } + #particles-js canvas { + display: block; + width: 100%; + height: 100%; + position: absolute; + top: 0; + left: 0; + } html { height: 100%; margin: 0; padding: 0; box-sizing: border-box; - overflow-x: hidden; } *, *:before, *:after { box-sizing: inherit; @@ -952,7 +968,6 @@ display: flex; min-height: 100%; flex-direction: column; - background-color: var(--color-gray-900); color: var(--color-white); font-family: 'Roboto', 'Verdana', sans-serif; overflow-x: hidden; @@ -1803,23 +1818,6 @@ .bg-gray-700 { background-color: #151d31; } -#particles-js { - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: 100vh; - z-index: 0; - pointer-events: none; -} -#particles-js canvas { - display: block; - width: 100%; - height: 100%; - position: absolute; - top: 0; - left: 0; -} @media (max-width: 480px) { .section-bg { padding: calc(var(--spacing) * 2); diff --git a/public/test.html b/public/test.html index 5fa6cff..5d7497f 100644 --- a/public/test.html +++ b/public/test.html @@ -76,6 +76,8 @@