Page 1 of 1

Configuring post editors (forum/wiki) with monospaced font

Posted: Wed Mar 23, 2016 12:20 pm
by ~
After many posts with inline code, it starts to feel difficult to format well the code with the current default fonts unsuitable for formatting code without having to paste it in a Notepad program (Lucida Grande, Verdana, Helvetica, Arial, sans-serif aren't so good to write code).

This file would need to be changed:
http://f.osdev.org/styles/MegaTokyo/the ... esheet.css


These lines should be modified with a different font:

Code: Select all

textarea {
	background-color: #074796; /* #FAFAFA; */
	color: white; /* #333333; */
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px;
}


They should look like this:

Code: Select all

textarea {
	background-color: #074796; /* #FAFAFA; */
	color: white; /* #333333; */
	font-family: "Courier New", Courier, Monospace;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #A9B8C2;
	padding: 2px;
}


Re: Configuring post editors (forum/wiki) with monospaced fo

Posted: Thu Mar 24, 2016 5:35 am
by glauxosdever
Hi,


Ignoring your previous attitude when posting, I agree with your statement here.


Regards,
glauxosdever

Re: Configuring post editors (forum/wiki) with monospaced fo

Posted: Thu Mar 24, 2016 10:14 am
by Kazinsal
You can use an extension like Greasemonkey on Firefox or Tampermonkey in Chrome and other Webkit-based browsers for custom CSS overrides.

Re: Configuring post editors (forum/wiki) with monospaced fo

Posted: Wed Apr 06, 2016 2:18 pm
by onlyonemac
I remember that one Linux system that I once had came with an extension called "Stylish" pre-installed in Firefox. I never tried it but it seemed to be designed specifically for this kind of thing and people said that it was quite good.