Page 1 of 2
Change font on code blocks used in messages????
Posted: Fri Apr 12, 2019 7:19 pm
by Anonymous
Would you please consider changing this font used to display raw code samples here on the website? I find it hard to read for several reasons...
It is a pretty large font and it often requires wrapping to fit each line in the web browse, and it is in
italics, which is *never* how we see real code, and it is
bold which is never how we see real code.
I think a mono spaced font, without bold, and bout 1 size smaller would be much better.
I think this:
- 2019-04-12_14-17-36.png (8.96 KiB) Viewed 508 times
Looks better than this:
- 2019-04-12_14-17-22.png (11.22 KiB) Viewed 508 times
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 9:42 am
by robert
Matt,
I have changed the style.
- no longer italic
- smaller font
- line height has been reduced.
Does it look better now ?
Code: Select all
Function Start as Void
? "Does This Look Better Now ?"
Return
Robert
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 11:03 am
by Chris
I think it is indeed better now!
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 12:38 pm
by lumberjack
I second that!
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 1:19 pm
by FFF
Yes. Now only reducing the tab width is left...
Ah, could the left column with avatar/name be changed to a "top line" ? A lot of screen estate occupied for no real gain...
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 3:28 pm
by FoxProMatt
Robert - much better.
Thanks
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 4:14 pm
by robert
Karl,
I can send you the CSS. Then you can figure out how to change that <g>.
Robert
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 4:31 pm
by FFF
Robert,
now, the tab width should be doable.
Changing the layout, ahem, is harder
.
Thought, there might be another theme available...
Karl
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 4:32 pm
by robert
Karl,
There IS no tab width in web pages afaik.
If you see a wide tab then the author has inserted many spaces
Robert
Change font on code blocks used in messages????
Posted: Sat Apr 13, 2019 4:43 pm
by FFF
Oh - just realized, Matt showed screenshots, not real code. Sorry....
Karl