Feature #28595
open
Please remove font definition from the body element.
Added by sergio . over 6 years ago.
Updated almost 6 years ago.
Description
public/stylesheets/application.css
body { font-family: Verdana, sans-serif; font-size: 12px; #333; margin: 0; padding: 0; min-width: 900px; }
It's really bad idea to redefine default user font size and family. You can define any font (menu, footer, anywhere), but the main one should be user defined.
+1 for customizing that parameter
or at least make it based on screen size, I guess changing 12px => 1rem would be nice
+1, but not going to happen... likely not in this century... sadly.
- Tracker changed from Defect to Feature
- Status changed from New to Needs feedback
Why is bad to define font size and family in body element? I'm asking because I would like to understand the reasons and honestly, is the first time when I hear this.
Default font is a user setting, that user can define in browser settings.
My choice is 20px DejaVu. It's comfortable for me. And you say: "NO! you will break you eyes on my 12px verdana and will not be able to change it!"
It's ok to set font (with size) for menus, headings, footer anything else, except the main text that user need to read a lot of.
- Related to Feature #2499: Change CSS font-size units from px to rem to respect browser font settings added
Also available in: Atom
PDF