You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by we...@apache.org on 2020/08/04 21:58:29 UTC
[arrow-site] branch master updated: Adjust positioning of badges
(#70)
This is an automated email from the ASF dual-hosted git repository.
wesm pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-site.git
The following commit(s) were added to refs/heads/master by this push:
new 4632363 Adjust positioning of badges (#70)
4632363 is described below
commit 4632363bfae07650817030ca554d311875b97440
Author: Neal Richardson <ne...@gmail.com>
AuthorDate: Tue Aug 4 14:58:20 2020 -0700
Adjust positioning of badges (#70)
---
_layouts/home.html | 11 +++++++++--
css/main.scss | 13 +++++++++++++
2 files changed, 22 insertions(+), 2 deletions(-)
diff --git a/_layouts/home.html b/_layouts/home.html
index f6f49ea..fe074f9 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -8,8 +8,15 @@
<div class="container px-4 py-5 centered">
<img src="{{ site.baseurl }}/img/arrow-inverse.png" style="max-width: 70%;"/>
<p class="lead">A cross-language development platform for in-memory analytics</p>
- <!-- Place this tag where you want the button to render. -->
- <a class="github-button" href="https://github.com/apache/arrow" data-size="large" data-show-count="true" aria-label="Star apache/arrow on GitHub">Star</a> <a href="https://twitter.com/ApacheArrow?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="true">Follow @ApacheArrow</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
+
+ <div class="social-badges">
+ <div class="social-badge">
+ <a class="github-button" href="https://github.com/apache/arrow" data-size="large" data-show-count="true" aria-label="Star apache/arrow on GitHub">Star</a>
+ </div>
+ <div class="social-badge">
+ <a href="https://twitter.com/ApacheArrow?ref_src=twsrc%5Etfw" class="twitter-follow-button" data-show-count="true">Follow @ApacheArrow</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
+ </div>
+ </div>
</div>
</div>
<div class="container p-4 pt-5">
diff --git a/css/main.scss b/css/main.scss
index e844dfb..a4cdb90 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -97,3 +97,16 @@ p code, li code {
p a code {
color: inherit;
}
+
+.social-badges iframe {
+ vertical-align: middle;
+}
+
+.social-badges span {
+ vertical-align: top;
+}
+
+.social-badge {
+ display: inline;
+ padding: 12px;
+}