Compare commits

...

2 Commits

Author SHA1 Message Date
0a0bf0d94c 🗑️」 clean: cleaned project. 2025-10-12 19:49:51 +02:00
52838c6f71 🔨」 fix: fixed some things. 2025-10-12 19:49:23 +02:00
3 changed files with 65242 additions and 70 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 KiB

65242
src/lescrampte/css/styles.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -39,18 +39,6 @@
</style>
<body>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('./js/service-worker.js')
.then(function(registration) {
console.log('Service Worker registered successfully:', registration);
})
.catch(function(error) {
console.log('Service Worker registration failed:', error);
});
}
</script>
<div class="container-item scale-team-container">
<div class="row mt-4">
<div class="scale-section-infos col-sm-12 scale-div">
@ -89,62 +77,4 @@
</div>
<br><br><br>
</body>
<script>
function showCPPModal(event) {
event.preventDefault();
var modal = document.getElementById("CPPModal");
modal.style.display = "block";
modal.animate([
{ opacity: 0 },
{ opacity: 1 }
], {
duration: 100,
});
var span = document.getElementsByClassName("close")[0];
span.onclick = function () {
modal.animate([
{ opacity: 1 },
{ opacity: 0 }
], {
duration: 100,
}).onfinish = function () {
modal.style.display = "none";
}
}
window.onclick = function (event) {
if (event.target == modal) {
modal.animate([
{ opacity: 1 },
{ opacity: 0 }
], {
duration: 100,
}).onfinish = function () {
modal.style.display = "none";
}
}
}
document.onkeydown = function (evt) {
evt = evt || window.event;
if (evt.key === "Escape" || evt.key === "Esc") {
modal.animate([
{ opacity: 1 },
{ opacity: 0 }
], {
duration: 100,
}).onfinish = function () {
modal.style.display = "none";
}
}
};
}
</script>
<script src="js/script.js"></script>
</html>