help3xsl/default.css | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-)
New commits: commit dd1db6ba284398473236b7b9ecdedb854b9f6cac Author: Olivier Hallot <[email protected]> AuthorDate: Fri Feb 7 18:55:09 2025 +0100 Commit: Ilmari Lauhakangas <[email protected]> CommitDate: Sat Feb 8 08:09:15 2025 +0100 Update CSS for help pages in branch Change-Id: Ic59dc33aa5c8a297c8b090e330cc430d684bb0a6 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/181270 Tested-by: Jenkins Reviewed-by: Ilmari Lauhakangas <[email protected]> diff --git a/help3xsl/default.css b/help3xsl/default.css index 2dcfab5ca7..b908e15dde 100644 --- a/help3xsl/default.css +++ b/help3xsl/default.css @@ -234,6 +234,8 @@ table { background: var(--background-color); box-shadow: rgb(0 0 0 / 8%) 0 1px 5px 0; border-collapse: collapse; + margin: 0px auto;/* center tables in divs */ + } table, th, td { border-top: 0; @@ -242,6 +244,9 @@ table, th, td { border-right: 0; padding: 0.3em; } +tr:nth-of-type(even) { + background-color: #e3e3e3; +} html[dir="ltr"] th { text-align: left; } @@ -1027,6 +1032,7 @@ li.disabled a { --hover-color: #60ec93; --link-color: #BB86FC; --visited-color: #CF6679; + --table-background:#2e2e2e; } body { @@ -1159,6 +1165,14 @@ li.disabled a { background: var(--background-color); color: var(--heading-color); vertical-align: top; + border-style:solid; + border-color:#888; + border-width:thin; + } + table{ + background: var(--table-background); + } + tr:nth-of-type(even) { + background-color: #1A1A1A; } } -
