Feature #28595
openPlease remove font definition from the body element.
0%
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.
Related issues
Updated by Ivan Verevkin almost 6 years ago
+1 for customizing that parameter
or at least make it based on screen size, I guess changing 12px => 1rem would be nice
Updated by Anonymous almost 6 years ago
+1, but not going to happen... likely not in this century... sadly.
Updated by Marius BÄ‚LTEANU almost 6 years ago
- 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.
Updated by sergio . almost 6 years ago
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.
Updated by Go MAEDA about 2 months ago
- Related to Feature #2499: Change CSS font-size units from px to rem to respect browser font settings added