Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 4341B63346A; Mon, 23 Aug 2010 11:33:28 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 41341-03; Mon, 23 Aug 2010 14:33:15 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id DB6A7634178; Mon, 23 Aug 2010 11:33:16 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id o7NEXDcP020503; Mon, 23 Aug 2010 10:33:13 -0400 (EDT) To: Thom Brown cc: pgsql-docs , pgsql-www@postgresql.org Subject: Re: [DOCS] Example indenting In-reply-to: References: <19595.1282570992@sss.pgh.pa.us> Comments: In-reply-to Thom Brown message dated "Mon, 23 Aug 2010 14:57:11 +0100" Date: Mon, 23 Aug 2010 10:33:13 -0400 Message-ID: <20502.1282573993@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201008/141 X-Sequence-Number: 19057 Thom Brown writes: > On 23 August 2010 14:43, Tom Lane wrote: >> Hm, both pages render acceptably for me in Safari --- it's true that the >> examples aren't inset relative to the text on the main-docs site, but >> I don't see anything "messed up" beyond that.  What browser are you >> using?  Could you post a screenshot of what you see? > By "mess" I mean examples aren't sufficiently distinct from paragraph > text. There's nothing actually malformed. It's more of a styling > issue from my perspective. Ah, I see. It looks like you are using a monospaced font that is visually very similar to your regular text font, and so with neither a font difference or insetting, there's indeed not a lot to distinguish example from text. On my display the two fonts are a bit more visually distinct so it's more readable. (Checks preferences ... I've got Safari set to Times 16 for "standard font" and Courier 13 for "fixed-width font", though I'm not sure whether the PG docs pages make use of those selections.) Anyway, that was a red herring, and the question remains why the examples are rendered without insetting on the main docs pages. Was that intentional? I can see that it might be because the text is already inset from the window edge more than it is on the devel site, and so insetting the examples even more might result in page width problems. Maybe the problem is not so much that we want to indent the examples more as that the text needs to be indented less. regards, tom lane