diff --git a/css/style.css b/css/style.css index 1abe529..229240d 100644 --- a/css/style.css +++ b/css/style.css @@ -1,23 +1,41 @@ @import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"); +@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap'); + body { - background-color: #111; + background-color: #222; } .navbar { background: linear-gradient(-95deg, #1a9fff, #946beb); + font-family: "Source Sans 3"; } .navbar .dropdown-menu { + background-color: #222; +} + +/* .btn-dark { + background-color: #111; +} */ + +.btn { + font-family: "Source Sans 3", sans-serif; background-color: #111; } -.btn-dark { - background-color: #111; +.btn:hover, button { + background-color: #222; + border: 1px white solid; } -#lead-jumbotron { +.jumbotron { background: linear-gradient(45deg, #1a9fff, #946beb); color: white; border: 1px white solid; + font-family: "Source Sans 3", sans-serif; +} + +.jumbotron h1 { + font-family: "Nunito Sans", sans-serif; } \ No newline at end of file diff --git a/index.html b/index.html index 0801503..a6f4d74 100644 --- a/index.html +++ b/index.html @@ -96,7 +96,7 @@
-
+

Your all-in-one emulation package for the Steam Deck

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sed ante @@ -104,7 +104,7 @@ erat, nec vehicula arcu dapibus sed.

- + Download on Flathub
@@ -152,7 +152,7 @@ -
+

We can't do this alone

RetroDECK is run by volunteers. If you appreciate our work, please consider @@ -169,6 +169,7 @@ + \ No newline at end of file diff --git a/scripts/gradient.js b/scripts/gradient.js new file mode 100644 index 0000000..906f6ab --- /dev/null +++ b/scripts/gradient.js @@ -0,0 +1,17 @@ +let gradientAngle = 45; + +let jumbotronElems = document.getElementsByClassName('jumbotron'); +const gradientInterval = setInterval(function() { + updateGradientAngle(); +}, 50); +console.log(jumbotronElems.length) + +function updateGradientAngle() { + gradientAngle += 1 + if (gradientAngle > 360) { + gradientAngle = 0; + } + for (let i=0; i