From 2d6854ee65d269e3ec8f96f624844ba3700ae831 Mon Sep 17 00:00:00 2001 From: Bingus_Violet Date: Thu, 30 Nov 2023 22:01:19 -0600 Subject: [PATCH] Better CSS --- index.js | 2 +- static/style.css | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 19c0c68..d4d9759 100644 --- a/index.js +++ b/index.js @@ -232,7 +232,7 @@ function mastoUpdate() { newHTML += `` newHTML += `

` + data.title + `


` newHTML += post.description - newHTML += `` + newHTML += `
` } console.log(data) diff --git a/static/style.css b/static/style.css index 8e745e8..5bd1933 100644 --- a/static/style.css +++ b/static/style.css @@ -213,11 +213,12 @@ hr { } .post { - background-color: rgb(85, 50, 150); - border: 2px white solid; - display: block; - border-radius: 15px; + background-color: rgba(85, 50, 150, 0.3); + border: 2px gray solid; + display: inline-block; + /* border-radius: 15px; */ padding: 10px; + margin: 8px; } .minipfp {