You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/04/01 15:54:33 UTC
[camel-website] branch master updated: CAMEL-14817: use CSS to
align table headings
This is an automated email from the ASF dual-hosted git repository.
zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git
The following commit(s) were added to refs/heads/master by this push:
new 86796bd CAMEL-14817: use CSS to align table headings
86796bd is described below
commit 86796bd7f0f4381fe904b9a98d8311f275e8eda2
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Wed Apr 1 17:42:19 2020 +0200
CAMEL-14817: use CSS to align table headings
Instead of deprecated HTML attributes we can use CSS to align the table
headings on community pages.
---
.htmlvalidate.json | 1 -
antora-ui-camel/src/css/community.css | 3 +++
antora-ui-camel/src/css/site.css | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/.htmlvalidate.json b/.htmlvalidate.json
index 0ed80f8..7d21cd6 100644
--- a/.htmlvalidate.json
+++ b/.htmlvalidate.json
@@ -7,7 +7,6 @@
],
"rules": {
"attr-quotes": "off",
- "no-deprecated-attr": "off",
"wcag/h30": "off",
"no-inline-style": "off",
"element-required-attributes": "off",
diff --git a/antora-ui-camel/src/css/community.css b/antora-ui-camel/src/css/community.css
new file mode 100644
index 0000000..f5e5028
--- /dev/null
+++ b/antora-ui-camel/src/css/community.css
@@ -0,0 +1,3 @@
+.community th {
+ text-align: left;
+}
diff --git a/antora-ui-camel/src/css/site.css b/antora-ui-camel/src/css/site.css
index dbaf359..3746f40 100644
--- a/antora-ui-camel/src/css/site.css
+++ b/antora-ui-camel/src/css/site.css
@@ -21,3 +21,4 @@
@import "category.css";
@import "release.css";
@import "misc.css";
+@import "community.css";