newt2.jpeg
[Hide] (360.8KB, 693x438) code_block.png
[Hide] (127.1KB, 723x720) board_css.png
[Hide] (50KB, 546x482) Greetings /server/. Necro-bumping this thread but I heard you guys were the CSS pros. I'm the BO over on /agdg/ and I'm trying to improve the CSS inside of code blocks. As of right now, it seems the only difference between code blocks and normal message text is that code gets a monospace font. I'd like to change a couple of things there but have no idea how to go about it. I'd like to give code blocks a different background color from the normal post body and, I'd like to prevent the code block from being broken up by image thumbnails. See pic 1 for how it looks now ("Tomorrow" theme). Shit, right?
The board currently has three options for themes: "board specific css", "yotsuba B", and "tomorrow" (two really, since board-specific and yotsuba appear to be the same). Now, I have the option to upload custom CSS but, I'm afraid of clobbering the existing CSS without having backups of them and, I'd rather change the existing ones if possible. If someone can give me a hand with this I'd appreciate it.
Also at some point in the future I'd like to have language detection and syntax highlighting like over on sleepychan but I assume they're using a JS plugin like highlight.js or similar, and that that is something the web server root would have to install and enable.