gbdev / gb-opcodes

https://gbdev.io/gb-opcodes/optables/
Creative Commons Zero v1.0 Universal
24 stars 10 forks source link

Increase the font weight of the opcode table #18

Open Rangi42 opened 3 years ago

Rangi42 commented 3 years ago

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

mattrberry commented 3 years ago

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

Rangi42 commented 3 years ago

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

mattrberry commented 3 years ago

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?

Rangi42 commented 3 years ago

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.

avivace commented 3 years ago

I'd switch to monospace, too

ISSOtm commented 3 years ago

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

Rangi42 commented 3 years ago

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