This is an automated email from the ASF dual-hosted git repository.
kinow pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/jena-site.git
The following commit(s) were added to refs/heads/main by this push:
new f26278a55 fix hero section button alignment on mobile screens
f26278a55 is described below
commit f26278a551d310e05ba01f0f82a683b76f7b910f
Author: Prakash Kumar <[email protected]>
AuthorDate: Wed Feb 4 02:30:10 2026 +0530
fix hero section button alignment on mobile screens
---
assets/sass/jena.scss | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
diff --git a/assets/sass/jena.scss b/assets/sass/jena.scss
index e7256268e..63ffa8958 100644
--- a/assets/sass/jena.scss
+++ b/assets/sass/jena.scss
@@ -62,6 +62,34 @@ a {
margin-right: 0.3rem;
}
+#jumbotron {
+ .btn-jumbotron {
+ margin-bottom: 0.5rem;
+
+ @media (max-width: 576px) {
+ display: block;
+ width: 100%;
+ }
+
+ @media (min-width: 577px) {
+ &:last-child {
+ margin-right: 0;
+ }
+ }
+ }
+
+ p {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 0.5rem;
+
+ @media (max-width: 576px) {
+ flex-direction: column;
+ gap: 0;
+ }
+ }
+}
+
/* single */
main {