diff options
author | Olivier Hallot <olivier.hallot@libreoffice.org> | 2025-02-07 18:55:09 +0100 |
---|---|---|
committer | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2025-02-08 08:09:15 +0100 |
commit | dd1db6ba284398473236b7b9ecdedb854b9f6cac (patch) | |
tree | 1a98fe4b6338e93db92fdb6621016386ad7f7514 | |
parent | 34bb86d3fadbe0123aaa653ac883f950da7f9dd2 (diff) |
Update CSS for help pages in branch
co-25.04-branch-point
Change-Id: Ic59dc33aa5c8a297c8b090e330cc430d684bb0a6
Reviewed-on: https://gerrit.libreoffice.org/c/help/+/181270
Tested-by: Jenkins
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
-rw-r--r-- | help3xsl/default.css | 16 |
1 files changed, 15 insertions, 1 deletions
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; } } - |