Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c886558414 | ||
|
|
f8ab082614 |
@@ -3,9 +3,9 @@
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1, maximum-scale=1" />
|
||||
<!-- no maximum-scale / user-scalable=no : they would disable pinch zoom
|
||||
(and are an accessibility issue, WCAG 1.4.4) -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<!-- create "fake" favicon : https://stackoverflow.com/questions/1321878/how-to-prevent-favicon-ico-requests -->
|
||||
<link rel="icon" href="data:;base64,iVBORw0KGgo=" />
|
||||
<title>hugulumu.fr</title>
|
||||
|
||||
+6
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user