Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paCYg-0004x7-UV for pgsql-www@arkaria.postgresql.org; Thu, 09 Mar 2023 09:27:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1paCYf-0000Kj-Ow for pgsql-www@arkaria.postgresql.org; Thu, 09 Mar 2023 09:27:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paCYf-0000Ka-Hp for pgsql-www@lists.postgresql.org; Thu, 09 Mar 2023 09:27:33 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1paCYd-0003Yu-44 for pgsql-www@lists.postgresql.org; Thu, 09 Mar 2023 09:27:32 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 908CA5C00D5; Thu, 9 Mar 2023 04:27:30 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 09 Mar 2023 04:27:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1678354050; x= 1678440450; bh=Yqi2VDD8VII4QDKZ5r5PAYYTiy8ODZqvoG4PQzmjvk8=; b=m uPz+GCzjcPFdFjTEJRHcKT1HqIItAykpX8+vvW+ZxpkDMx2O9cYvTCZZ+k+J0I1A dv0+i5xcI+ZwhzbkGlna5tKxUBk6r05/H7pic1AyC2v6svddp/GXiWF9yz3oLnIY yvlZ3zaNYYkmw1319KhL1EBUYC9GDhnc+uJGwNgWz9+qPPXhTg7fH3YUvfmZ1Ug+ QCJbbaduRkZam7p6u9tomDlGj4DEiXWae5A8fBlJbrKvgVJyh2P5vr3DNbZVmCbK B+b2FLQ3fJeai0ZvosVBCV3/EpU/3t/59b72xLCsrDDhGMWRBRFZ4XbK405z1pAe poeuB0KZnfmtf3tadcvxg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdduiedgtddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvvefukfggtggugfgjsehmke erredttdejnecuhfhrohhmpeetlhhvrghrohcujfgvrhhrvghrrgcuoegrlhhvhhgvrhhr vgesrghlvhhhrdhnohdqihhprdhorhhgqeenucggtffrrghtthgvrhhnpeduleekkefgtd dttedtkefguddvieffleetgeejiefhteehkeevfeettdduvdfhueenucffohhmrghinhep vghnthgvrhhprhhishgvuggsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhr gh X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 9 Mar 2023 04:27:30 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 7B0B69C; Thu, 9 Mar 2023 10:27:28 +0100 (CET) Date: Thu, 9 Mar 2023 10:27:28 +0100 From: Alvaro Herrera To: "Karl O. Pinc" Cc: w^3 Subject: Re: Doc: Rework contrib appendix -- informative titles, tweaked sentences Message-ID: <20230309092728.3samipw726tf3fa6@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jffuhrgohs4dd7f7" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230122144246.0ff87372@slate.karlpinc.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --jffuhrgohs4dd7f7 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hello pgsql-web, We're looking to improve the contrib docs with a list of trusted extensions. In order for that look more presentable, Karl has come up with the idea of using a table with multiple columns. That would normally look quite terrible because the cell contents are too close to one another, so he came up with the idea of increasing the padding, as shown in this patch. I think this is good thing, as it can help us use tabular in other places too. This change requires to change main Postgres doc/src/sgml/stylesheet.css as Karl suggested here: On 2023-Jan-22, Karl O. Pinc wrote: > Actually, this CSS, added to doc/src/sgml/stylesheet.css, > makes the column spacing look pretty good: > > /* Adequate spacing between columns in a simplelist non-inline table */ > table.simplelist td { padding-left: 2em; padding-right: 2em; } > > (No point in specifying table, since td only shows up in tables.) > > Note that the default simplelist type value is "vert", causing a 1 > column vertical display. There are a number of these in the > documenation. I kind of like what the above css does to these > layouts. An example would be the layout in > doc/src/sgml/html/datatype-boolean.html, which is the "Data Types" > section "Boolean Type" sub-section. ... but in addition it needs the pgweb CSS to be updated to match, as in the attached patch. What do you think? -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "The eagle never lost so much time, as when he submitted to learn of the crow." (William Blake) --jffuhrgohs4dd7f7 Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="0001-Add-padding-to-table.simplelist-for-more-readable-ou.patch" From bb4a5388cbc373789c7548a4a390e37bbab8dbec Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Thu, 9 Mar 2023 10:22:23 +0100 Subject: [PATCH] Add padding to table.simplelist for more readable output Suggested by Karl Pinc --- media/css/main.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/media/css/main.css b/media/css/main.css index 723366c9..fd082ae4 100644 --- a/media/css/main.css +++ b/media/css/main.css @@ -1169,6 +1169,12 @@ code, color: var(--doccontent-code-fg-color) !important; } +/** Simplelist */ +#docContent table.simplelist td { + padding-left: 2em; + padding-right: 2em; +} + /** * Various callout boxes for docs, including warning, caution, note, tip */ -- 2.30.2 --jffuhrgohs4dd7f7--