[aur-dev] [PATCH] Use sans serif in textareas

Hugo Osvaldo Barrera hugo at barrera.io
Fri Jul 10 00:23:22 UTC 2015



On Thu, Jul 9, 2015, at 20:22, Marcel Korpel wrote:
> The whole site uses sans serif as the default font. Textareas,
> especially those for inputting comments, should use the same font
> instead of (default) monospace (except the SSH Public Key field).
> 
> Signed-off-by: Marcel Korpel <marcel.korpel at gmail.com>
> ---
>  web/html/css/aurweb.css | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/web/html/css/aurweb.css b/web/html/css/aurweb.css
> index adc02bb..7444ff6 100644
> --- a/web/html/css/aurweb.css
> +++ b/web/html/css/aurweb.css
> @@ -129,3 +129,11 @@ label.confirmation,
>  #merge-into {
>  	width: auto;
>  }
> +
> +textarea {
> +       font: 100% sans-serif;
> +}
> +
> +#id_ssh {
> +       font: 120% monospace;
> +}
> -- 
> 2.4.5

I've seen lots of short code snippets pasted into the comments. I think
keeping the monospaced font there makes sense too (I'd even argue that
comments would better of be displayed monospaced too).


-- 
Hugo Osvaldo Barrera


More information about the aur-dev mailing list