[wp-trac] [WordPress Trac] #34145: Revisit default font settings in wp-activate.php
WordPress Trac
noreply at wordpress.org
Sun Oct 4 20:14:01 UTC 2015
#34145: Revisit default font settings in wp-activate.php
------------------------------------+-----------------------------------
Reporter: jeremyfelt | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.4
Component: Login and Registration | Version: 3.0
Severity: normal | Keywords: has-patch ui-feedback
Focuses: multisite |
------------------------------------+-----------------------------------
In `wp-activate.php`, we have a set of default styles that have been
applied since MU.
{{{
<style type="text/css">
form { margin-top: 2em; }
#submit, #key { width: 90%; font-size: 24px; }
#language { margin-top: .5em; }
.error { background: #f66; }
span.h3 { padding: 0 8px; font-size: 1.3em; font-family: "Lucida
Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif; font-weight:
bold; color: #333; }
</style>
}}}
Most still make sense as sane defaults, though `font-family` is a bit
forceful rather than falling back to the theme's (and then browser's)
default text settings.
I think we can remove `font-family` and `color` entirely. `padding`,
`font-size`, and `font-weight` all make sense in context.
See screenshots for before/after in Twenty Fifteen.
Somewhat related: #18020, #16298, #8352.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34145>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list