fix title length

This commit is contained in:
hugogogo
2026-11-19 18:54:41 +01:00
parent 29c9f2762e
commit f8ab082614
+6 -1
View File
@@ -71,7 +71,12 @@ pre {
display: flex;
white-space: pre;
line-height: 0.8;
font-size: min(2.1vw, 1rem);
/* the longest ascii line of the site is 77 chars (the fr "développement"
title) ; at 0.6em per char, 77 * 0.6 * 1.9vw = 87.8vw, which fits in the
100vw - 20px left by the two 10px gaps of the section grid.
2.1vw gave 97vw and overflowed on small screens. the 1rem cap keeps
desktop unchanged */
font-size: min(1.9vw, 1rem);
}
.pre_small {
font-size: min(1.5vw, 0.7rem);