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 += `<img class="minipfp" src="${data.image.url}">`
|
||||||
newHTML += `<h3 style="display: inline-block; vertical-align: -15%;">` + data.title + `</h3><br>`
|
newHTML += `<h3 style="display: inline-block; vertical-align: -15%;">` + data.title + `</h3><br>`
|
||||||
newHTML += post.description
|
newHTML += post.description
|
||||||
newHTML += `</a></div>`
|
newHTML += `</a></div><br>`
|
||||||
}
|
}
|
||||||
console.log(data)
|
console.log(data)
|
||||||
|
|
||||||
|
|
|
@ -213,11 +213,12 @@ hr {
|
||||||
}
|
}
|
||||||
|
|
||||||
.post {
|
.post {
|
||||||
background-color: rgb(85, 50, 150);
|
background-color: rgba(85, 50, 150, 0.3);
|
||||||
border: 2px white solid;
|
border: 2px gray solid;
|
||||||
display: block;
|
display: inline-block;
|
||||||
border-radius: 15px;
|
/* border-radius: 15px; */
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
margin: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.minipfp {
|
.minipfp {
|
||||||
|
|
Loading…
Reference in a new issue