Compare commits
2 Commits
8968dfc9ad
...
0a0bf0d94c
Author | SHA1 | Date | |
---|---|---|---|
0a0bf0d94c
|
|||
52838c6f71
|
BIN
src/lescrampte/assets/favicons/favicon_no-bg.ico
Normal file
BIN
src/lescrampte/assets/favicons/favicon_no-bg.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 116 KiB |
65242
src/lescrampte/css/styles.css
Normal file
65242
src/lescrampte/css/styles.css
Normal file
File diff suppressed because one or more lines are too long
@ -39,18 +39,6 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<body>
|
<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="container-item scale-team-container">
|
||||||
<div class="row mt-4">
|
<div class="row mt-4">
|
||||||
<div class="scale-section-infos col-sm-12 scale-div">
|
<div class="scale-section-infos col-sm-12 scale-div">
|
||||||
@ -89,62 +77,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<br><br><br>
|
<br><br><br>
|
||||||
</body>
|
</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>
|
</html>
|
||||||
|
Reference in New Issue
Block a user