Fossil SCM
Default CSS style has "wrong" font-family.
Fixed
aba72eaa589a69b…
· opened 16 years, 6 months ago
- Type
- Feature_Request
- Priority
- —
- Severity
- Cosmetic
- Resolution
- Fixed
- Subsystem
- —
- Created
- Oct. 11, 2009 7:01 p.m.
Default CSS style has font family defined as follows:
font-family: "sans serif";
While "sans serif" is an actual name of font in some Linux installations, this doesn't work for e.g. Safari on Mac -- it falls back to the default serif font (Times New Roman).
The proper way to define a generic sans-serif font in CSS, according to CSS specs [http://www.w3.org/TR/CSS21/fonts.html#sans-serif-def] is this:
font-family: sans-serif;
Note the dash and absence of quotes (from specs: Generic font family names are keywords and must NOT be quoted).
drh added on 2009-10-11 19:49:45:
Check-in [adb155b6d490a9ee3f97201cfa5911bbe8908801]