gb-opcodes icon indicating copy to clipboard operation
gb-opcodes copied to clipboard

Increase the font weight of the opcode table

Open Rangi42 opened this issue 4 years ago • 7 comments

The table cells are almost too faint to read on my screen. Applying .opcode-info { font-weight: 600; } fixes this without making cells wider or text larger.

Current font (in Chrome on Windows) on the left; my edit on the right:

image

Rangi42 avatar Mar 03 '21 20:03 Rangi42

Just to throw another opinion in, I think this is not the right solution. A weight of 600 makes it less readable on my screen imo imageimage

mattrberry avatar Mar 04 '21 05:03 mattrberry

500 would be good enough for me; is that readable for you?

Rangi42 avatar Mar 04 '21 05:03 Rangi42

Funny, 500 vs 400 are completely identical in my browser :thinking: Chrome 88.0 Linux. Do you think font-weight is the correct solution here, or rather the font-size or the font itself?

mattrberry avatar Mar 04 '21 05:03 mattrberry

Some combination of the font family, size, and weight should be an improvement. For what it's worth, the older pastraiser.com table uses 8pt "monospace", defaulting to 500-weight Consolas for me, which is fine to read.

Rangi42 avatar Mar 04 '21 13:03 Rangi42

I'd switch to monospace, too

avivace avatar Apr 16 '21 09:04 avivace

I agree with monospace, but I would make the font a bit larger, and/or increase the cells' padding slightly.

ISSOtm avatar Apr 16 '21 09:04 ISSOtm

As long as it doesn't scroll horizontally on a 1280px-wide screen/window.

Rangi42 avatar Apr 16 '21 13:04 Rangi42