Project

General

Profile

Actions

Feature #28595

open

Please remove font definition from the body element.

Added by sergio . almost 6 years ago. Updated over 5 years ago.

Status:
Needs feedback
Priority:
Normal
Assignee:
-
Category:
UI
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:

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.

Actions #1

Updated by Ivan Verevkin over 5 years ago

+1 for customizing that parameter

or at least make it based on screen size, I guess changing 12px => 1rem would be nice

Actions #2

Updated by Anonymous over 5 years ago

+1, but not going to happen... likely not in this century... sadly.

Actions #3

Updated by Marius BÄ‚LTEANU over 5 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.

Actions #4

Updated by sergio . over 5 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.

Actions

Also available in: Atom PDF