From a7896eb8ae657c3977048ca9c16c9574e75c622b Mon Sep 17 00:00:00 2001 From: Landon Curt Noll Date: Tue, 19 Mar 2024 21:26:21 -0700 Subject: [PATCH] improve HTML rendering By improving how padding is applied to the right column and footer, the rendered HTML looks better. There are still issues, but at least it does not _suck_ as bad. :-) --- ioccc.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/ioccc.css b/ioccc.css index a994547d1..19037cd14 100644 --- a/ioccc.css +++ b/ioccc.css @@ -573,11 +573,16 @@ a:active { float: left; width: 80%; padding-left: 10px; - padding-bottom: 10px; } .rightcolumn p, code, pre, h1, h2, h3, h4, h5, h6 { color: black; } +.rightcolumn p, code, pre { + padding-top: 0; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 0; +} /* Right column headings */ .rightcolumn h1 { @@ -600,6 +605,12 @@ a:active { border-style: solid hidden hidden hidden; text-decoration: none; } +.footer p, code, pre { + padding-top: 0; + padding-left: 10px; + padding-right: 10px; + padding-bottom: 0; +} .footer a { text-decoration: none;