Bug 172097
| Summary: | WebKit blog CSS de-emphasizes <em> elements | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | James Craig <jcraig> |
| Component: | WebKit Website | Assignee: | Jon Davis <jond> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | jond |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
James Craig
WebKit blog CSS de-emphasizes <em> elements.
On the WebKit blog, <em> elements, normally italicized, are a thinner font weight than the surrounding text, and not italicized.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
James Craig
Jon, any objection to this change?
--- Websites/webkit.org/wp-content/themes/webkit/style.css (revision 216354)
+++ Websites/webkit.org/wp-content/themes/webkit/style.css (working copy)
@@ -92,7 +92,7 @@
font-weight: 700;
}
em {
- font-weight: 200;
+ font-style: italic;
}
code {
font-family: Menlo, monospace;
James Craig
We could leave the thinner font, but the emphasized text looks weird w/o italics.
Jon Davis
This is my type prejudice bleeding through. If we change the emphasis to italicize the typography, I recommend we bump the font weight up slightly above normal with font-weight: 500;. Other than that, no objection.
Jon Davis
This is no longer relevant in the refreshed design with new typeface rules.