add yoshi

This commit is contained in:
Matteias Collet 2021-03-31 23:59:19 +02:00
parent 34edadcbb7
commit 938ea38a4e
4 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,7 @@
window.addEventListener('DOMContentLoaded', () => {
const now = new Date();
if (now.getMonth() === 3 && now.getDate() === 1) {
if (now.getMonth() === 2 && now.getDate() === 31) {
document.body.classList.add('fool');
}
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -11,6 +11,10 @@ body.fool
transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg); /* IE 9 */
-webkit-transform: rotateY(-180deg); /* Safari and Chrome */
&, & *
cursor: url('/img/yoshi.png'), auto !important
&:hover:active, & *:hover:active
cursor: url('/img/yoshi_l.png'), auto !important
div.theme-default-content:not(.custom)
max-width: 80%;