Merge pull request #287 from YunoHost/magikarp

Magikarp ftw!
This commit is contained in:
Alexandre Aubin 2020-04-01 00:52:21 +02:00 committed by GitHub
commit 79301a8083
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 0 deletions

View file

@ -388,6 +388,12 @@ div.br {
z-index: 2000; z-index: 2000;
} }
.magikarp {
.loader{
background: rgba(255, 255, 255, 0.5) url(../img/magikarp.gif) center 15% no-repeat;
}
}
.with-nyancat { .with-nyancat {
.loader{ .loader{
background: rgba(255, 255, 255, 0.5) url(../img/nyancat.gif) center 15% no-repeat; background: rgba(255, 255, 255, 0.5) url(../img/nyancat.gif) center 15% no-repeat;

BIN
src/img/magikarp.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

View file

@ -238,6 +238,13 @@
$(document).ready(function () { $(document).ready(function () {
// Run Sammy.js application // Run Sammy.js application
app.run('#/'); app.run('#/');
// April fools easter egg ;)
var today = new Date();
if ((today.getDate() == 1) && (today.getMonth()+1 == 4))
{
$('#main').addClass("magikarp");
}
}); });
})(); })();