You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2021/03/19 04:59:56 UTC

[accumulo-website] branch main updated: Tweak the download page button layout

This is an automated email from the ASF dual-hosted git repository.

ctubbsii pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo-website.git


The following commit(s) were added to refs/heads/main by this push:
     new ed46e04  Tweak the download page button layout
ed46e04 is described below

commit ed46e040221f0053ee420fa8d12939f067a75ac5
Author: Christopher Tubbs <ct...@apache.org>
AuthorDate: Fri Mar 19 00:51:55 2021 -0400

    Tweak the download page button layout
    
    Make slight modifications to bootstrap button layout on downloads page to:
    
    * add tiny gap between button rows, when the screen is small,
    * avoid two columns for src and bin tarballs, so the view is more
      consistent between big screens and small screens
    * shorten left margin so tarball signature and hash buttons fit in the
      same row as the corresponding tarball on small/medium screens
---
 pages/downloads.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/pages/downloads.md b/pages/downloads.md
index e56d677..9d94664 100644
--- a/pages/downloads.md
+++ b/pages/downloads.md
@@ -61,7 +61,7 @@ Be sure to [verify your downloads][VERIFY_PROCEDURES] using [these KEYS][GPG_KEY
 {% assign btnDownloadStyle = 'class="btn btn-primary" style="text-transform: none; font-family: monospace"' %}
 {% assign btnSigStyle = 'class="btn btn-default" style="font-family: monospace"' %}
 {% assign btnHashStyle = 'class="btn btn-default" style="font-family: monospace"' %}
-{% assign btnDocStyle = 'class="btn btn-default" style="text-transform: none; font-family: monospace"' %}
+{% assign btnDocStyle = 'class="btn btn-default" style="text-transform: none; font-family: monospace; margin-bottom: 5px"' %}
 
 ## Current Releases
 
@@ -76,7 +76,7 @@ enhancements, and more.
 {% for srcbin in srcbinArray %}
 {% assign lnkFile = 'accumulo-' | append: linkVers | append: '-' | append: srcbin | append: '.tar.gz' %}
 {% assign lnkSuffix = '/accumulo/' | append: linkVers | append: '/' | append: lnkFile %}
-<div class="row btn-group" style="margin-left: 70px">
+<div class="row btn-group" style="margin-left: 20px; margin-bottom: 5px; display: block">
   <div class="col btn-group">
     <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}" link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
   </div><div class="col btn-group">
@@ -85,7 +85,7 @@ enhancements, and more.
   </div>
 </div>
 {% endfor %}
-<div class="row btn-group-sm" style="margin: 25px; margin-left: 50px">
+<div class="row btn-group-sm" style="margin: 20px">
   <a {{btnDocStyle}} href="{{site.baseurl}}/release/accumulo-{{linkVers}}">Release Notes</a>
   <a {{btnDocStyle}} href="https://github.com/apache/accumulo/blob/rel/{{linkVers}}/README.md">README</a>
   <a {{btnDocStyle}} href="{{site.baseurl}}/docs/2.x">Online Documentation</a>
@@ -104,7 +104,7 @@ The most recent legacy (1.x) release of Apache Accumulo&reg; is version
 {% for srcbin in srcbinArray %}
 {% assign lnkFile = 'accumulo-' | append: linkVers | append: '-' | append: srcbin | append: '.tar.gz' %}
 {% assign lnkSuffix = '/accumulo/' | append: linkVers | append: '/' | append: lnkFile %}
-<div class="row btn-group" style="margin-left: 70px">
+<div class="row btn-group" style="margin-left: 20px; margin-bottom: 5px; display: block">
   <div class="col btn-group">
     <a {{btnDownloadStyle}} href="{{closerLink}}{{lnkSuffix}}" link-suffix="{{lnkSuffix}}">{{lnkFile}}{{glyphSave}}</a>
   </div><div class="col btn-group">
@@ -113,7 +113,7 @@ The most recent legacy (1.x) release of Apache Accumulo&reg; is version
   </div>
 </div>
 {% endfor %}
-<div class="row btn-group-sm" style="margin: 25px; margin-left: 50px">
+<div class="row btn-group-sm" style="margin: 20px">
   <a {{btnDocStyle}} href="{{site.baseurl}}/release/accumulo-{{linkVers}}">Release Notes</a>
   <a {{btnDocStyle}} href="https://github.com/apache/accumulo/blob/rel/{{linkVers}}/README.md">README</a>
   <a {{btnDocStyle}} href="{{site.baseurl}}/1.10/accumulo_user_manual">User Manual</a>