Conversation
Currently we have about 110+ characters per line; broadly accepted norms for readability are 55-65. This takes it to about 85.
|
I tested this out and the rule on pre.text, pre.text2 {
width: 100%;
width: calc(100% - 3.5em - 2px);
}That would allow for the extra margin, border, and padding on the element. |
|
The purpose here is that the width reflects what can go inside artwork, not to scale it according to the page width. After all, we're not breaking lines here. I'm not happy with what I have here as the width computation is excessive; but something like that will need to stay. |
|
So with the font size you have, 69em is way too much space. Assuming 72 characters is your goal, you can go down to 44em or 625px (though slightly more is better). See http://fellowhuman.com/blog/2015/06/09/monospaced-fonts-and-column-units/ for more info on what an em is. |
royfielding
left a comment
There was a problem hiding this comment.
I don't really have an opinion unless it causes a weird line-wrap in examples.
|
@martinthomson - thanks for the link; will have a look. It seems I can simply switch to "69ch" (ignoring IE compat). What do you think? |
reschke
left a comment
There was a problem hiding this comment.
I disagree, but I won't stand in your way :-)
|
@martinthomson you want to make some modifications? |
|
It appears as though Julian has fixed the pre.text rule in the main stylesheet, which is what would be needed. So this should be good to go. |
httpwg/http-core#343 • Adjust multiple Content-Length handling httpwg/http-core#346 • Rework invalidation definition • Roy's suggestions • grammar httpwg/http-core#353 • Make text body narrower for readability httpwg/http-core#354 • Remove H1-specific connection-related requirements • Roy's feedback httpwg/http-core#316 • map request target to target URI/resource • fix one leftover of "effective request URI" • Adjust anchor names • push note into <aside> and move index entry • sort change log • restore indentation • re-add missing closing brackets • fix change log section title • fix change log • remove semantics HTML too • removing HTML from PR httpwg/http-core#344 • Don't rely on the HTTP/1.1 Messaging specification to define "message" httpwg/http-core#357 • Present If-[none]-Match evaluation more clearly httpwg/http-core#72 • Semantics of If-Match httpwg/http-core#345 • remove ref to close option • remove HTML from PR
Currently we have about 110+ characters per line;
broadly accepted norms for readability are 55-65.
This takes it to about 85.