Font Size Change

This commit is contained in:
Andreas Grasser 2022-11-19 22:14:44 +01:00
parent 9bd8baa3d7
commit 3a82f22136
4 changed files with 14 additions and 3 deletions

View file

@ -56,7 +56,6 @@ function processStatuses(statuses) {
for (var i=0; i<jsonStat.length; i++) { for (var i=0; i<jsonStat.length; i++) {
if (!jsonStat[i]["reblog"]) { if (!jsonStat[i]["reblog"]) {
console.log(jsonStat[i]["content"]);
evaluateStatus(jsonStat[i]["id"], (jsonStat[i]["favourites_count"]>0), (jsonStat[i]["reblogs_count"]>0)); evaluateStatus(jsonStat[i]["id"], (jsonStat[i]["favourites_count"]>0), (jsonStat[i]["reblogs_count"]>0));
request_limit--; request_limit--;
if (request_limit<0) break; if (request_limit<0) break;

View file

@ -6,6 +6,8 @@ const radius = [64,58,50];
let userNum = 0; let userNum = 0;
function render(users) { function render(users) {
userNum = 0;
const canvas = document.getElementById("canvas"); const canvas = document.getElementById("canvas");
const ctx = canvas.getContext("2d"); const ctx = canvas.getContext("2d");
@ -16,7 +18,7 @@ function render(users) {
ctx.fillStyle = "#282c37"; ctx.fillStyle = "#282c37";
ctx.fillRect(0, 0, width, height); ctx.fillRect(0, 0, width, height);
loadImage(ctx, ownProfilePic, (width/2)-110, (height/2)-110, 110, 110); loadImage(ctx, ownProfilePic, (width/2)-110, (height/2)-110, 110, 110);
// loop over the layers // loop over the layers
for (var layerIndex=0; layerIndex<3; layerIndex++) { for (var layerIndex=0; layerIndex<3; layerIndex++) {

View file

@ -13,7 +13,7 @@
<script src="image.js"></script> <script src="image.js"></script>
<h1>Mastodon Circle Creator</h1> <h1>Mastodon Circle Creator</h1>
<!-- Logo? --> <!-- Logo? -->
<input id="txt_mastodon_handle" type="text" placeholder="@sonnenbrandi@mieke.club" style="width: 300px;"> <input id="txt_mastodon_handle" type="text" onchange="document.getElementById('btn_create').style = 'display: inline;'; document.getElementById('btn_download').style = 'display: none;'" placeholder="@sonnenbrandi@mieke.club">
<button id="btn_create" onClick="circle_main()">Circle Erstellen</button> <button id="btn_create" onClick="circle_main()">Circle Erstellen</button>
<button id="btn_download" onClick="downloadImage()" style="display: none;">DOWNLOAD</button> <button id="btn_download" onClick="downloadImage()" style="display: none;">DOWNLOAD</button>
<br><br><br> <br><br><br>

View file

@ -5,4 +5,14 @@ body {
line-height: 200%; line-height: 200%;
padding-top: 75px; padding-top: 75px;
text-align: center; text-align: center;
}
input[type="text"]
{
font-size: 30px;
width: 50%;
}
button {
font-size: 30px;
} }