1.4.3 patch, swapped out backgrounds for lighter ones, maximum background size is 200kb.

This commit is contained in:
Fristi 2022-01-23 16:55:15 +01:00
parent d0aa81eb6d
commit 0ccf3c6162
No known key found for this signature in database
GPG key ID: A7451474B7F0D49B
35 changed files with 8 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 802 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 513 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 116 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 410 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 47 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 952 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View file

Before

Width:  |  Height:  |  Size: 137 KiB

After

Width:  |  Height:  |  Size: 137 KiB

View file

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 48 KiB

BIN
backgrounds/a11.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 KiB

BIN
backgrounds/a12.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

BIN
backgrounds/a2.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 185 KiB

View file

Before

Width:  |  Height:  |  Size: 169 KiB

After

Width:  |  Height:  |  Size: 169 KiB

BIN
backgrounds/a4.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
backgrounds/a5.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 KiB

BIN
backgrounds/a6.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 166 KiB

BIN
backgrounds/a7.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
backgrounds/a8.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

BIN
backgrounds/a9.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 127 KiB

View file

@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Comfitu.re :: Sweet and Cozy</title> <title>Comfitu.re :: Sweet and Cozy</title>
<link href="style.css?v=1.4.1" rel="stylesheet"/> <link href="style.css?v=1.4.3" rel="stylesheet"/>
<script src="script.js?v=1.4.1" type="application/javascript"></script> <script src="script.js?v=1.4.3" type="application/javascript"></script>
</head> </head>
<body> <body>
@ -21,7 +21,7 @@
| (__/ _ \ ' \| _| | _| || |_| '_/ -_) | (__/ _ \ ' \| _| | _| || |_| '_/ -_)
\___\___/_|_|_|_| |_|\__|\_,_(_)_| \___| \___\___/_|_|_|_| |_|\__|\_,_(_)_| \___|
</pre><div style="display: inline-block; height: 48px; vertical-align: bottom;"> </pre><div style="display: inline-block; height: 48px; vertical-align: bottom;">
<a href="#changelog">v1.4.2</a><br/> <a href="#changelog">v1.4.3</a><br/>
<script>comfiture.printMotd();</script><br/> <script>comfiture.printMotd();</script><br/>
</div> </div>
<div> <div>
@ -173,6 +173,10 @@
</div> </div>
<div class="content" id="changelog"> <div class="content" id="changelog">
<h1>Changelog</h1> <h1>Changelog</h1>
<p>
1.4.3 Patch:<br/>
- Swapped backgrounds, maximum size is 200kb
</p>
<p> <p>
1.4.2 Patch:<br/> 1.4.2 Patch:<br/>
- Added fediring links <br/> - Added fediring links <br/>

View file

@ -18,20 +18,10 @@
"Yeah, RIP", "Yeah, RIP",
"What a shame." "What a shame."
]; ];
var wallpapers = [
'1.gif', '3.gif', '4.gif',
'6.gif', '7.gif', '8.gif',
'9.gif', '10.gif', '12.gif',
'13.gif', '14.gif', '16.gif',
'17.gif', '18.gif', '19.gif', '20.gif',
'22.gif', '23.gif',
'1.png', '2.png', '3.png',
'5.png', '6.png'
];
//Function to set the wallpaper //Function to set the wallpaper
comfiture.setupWallpaper = function () { comfiture.setupWallpaper = function () {
let wallpaper = wallpapers[Math.floor(Math.random() * wallpapers.length)]; let wallpaper = 'a' + (Math.floor(Math.random() * 12) + 1) + '.gif';
document.querySelector('.background').style.backgroundImage = 'url("backgrounds/'+wallpaper+'")'; document.querySelector('.background').style.backgroundImage = 'url("backgrounds/'+wallpaper+'")';
}; };