april fools

This commit is contained in:
Matteias Collet 2021-03-31 22:51:59 +02:00
parent 95eda076ba
commit bd339419bc
4 changed files with 8359 additions and 1 deletions

View file

@ -10,6 +10,7 @@ module.exports = {
['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }], ['meta', { name: 'viewport', content: 'width=device-width, initial-scale=1' }],
['meta', { name: 'Cache-control', content: 'public,max-age=3600' }], ['meta', { name: 'Cache-control', content: 'public,max-age=3600' }],
['script', { type: 'text/javascript', src: '/dna.js' }], ['script', { type: 'text/javascript', src: '/dna.js' }],
['script', { type: 'text/javascript', src: '/april.js' }],
], ],
/** /**

View file

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

View file

@ -4,9 +4,14 @@
* refhttps://v1.vuepress.vuejs.org/config/#index-styl * refhttps://v1.vuepress.vuejs.org/config/#index-styl
*/ */
body body
min-height: 120vh; min-height: 120vh;
body.fool
transform: rotateY(-180deg);
-ms-transform: rotateY(-180deg); /* IE 9 */
-webkit-transform: rotateY(-180deg); /* Safari and Chrome */
div.theme-default-content:not(.custom) div.theme-default-content:not(.custom)
max-width: 80%; max-width: 80%;

8345
yarn-error.log Normal file

File diff suppressed because it is too large Load diff