mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-21 18:47:26 -07:00
Font Size Change
This commit is contained in:
parent
9bd8baa3d7
commit
3a82f22136
4 changed files with 14 additions and 3 deletions
|
@ -56,7 +56,6 @@ function processStatuses(statuses) {
|
|||
|
||||
for (var i=0; i<jsonStat.length; i++) {
|
||||
if (!jsonStat[i]["reblog"]) {
|
||||
console.log(jsonStat[i]["content"]);
|
||||
evaluateStatus(jsonStat[i]["id"], (jsonStat[i]["favourites_count"]>0), (jsonStat[i]["reblogs_count"]>0));
|
||||
request_limit--;
|
||||
if (request_limit<0) break;
|
||||
|
|
4
image.js
4
image.js
|
@ -6,6 +6,8 @@ const radius = [64,58,50];
|
|||
let userNum = 0;
|
||||
|
||||
function render(users) {
|
||||
userNum = 0;
|
||||
|
||||
const canvas = document.getElementById("canvas");
|
||||
const ctx = canvas.getContext("2d");
|
||||
|
||||
|
@ -16,7 +18,7 @@ function render(users) {
|
|||
ctx.fillStyle = "#282c37";
|
||||
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
|
||||
for (var layerIndex=0; layerIndex<3; layerIndex++) {
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
<script src="image.js"></script>
|
||||
<h1>Mastodon Circle Creator</h1>
|
||||
<!-- 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_download" onClick="downloadImage()" style="display: none;">DOWNLOAD</button>
|
||||
<br><br><br>
|
||||
|
|
10
style.css
10
style.css
|
@ -5,4 +5,14 @@ body {
|
|||
line-height: 200%;
|
||||
padding-top: 75px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input[type="text"]
|
||||
{
|
||||
font-size: 30px;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 30px;
|
||||
}
|
Loading…
Reference in a new issue