This is an automated email from the ASF dual-hosted git repository.
jmclean pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-training.git
The following commit(s) were added to refs/heads/develop by this push:
new 7e8c3f1 another try
7e8c3f1 is described below
commit 7e8c3f109cf02d3980a965072b0dff5b050684bd
Author: Justin Mclean <[email protected]>
AuthorDate: Thu Aug 21 15:08:25 2025 +1000
another try
---
site/src/site/resources/css/site.css | 20 ++++++++++----------
site/src/site/site.xml | 5 +----
2 files changed, 11 insertions(+), 14 deletions(-)
diff --git a/site/src/site/resources/css/site.css
b/site/src/site/resources/css/site.css
index 29a9c25..c50e691 100644
--- a/site/src/site/resources/css/site.css
+++ b/site/src/site/resources/css/site.css
@@ -88,19 +88,19 @@ body > div.container.subfooter > div > div > p.pull-right {
#banner > .col-md-12 {
display: flex;
- justify-content: space-between;
+ justify-content: center;
align-items: center;
}
+.bannerLeft {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ text-align: center;
+}
+
.bannerLeft img {
- float: none;
- width: 300px;
- height: auto;
- padding:10px 0;
- max-width: 100%;
+ height: 300px;
+ width: auto;
display: block;
}
-
-.bannerRight h1 {
- margin:10px 0;
-}
\ No newline at end of file
diff --git a/site/src/site/site.xml b/site/src/site/site.xml
index 007c618..c693299 100644
--- a/site/src/site/site.xml
+++ b/site/src/site/site.xml
@@ -75,12 +75,9 @@
<bannerLeft>
<src>/images/training-logo.svg</src>
- </bannerLeft>
-
- <bannerRight>
<name>Apache Training</name>
<href>https://training.apache.org/</href>
- </bannerRight>
+ </bannerLeft>
<body>
<head>