Configuring post editors (forum/wiki) with monospaced font
Posted: Wed Mar 23, 2016 12:20 pm
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:
They should look like this:
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;
}