feat: add floating social share buttons and restore text justification

This commit is contained in:
2026-05-10 14:30:38 +02:00
parent fe7acfa927
commit 15700036e5
5 changed files with 174 additions and 39 deletions

View File

@@ -24,27 +24,37 @@ body {
-moz-osx-font-smoothing: grayscale;
font-family: var(--font-sans);
text-align: left;
hyphens: none !important;
}
* {
/* FORCE ABSOLUE SUR LE CONTENU DU BLOG
L'utilisation de l'ID #blog-content garantit que ces règles
écrasent les styles par défaut du plugin typography.
*/
#blog-content,
#blog-content *,
.prose p,
.prose li {
word-break: keep-all !important;
/* Interdit de couper les mots */
overflow-wrap: break-word !important;
/* Autorise le retour à la ligne si le mot est trop long */
hyphens: none !important;
/* Supprime les tirets de césure */
line-break: normal !important;
/* Empêche les cassures de caractères bizarres */
}
.prose {
text-align: left;
hyphens: none !important;
/* Nettoyage des titres */
h1,
h2,
h3,
h4 {
word-break: normal !important;
overflow-wrap: break-word;
overflow-wrap: break-word !important;
hyphens: none !important;
}
.prose p {
margin-bottom: 1.25em;
text-align: left;
}
h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word;
hyphens: none !important;
text-align: left;
}