NOJIRA: Shrinking the home page splash area vertically, moving ASF logo to the top.
Project: http://git-wip-us.apache.org/repos/asf/mahout/repo Commit: http://git-wip-us.apache.org/repos/asf/mahout/commit/9a2055e7 Tree: http://git-wip-us.apache.org/repos/asf/mahout/tree/9a2055e7 Diff: http://git-wip-us.apache.org/repos/asf/mahout/diff/9a2055e7 Branch: refs/heads/master Commit: 9a2055e7b7bd1788b0b7523367772650ffdb6b53 Parents: 5a07b51 Author: Andrew Musselman <[email protected]> Authored: Tue Dec 5 22:44:12 2017 -0800 Committer: Andrew Musselman <[email protected]> Committed: Tue Dec 5 22:44:12 2017 -0800 ---------------------------------------------------------------------- website/_layouts/home.html | 2 +- website/_sass/mahout/_heading.scss | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mahout/blob/9a2055e7/website/_layouts/home.html ---------------------------------------------------------------------- diff --git a/website/_layouts/home.html b/website/_layouts/home.html index 3ea982c..65f82fe 100644 --- a/website/_layouts/home.html +++ b/website/_layouts/home.html @@ -7,6 +7,7 @@ layout: default <div class="row"> <div class="col-12"> <img src="/assets/mahout-logo-white.svg" alt="Apache Mahout"> + <img class="asf-logo float-right" src="/assets/asf_logo_white.svg" alt="Apache Software Foundation"> </div> </div> </div> @@ -16,7 +17,6 @@ layout: default <h2 class="mb-4">For Creating Scalable Performant Machine Learning Applications</h2> <a class="btn btn-lg btn-light btn-download mb-3" href="/downloads"><i class="fa fa-download"></i> Download Mahout</a> <div class="small text-white mx-auto">Currently v{{ site.mahout-version }}</div> - <img class="asf-logo float-right" src="/assets/asf_logo_white.svg" alt="Apache Software Foundation"> </div> </div> <canvas id="waves"></canvas> http://git-wip-us.apache.org/repos/asf/mahout/blob/9a2055e7/website/_sass/mahout/_heading.scss ---------------------------------------------------------------------- diff --git a/website/_sass/mahout/_heading.scss b/website/_sass/mahout/_heading.scss index 267640b..9b97a3d 100644 --- a/website/_sass/mahout/_heading.scss +++ b/website/_sass/mahout/_heading.scss @@ -1,5 +1,5 @@ header.mahout-header { - height: 700px; + height: 500px; position: relative; background: url('https://www.transparenttextures.com/patterns/cubes.png'), -moz-linear-gradient(45deg, $blue 0%, darken($blue, 15%) 100%); background: url('https://www.transparenttextures.com/patterns/cubes.png'), -webkit-linear-gradient(45deg, $blue 0%, darken($blue, 15%) 100%); @@ -26,6 +26,10 @@ header.mahout-header { width: 100%; max-width: 800px; } + .asf-logo { + height: 75px; + width: 150px; + } } .mahout-header-lower { bottom: 0; @@ -49,8 +53,5 @@ header.mahout-header { color: $body-color; } } - .asf-logo { - height: 75px; - } } }
