Re: com web/php: Removed bold style on em; this is mostly important for the wiki, but always making 'italic' also bold is overwhelming.:
styles/site.css

From: Date: Wed, 23 Oct 2013 22:37:07 +0000
Subject: Re: com web/php: Removed bold style on em; this is mostly important for the wiki, but always making 'italic' also bold is overwhelming.:
styles/site.css
References: 1 2 3  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-16913@lists.php.net to get a copy of this message
On Wed, Oct 23, 2013 at 3:15 PM, Levi Morrison <morrison.levi@gmail.com> wrote: > > On Wed, Oct 23, 2013 at 2:06 PM, Hannes Magnusson > <hannes.magnusson@gmail.com> wrote: >> >> On Wed, Oct 23, 2013 at 8:16 AM, Levi Morrison <levim@php.net> wrote: >> > Commit: c036828cbd87a5977810c9cd4e099e91e6e14cd8 >> > Author: Levi Morrison <levim@php.net> Wed, 23 Oct 2013 >> > 09:16:41 -0600 >> > Parents: 586bfaf0b8c04a77f4f72ee49b9f85dbb8217554 >> > Branches: master >> > >> > Link: >> > >> > http://git.php.net/?p=web/php.git;a=commitdiff;h=c036828cbd87a5977810c9cd4e099e91e6e14cd8 >> > >> > Log: >> > Removed bold style on em; this is mostly important for the wiki, but >> > always making 'italic' also bold is overwhelming. >> > >> > Changed paths: >> > M styles/site.css >> > >> > >> > Diff: >> > diff --git a/styles/site.css b/styles/site.css >> > index e5351ea..b4a7373 100644 >> > --- a/styles/site.css >> > +++ b/styles/site.css >> > @@ -197,7 +197,6 @@ ul li { >> > } >> > >> > em { >> > - font-weight: bold; >> > font-style: italic; >> > } >> > >> >> >> Since docbook is extremely semantical, it misses to differentiate >> italic rendering and bold. >> There is however an option (role="bold") that can be used, defeating >> the purpose of the semantics, and not used at all (until mysqlnd* >> started using it outof the blue for unknown reason, probably edited in >> a docbook editor?) - which is why it was never implemented. >> >> The rendering expectations is italic and/or bold[1]. We have always >> done the "and" as it has been used in ways a "heading" would be >> expected. The example you posted is excellent example of that, where a >> more semantically meaning markup may have been more useful :/ >> >> I think we still need it in tables, at the very least, due to our abuse of >> it. >> >> -Hannes >> >> [1] Formatted inline. Emphasized text is traditionally presented in >> italics or boldface. A role attribute of bold or strong is often used >> to generate boldface, if italics is the default presentation. > > > Traditionally, bold text is used very rarely in body content because of how > much it stands out. Bold text is used to highlight headings and things like > pull-quotes; italic text is used to emphasize content in the body. In HTML > this would translate as headings being bold and emphasis in body content > (<em>) would be italic. This is why the default style for em in browsers is > italic but not bold, and headers are bold but not italic. > > I think the best option for now is to revert my change until I can deal with > the effects in the documentation since we've relied on the bold behavior so > much. Anyone know where the best place to put a wiki-specific style is? > .dokuwiki em {..} ? -Hannes

« previous php.webmaster (#16913) next »