You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We also need to prevent inline code from getting the border, padding, and margin from above. There's probably a cleaner way to do this, I was just playing around in the developer console. Potentially adding a class for block code samples, then you could use .code-block .source-haskell for the rules above.
I'm also not a huge fan of the inline code, the grey background plus purple font isn't super readable either. That's a relatively minor change though, something like a slightly lighter background and slightly darker font would probably do it. Even going from #F0F0F0 to #F6F6F6 is noticeable better.
The separation of the source code from the surrounding text (in terms of spacing and whitespace separatior) makes it difficult to read.
Current Formatting
Proposed Formatting
CSS Changes
Adding the following rules to
.source-haskell
:.source-haskell .st0
Remove
background #ddd
, changecolor: #363
We also need to prevent inline code from getting the border, padding, and margin from above. There's probably a cleaner way to do this, I was just playing around in the developer console. Potentially adding a class for block code samples, then you could use
.code-block .source-haskell
for the rules above.The text was updated successfully, but these errors were encountered: