Page MenuHomePhabricator

Remove bottom margin from <dt> in Monobook
Closed, DeclinedPublic

Description

Author: davidkernow

Description:
I've noticed (on the English Wikipedia) that the line-spacing between the header
and body in the semicolon-colon formatting syntax, i.e.:

; Bold header : Plain body

...is slightly larger than the line-spacing used for the rest of the page; also
that a blank line before the syntax, e.g.

this is the end of a paragraph, or bulleted list, or...

; header : body

...appears to be ignored, i.e. the above produces:

this is the end of a paragraph, or bulleted list, or...
[Bold header]

[body]

Could these two behaviors be amended please, i.e. the line-spacing made regular
and the blank line observed...?

If this is a browser rendering issue, I'm using Firefox 2.0.0.1 on Windows XP.

Thanks, David.


Version: unspecified
Severity: enhancement

Details

Reference
bz8519

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 9:35 PM
bzimport set Reference to bz8519.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

This is evidently a deliberate stylistic preference by Gabriel Wicke or whoever
(main.css line 161). You can change it for yourself by adding the following to
[[Special:Mypage/monobook.css]], or for a wiki by adding it to
[[MediaWiki:Monobook.css]]:

dt { margin-bottom: 0; }

I'm not willing to change this globally.

davidkernow wrote:

(In reply to comment #1)
Thanks for this information, Simetrical; I've just added it to my English
Wikipedia monobook.css via the link you supplied and will look out for the
difference it makes.

Meanwhile, since I see the unmodified version producing non-standard spacings in
English Wikipedia articles (e.g. those on countries), is there someone/somewhere
that might consider a global change?

Thanks, David.

ayg wrote:

Link to specific pages (using "permanent link" in the lower left) so they can be
looked at.