Skip to content

Commit

Permalink
Update 404.html
Browse files Browse the repository at this point in the history
  • Loading branch information
fl2on authored Jan 11, 2024
1 parent cfb301c commit 90c5c3e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
text-align: center;
z-index: 1;
position: relative;
padding: 2em; /* Ajusta según sea necesario */
padding: 2em;
}

h1, p {
Expand Down Expand Up @@ -73,9 +73,7 @@ <h1 id="pageTitle" class="text-4xl font-bold mb-4">Sorry</h1>
document.addEventListener('DOMContentLoaded', function () {
const currentYear = new Date().getFullYear();
document.title = `PixelCorder | Copyright © ${currentYear} Qzxtu`;

// Ajustar dinámicamente el tamaño del texto
const scaleFactor = window.innerWidth / 1920; // 1920 es el ancho deseado sin zoom
const scaleFactor = window.innerWidth / 1920;
document.getElementById('pageTitle').style.fontSize = `${4 * scaleFactor}em`;
document.getElementById('pageDescription').style.fontSize = `${1.5 * scaleFactor}em`;
});
Expand Down

0 comments on commit 90c5c3e

Please sign in to comment.