hub-docs icon indicating copy to clipboard operation
hub-docs copied to clipboard

Different background color for markdown inline <code> blocks

Open josephrocca opened this issue 3 years ago • 2 comments

Here's what `code` blocks currently look like in README files:

image

I think something like this is much more readable:

image

In that example I've just added these 3 lines to the .prose code CSS block:

background-color: #e6e6e6;
border-radius: 2px;
padding: 0.05rem 0.2rem;

josephrocca avatar Mar 13 '22 05:03 josephrocca

WDYT @gary149?

julien-c avatar Mar 13 '22 12:03 julien-c

I agree this is more readable 👍 . The background is a bit too dark but that's fine-tuning. @mishig25 can probably take a look at this (we need to be careful with the CSS cascading to not break anything).

gary149 avatar Mar 14 '22 23:03 gary149

This have been fixed now

krampstudio avatar Jul 24 '24 14:07 krampstudio