=================================================================== RCS file: /cvs/mandoc/mandoc.css,v retrieving revision 1.37 retrieving revision 1.41 diff -u -p -r1.37 -r1.41 --- mandoc/mandoc.css 2018/08/27 23:13:44 1.37 +++ mandoc/mandoc.css 2018/12/04 05:21:04 1.41 @@ -1,6 +1,11 @@ -/* $Id: mandoc.css,v 1.37 2018/08/27 23:13:44 schwarze Exp $ */ +/* $Id: mandoc.css,v 1.41 2018/12/04 05:21:04 schwarze Exp $ */ /* * Standard style sheet for mandoc(1) -Thtml and man.cgi(8). + * + * Written by Ingo Schwarze . + * I place this file into the public domain. + * Permission to use, copy, modify, and distribute it for any purpose + * with or without fee is hereby granted, without any conditions. */ /* Global defaults. */ @@ -8,8 +13,16 @@ html { max-width: 65em; } body { font-family: Helvetica,Arial,sans-serif; } table { margin-top: 0em; - margin-bottom: 0em; } -td { vertical-align: top; } + margin-bottom: 0em; + border-collapse: collapse; } +/* Some browsers set border-color in a browser style for tbody, + * but not for table, resulting in inconsistent border styling. */ +tbody { border-color: inherit; } +tr { border-color: inherit; } +td { vertical-align: middle; + padding-left: 0.2em; + padding-right: 0.2em; + border-color: inherit; } ul, ol, dl { margin-top: 0em; margin-bottom: 0em; } li, dt { margin-top: 1em; }