diff --git a/CSS/account.css b/CSS/account.css index 0e6a0de..e968cfe 100644 --- a/CSS/account.css +++ b/CSS/account.css @@ -8,6 +8,11 @@ height: 100px; } +body { + margin: 0px; + text-align: center; +} + footer { display: flex; justify-content: center; diff --git a/CSS/expanded.css b/CSS/expanded.css index 3087033..507d9cc 100644 --- a/CSS/expanded.css +++ b/CSS/expanded.css @@ -8,6 +8,11 @@ img, video { width: 45%; } +body { + margin: 0px; + text-align: center; +} + .Embed { border-style: solid; border-radius: 1%; diff --git a/CSS/mail.css b/CSS/mail.css index f1a1769..af328d1 100644 --- a/CSS/mail.css +++ b/CSS/mail.css @@ -4,6 +4,10 @@ header, footer { z-index: 1; } +header { + height: 5vh; +} + /* Singletons */ html { background: linear-gradient(#b4b4b4, #dcdcdc, #b4b4b4); @@ -11,8 +15,9 @@ html { overflow-y: hidden; } -header { - height: 5vh; +body { + margin: 0px; + text-align: center; } section { diff --git a/CSS/post.css b/CSS/post.css index 8d19465..b5eb3a9 100644 --- a/CSS/post.css +++ b/CSS/post.css @@ -7,6 +7,11 @@ header { height: 5vh; } +body { + margin: 0px; + text-align: center; +} + section { height: 75vh; } diff --git a/CSS/setting.css b/CSS/setting.css index a86bd3d..c8cad4f 100644 --- a/CSS/setting.css +++ b/CSS/setting.css @@ -11,18 +11,27 @@ header { height: 5vh; } +body { + margin: 0px; + text-align: center; +} + .Hidden { visibility: hidden; display: none; } -.Button { +.Button { + margin: auto; + border-style: solid; border-width: 6px; border-color: #00FFFF; - padding: 25vh 8vw; + padding: 8%; + display: flex; + justify-content: center; background: linear-gradient(#dcdcdc, #b4b4b4); color: black; } diff --git a/HTML/expanded.html b/HTML/expanded.html index 1c5dc91..7e9f761 100644 --- a/HTML/expanded.html +++ b/HTML/expanded.html @@ -11,7 +11,7 @@ - +

diff --git a/HTML/mail.html b/HTML/mail.html index 37ce1fe..10e8c85 100644 --- a/HTML/mail.html +++ b/HTML/mail.html @@ -11,7 +11,7 @@ - +

Mail

diff --git a/HTML/post.html b/HTML/post.html index 236e259..b8cf3f1 100644 --- a/HTML/post.html +++ b/HTML/post.html @@ -11,7 +11,7 @@ - +

Post

diff --git a/HTML/setting.html b/HTML/setting.html index a5fa7ab..97d020a 100644 --- a/HTML/setting.html +++ b/HTML/setting.html @@ -11,15 +11,15 @@ - +

Setting

-
+

Toggle Remote

-
+
diff --git a/JS/account.js b/JS/account.js index 50afdd7..53f8ed1 100644 --- a/JS/account.js +++ b/JS/account.js @@ -76,28 +76,18 @@ async function GetAccount() { SetBlock(); // Check for a reblog. if (post.reblog != null) { - AccountName.innerHTML = post.reblog.account.username; - AccountDescription.innerHTML = post.reblog.account.note; - AccountImage.setAttribute("src", post.reblog.account.avatar); - // Build the fields - let Field = "
"; - for (let i of post.reblog.account.fields) { - Field += "" + i.name + "" + i.value + ""; - } - Field += "
"; - AccountDescription.innerHTML += Field; - } else { - AccountName.innerHTML = post.account.username; - AccountDescription.innerHTML = post.account.note; - AccountImage.setAttribute("src", post.account.avatar); - // Build the fields - let Field = "
"; - for (let i of post.account.fields) { - Field += "" + i.name + "" + i.value + ""; - } - Field += "
"; - AccountDescription.innerHTML += Field; + post = post.reblog; } + AccountName.innerHTML = post.account.username; + AccountDescription.innerHTML = post.account.note; + AccountImage.setAttribute("src", post.account.avatar); + // Build the fields + let Field = "
"; + for (let i of post.account.fields) { + Field += "" + i.name + "" + i.value + ""; + } + Field += "
"; + AccountDescription.innerHTML += Field; } else if (website == "Bluesky") { // Set the relationship follows let thing = await BlueskyAPI.GetRecord(localStorage.getItem(Variables.BlueskyDID), "app.bsky.graph.follow", post.post.author.did);