Better CSS
This commit is contained in:
parent
2b13723028
commit
2d6854ee65
2 changed files with 6 additions and 5 deletions
2
index.js
2
index.js
|
@ -232,7 +232,7 @@ function mastoUpdate() {
|
|||
newHTML += `<img class="minipfp" src="${data.image.url}">`
|
||||
newHTML += `<h3 style="display: inline-block; vertical-align: -15%;">` + data.title + `</h3><br>`
|
||||
newHTML += post.description
|
||||
newHTML += `</a></div>`
|
||||
newHTML += `</a></div><br>`
|
||||
}
|
||||
console.log(data)
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue