diff --git a/index.html b/index.html index 8c99205..7320d20 100644 --- a/index.html +++ b/index.html @@ -103,16 +103,24 @@

These are other websites where you can find me and the things I do, including the pages where I publish my code and games and where I sometimes stream and upload videos. This list also includes a lot of ways to reach me.

-
- The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+
+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
+ + Additionally, here are some miscellaneous platforms: +
    +
  • My Nintendo Switch friend code is SW-5281-8834-6801
  • +
  • If you want to play my Mario Maker 2 levels, my ID is 8BH-566-4WF
  • +
  • If you play The Sims 4, you can check out my builds on the gallery by searching for Ellpeck
  • +
+
+
+ The content that should be here is dynamically generated. Please enable JavaScript if you see this. +
- Additionally, here are some miscellaneous platforms: -
diff --git a/scripts/social.js b/scripts/social.js index 3ffedbe..93b535c 100644 --- a/scripts/social.js +++ b/scripts/social.js @@ -1,8 +1,4 @@ const socials = [{ - name: 'Discord', - link: 'https://www.ellpeck.de/discord', - }, - { name: 'Twitter', link: 'https://twitter.com/Ellpeck' }, @@ -49,4 +45,8 @@ for (social of socials) { s += social["name"]; s += '' } -$('#social-list').html(s); \ No newline at end of file +$('#social-list').html(s); + +var disc = $("#discord-div"); +var theme = dark ? "dark" : "light"; +disc.html(''); \ No newline at end of file diff --git a/style.css b/style.css index c1a88c9..d66104d 100644 --- a/style.css +++ b/style.css @@ -62,18 +62,6 @@ body { margin-bottom: 20px; } -.support-button { - width: 300px; - margin: 10px; - line-height: 50px; -} - -.support-image { - width: 50px; - height: 50px; - float: left; -} - #social-list { text-align: center; } @@ -136,15 +124,15 @@ body { margin-right: 10px; } -.support-desc { - margin-top: 10px; - margin-bottom: 10px; -} - .alert { margin-top: 1rem; } +#discord-widget { + display: block; + margin: auto; +} + @media (min-width: 1200px) { .navbar { width: 1200px; @@ -159,15 +147,6 @@ body { } } -@media(max-width: 991px) { - .support-button { - width: auto; - overflow: hidden; - text-indent: -99999px; - margin: 5px; - } -} - @media (max-width: 768px) { .container { max-width: none;