favicon, script nbsp, pages login..., fix header logged in, équipes portrait, clean blob mask index projets

This commit is contained in:
Valentin
2024-11-07 20:34:00 +01:00
parent 9cd6627bfa
commit 6db99742c4
15 changed files with 362 additions and 75 deletions

View File

@@ -290,6 +290,21 @@
}
}
//
// set non breaking spaces
//
document.querySelectorAll('p, li, h1, h2, h3, h4, h5, h6').forEach((content) => {
content.innerHTML = content.innerHTML.replaceAll(' ;', ' ');
content.innerHTML = content.innerHTML.replaceAll(' :', ' ');
content.innerHTML = content.innerHTML.replaceAll(' ?', ' ');
content.innerHTML = content.innerHTML.replaceAll(' !', ' ');
content.innerHTML = content.innerHTML.replaceAll('« ', '« ');
content.innerHTML = content.innerHTML.replaceAll(' »', ' »');
content.innerHTML = content.innerHTML.replaceAll('(« ', '(« ');
content.innerHTML = content.innerHTML.replaceAll(' »)', ' »)');
});
//
// index projets random shape
//