プロジェクト

全般

プロフィール

Vote #79271

未完了

Please remove font definition from the body element.

Admin Redmine さんがほぼ2年前に追加. ほぼ2年前に更新.

ステータス:
Needs feedback
優先度:
通常
担当者:
-
カテゴリ:
UI_10
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
10
version_id:
0
issue_org_id:
28595
author_id:
345315
assigned_to_id:
0
comments:
4
status_id:
10
tracker_id:
2
plus1:
2
affected_version:
closed_on:
affected_version_id:
ステータス-->[Needs feedback]

説明

public/stylesheets/application.css

body { font-family: Verdana, sans-serif; font-size: 12px; color:#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.


journals

+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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------

Admin Redmine さんがほぼ2年前に更新

  • カテゴリUI_10 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0