diff --git a/index.js b/index.js index 21f29d8..0f28258 100644 --- a/index.js +++ b/index.js @@ -110,7 +110,7 @@ function pageUpdate() { if (activity.type == 2) { if (get_img()) { addedHTML += ` -
Listening to ${activity.name} @@ -122,7 +122,7 @@ function pageUpdate() { ` } else { addedHTML += ` -
Playing ${activity.name}
${activity.state}
@@ -134,7 +134,7 @@ function pageUpdate() {
} else if (activity.type == 0) {
if (get_img()) {
addedHTML += `
-
Playing ${activity.name} @@ -146,7 +146,7 @@ function pageUpdate() { ` } else { addedHTML += ` -
Playing ${activity.name}
${activity.state}
diff --git a/static/style.css b/static/style.css
index 5797991..ee73316 100644
--- a/static/style.css
+++ b/static/style.css
@@ -36,6 +36,8 @@ body {
animation-name: fade-in;
animation-duration: .75s;
animation-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1);
+ margin: auto;
+ max-width: 1000px;
}
a {