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 1jTwY5-0005Ar-Do for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Apr 2020 23:55:29 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jTwY3-0001Oz-Qn for pgsql-hackers@arkaria.postgresql.org; Wed, 29 Apr 2020 23:55:27 +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 1jTwY3-0001MN-F6 for pgsql-hackers@lists.postgresql.org; Wed, 29 Apr 2020 23:55:27 +0000 Received: from meldrar.postgresql.org ([2a02:c0:301:0:ffff::31]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jTwXz-0006pu-NJ for pgsql-hackers@lists.postgresql.org; Wed, 29 Apr 2020 23:55:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Content-Type:In-Reply-To:MIME-Version:Date: Message-ID:References:Cc:To:From:Subject:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=PV0r84yFFcfxnpDAN246TBqaHWFrzfHMOoUL7InVH8M=; b=4U+keK8hB7GtTRDWWC3e+YqoPE JPB+IFE5VFM97FRZofSHKt9IWsjENHWEavS89OLBTTKEgN+JNfeE5MzJGZ9Glro8GKwq1kdybBGlU X9tG98puHm4fC2bJWOFCGkSydmpgP2MBMZgxLxiHDpvj1hcsEr9CHj2Tl0MMu6LNOy6G1sF9x3OqQ JjBA+8e+O7XpHMbgo+TApwyFFjS05uRpepud/dJAW6S/JuItRclFEq85tGjAv0L3e4cxcf+3PBps6 MhhG2B4wm85YKZjT+MGVFufga+JmQSBkhOUtVOZ8JiUh/8d66WvoasTKy/KWB8cv01bSDzQmp67kG v6NSTS2g==; Received: from pool-173-56-10-231.nycmny.fios.verizon.net ([173.56.10.231] helo=Ph33rHippo.local) by meldrar.postgresql.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jTwXv-00089Z-LX; Wed, 29 Apr 2020 23:55:22 +0000 Subject: Re: Poll: are people okay with function/operator table redesign? From: "Jonathan S. Katz" To: Tom Lane Cc: Peter Eisentraut , Bruce Momjian , Alvaro Herrera , Robert Haas , Steven Pousty , Pavel Stehule , Isaac Morland , Pierre Giraud , PostgreSQL Developers References: <20200423174343.GA16996@alvherre.pgsql> <19233.1587665407@sss.pgh.pa.us> <5561.1587922854@sss.pgh.pa.us> <13e5e408-bc59-e8ca-44f3-28a981b4fc7d@postgresql.org> <11211.1587951842@sss.pgh.pa.us> <58de9544-be5b-f325-b5cc-cce4e2dda7d9@postgresql.org> <5651.1587991781@sss.pgh.pa.us> <30469.1588087170@sss.pgh.pa.us> <8682.1588202983@sss.pgh.pa.us> <4894cde4-148d-f0cc-d6d8-182a46f13e1b@postgresql.org> Autocrypt: addr=jkatz@postgresql.org; keydata= mQINBFtShwABEAC7PNHDUOTYuifpUCk23KqfxdQQkn4nkoxOXRK0+rAj36FiwqGB4TJFuOVZ sDFAEiSlC8Jt4y5Cs7B5tetT8JNd2cs6zp/udMJJDz9d65O9PDpdlMgAmIiTzpLlSdx8FG56 DTksaDv1d8j3cTJPSE4/fWSxqzA7o3Y9UuL7atZPrzfImgpRKs0of7elIHwOa8GucjyhYqcR h60wFBJc2KXqQdDYRTZy43DSnY/0VNc0omiH355fustvpm+m5HjD3w7qZyfN3fpKJpnX1LCF f3MnPHaDGITIYGRCBXvf0UqUtD6OEVWPv2C2gyqWMIpWmZTOgDufltKyIByKBoS9x0PlFkij 04X3KODCngt+N8Ssc9OICc6QSxhjoP48PYPdmiTmkrGuf0LX084wj1xeo1NX7Xx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9fuBoE43NMYf+dnjMK nerAQYUcZWYMnk+EC8RaqYAxv6XZ2tKx1AkGGktwkQIBwrz9IlDSvJ3LWJ2UIIuLRTdngNgg GIL4zzuUa2F56FqskQIuYMaNETk6LYfalBDQ6TVLAcgCPQxp4k4i/PRsZ3lZ2ZhRHRYciOvm kp+I6EfHwllQpYrWs1thluBGqlJSVJgKl0IOFvKLsQ6KKfqzAwh6FxrO5qajp4viNIgtWoFw O5Bp0jgFTbH2OrMWIRfUdUCH1Djbuo65svhNj7FNsQVYzHDI+Nd1I/LOBoPc3UorRMF2M4JV kUR7skOHWUbPTSNUr7qc14NSMY3PKjGeVGAsBVHBPvmRx/Ss2tW/TpJWpxg4pmquFQSXuaYh Yf4FN8Sxy320pcr+FqN8AhZkYJcNY82OTtR5VEKRC/mYcyq61qXIKqngydn79bJjGxHipxyF FmEC Message-ID: <06f6b32d-a4cc-3723-5bc1-00fa674df961@postgresql.org> Date: Wed, 29 Apr 2020 19:55:16 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <4894cde4-148d-f0cc-d6d8-182a46f13e1b@postgresql.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mQkWuNIe7ylFCHwFqeRPDAc2Bc0kC0qmH" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --mQkWuNIe7ylFCHwFqeRPDAc2Bc0kC0qmH Content-Type: multipart/mixed; boundary="l5nZxdYi8b4eV1jsMZ8Ho2rbuU1SLxJAG" --l5nZxdYi8b4eV1jsMZ8Ho2rbuU1SLxJAG Content-Type: multipart/mixed; boundary="------------6549B7CE6286C055AD794976" Content-Language: en-US This is a multi-part message in MIME format. --------------6549B7CE6286C055AD794976 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 4/29/20 7:40 PM, Jonathan S. Katz wrote: > On 4/29/20 7:29 PM, Tom Lane wrote: >> After further fooling with this issue, I've determined that >> >> (1) I need to be able to use environments within the >> func_table_entry cells and have them render more-or-less normally. >> There doesn't seem to be any other good way to render multiline >> example results for set-returning functions ... but marking such >> environments up to the extent that the website style normally does >> is very distracting. >> >> (2) I found that adding !important to the func_table_entry rules >> is enough to override less-general !important rules. So it'd be >> possible to leave all the existing CSS rules alone, if that makes >> you feel more comfortable. >> >> The attached updated patch reflects both of these conclusions. >> We could take out some of the !important annotations here if >> you're willing to delete !important annotations in more-global >> rules for

and/or

, but maybe that's something to fool
>> with later.  I'd like to get this done sooner ...
>=20
> My preference would be to figure out the CSS rules that are causing you=

> to rely on !important at the table level and just fix that up, rather
> than hacking in too many !important.
>=20
> I'll compromise on the temporary importants, but first I want to see
> what's causing the need for it. Do you have a suggestion on a page to t=
est?

=46rom real quick I got it to here. With the latest copy of the doc build=
s
it appears to still work as expected, but I need a section with the new
"pre" block to test.

I think the "background-color: inherit !important" is a bit odd, and
would like to trace that one down a bit more, but I did not see anything
obvious on my glance through it.

How does it look on your end?

Jonathan

--------------6549B7CE6286C055AD794976
Content-Type: text/plain; charset=UTF-8; x-mac-type="0"; x-mac-creator="0";
 name="website-style-v3.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
 filename="website-style-v3.patch"

diff --git a/media/css/main.css b/media/css/main.css
index 08ca255..db2670a 100644
--- a/media/css/main.css
+++ b/media/css/main.css
@@ -625,7 +625,7 @@ ul.actions {
 }
=20
 #docContent p {
-  margin-bottom: 1rem !important;
+  margin-bottom: 1rem;
 }
=20
 #docContent hr {
@@ -648,7 +648,7 @@ ul.actions {
 }
=20
 #docContent pre {
-  padding: 0.8rem !important;
+  padding: 0.8rem;
 }
=20
 pre,
@@ -799,6 +799,27 @@ code,
 	text-align: left;
 }
=20
+#docContent table.table th.func_table_entry p,
+#docContent table.table td.func_table_entry p {
+  margin-top: 0.1em;
+  margin-bottom: 0.1em;
+  padding-left: 4em;
+  text-align: left;
+}
+
+#docContent table.table p.func_signature {
+  text-indent: -3.5em;
+}
+
+#docContent table.table td.func_table_entry pre.programlisting {
+  background-color: inherit !important;
+  border: 0;
+  margin-bottom: 0.1em;
+  margin-top: 0.1em;
+  padding: 0;
+  padding-left: 4em;
+}
+
 /**
  * Titles, Navigation
  */

--------------6549B7CE6286C055AD794976--

--l5nZxdYi8b4eV1jsMZ8Ho2rbuU1SLxJAG--

--mQkWuNIe7ylFCHwFqeRPDAc2Bc0kC0qmH
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE+oS2la8r95ogZD/x8QSccp8cZScFAl6qE+QACgkQ8QSccp8c
ZSerIg//b6MzeWLiP5eY8dObdQrWCGKqmJmwNzLHjSZhoivEepkfHiZ5QXa/Ixt0
wQo9hWn9pkyvIehQkLa1YhDnPlJaUytzxRChoohUiFPHLlPB3mwMiNH2Dpvlw9os
F0bKRM77WIr/3kvc3pK9b33CNi3LLZxMUYDVFexa7e4tx6uxsg4ZU4nUsMV28/7C
YphXQdbMIikV19CloUIVZulVHbprtBRf+IYbqHAdaIa1cutwYZgIITIppw87vla9
fHB8nHw+/SKgusnM50VJRYIgLSY989q1xNSjnaYfmW94A+kaf+mcCfoeCyCHldt+
9i9lQYO5DDSK3UszJAqyRKurIjaRsjormhms8Lk9NOPILYOamwXLZ/dn42Jomvdj
t6QEkQeHmBFEi1qd7ckb/Mt8qcxUDANThErFMiEX7PtozIhJG3xw1RE/9NCNe+Zs
WOJrtrHvA2zTs+FV5XUvaDZ+PlG6kdMMtSO0hYY1+nKma/SLu1jkgp1qsS4eXPN4
oSZYBV2VkxH6YOxGruuERcRm0LkHd1aEKjgYG1CEPcSRdddzG4G+PCHgvCFhGeJq
EQ5Ckf6HIji4aldf/c2jPBhskGxi/u61EJEm8qcMnW79FHpK54bYh1K59PgXxtzG
fX+e7mtPL1Js0t31o76x1StqRhZoIS9wMdm+aFbosZeC3RUEG7I=
=bvEM
-----END PGP SIGNATURE-----

--mQkWuNIe7ylFCHwFqeRPDAc2Bc0kC0qmH--