Closed andy5995 closed 1 month ago
I have done xD
the css reference is "pre"
the only thing I've not understand is how to change the background from white to (maybe) grey
the only thing I've not understand is how to change the background from white to (maybe) grey
Yes, I'm having the same problem. I'm still working on it but I think I'm about to give up for now. Thank you for helping!
Thank you for helping!
I'm the one who has to thank you, I had no idea how to solve the dark mode problem
You already thanked me when we were chatting. :)
should I merge this or you need to add something else?
I might try to figure out how to get a black background. Let's leave this sit for now.
I have solved, take a look at the site and the css file
I might try to figure out how to get a black background. Let's leave this sit for now.
I analyzed the page using Firefox and followed the details about elements to check the correct CSS name, and for the backgroung its enough to use .markdown-body
followed by the name of the element of body
, like this
hr {
height: 0.2em;
margin: 12px 0;
}
.markdown-body hr {
background-color: #2b343f;
}
.markdown-body pre {
background-color: #000;
}
pre {
color: #128418;
font-style: italic;
font-weight: bold;
}
That's brilliant!
Follow up for #19
I'm getting mixed results when testing, but this is what it should look like now: