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 1jPXqv-00066s-Up for pgsql-www@arkaria.postgresql.org; Fri, 17 Apr 2020 20:44:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jPXqu-0000a5-Rp for pgsql-www@arkaria.postgresql.org; Fri, 17 Apr 2020 20:44:44 +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 1jPXqu-0000Zp-M8 for pgsql-www@lists.postgresql.org; Fri, 17 Apr 2020 20:44:44 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jPXqs-0004N7-66 for pgsql-www@lists.postgresql.org; Fri, 17 Apr 2020 20:44:43 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 03HKifQN031465 for ; Fri, 17 Apr 2020 16:44:41 -0400 From: Tom Lane To: pgsql-www@lists.postgresql.org Subject: Website patch request: documentation style update MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----- =_aaaaaaaaaa0" Content-ID: <31421.1587156215.0@sss.pgh.pa.us> Date: Fri, 17 Apr 2020 16:44:41 -0400 Message-ID: <31464.1587156281@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk ------- =_aaaaaaaaaa0 Content-Type: text/plain; charset="us-ascii" Content-ID: <31421.1587156215.1@sss.pgh.pa.us> In the thread at [1], we agreed to adopt a new layout for the documentation's tables of functions/operators, which will require a "hanging indent" layout for cells within those tables. So far as I've found, there's no good way to specify that within the .sgml files proper. The preferred way to do it seems to be to attach a "role" attribute to affected tags, and then key off of that to apply the appropriate style adjustments in CSS. So I'd like to request that the website be updated more or less per the attached. It's likely that I've missed something about how best to do that --- I'm not even totally sure that main.css is the best place to put this change. So feel free to adjust as you see fit. regards, tom lane [1] https://www.postgresql.org/message-id/flat/8691.1586798003%40sss.pgh.pa.us ------- =_aaaaaaaaaa0 Content-Type: text/x-diff; name="table-style-update.patch"; charset="us-ascii" Content-ID: <31421.1587156215.2@sss.pgh.pa.us> Content-Description: table-style-update.patch Content-Transfer-Encoding: quoted-printable --- main.css.orig 2020-04-16 18:46:26.040658279 -0400 +++ main.css 2020-04-16 19:18:15.689371719 -0400 @@ -791,6 +791,20 @@ word-break: unset; } = +/* formatting for entries in tables of functions: indent all but first li= ne */ + +#docContent table.table th.functableentry { + padding-left: 5em; + text-indent: -5em; + text-align: left; +} + +#docContent table.table td.functableentry { + padding-left: 5em; + text-indent: -5em; + text-align: left; +} + /** * Titles, Navigation */ ------- =_aaaaaaaaaa0--