You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bookkeeper.apache.org by eo...@apache.org on 2020/07/27 06:52:56 UTC
[bookkeeper] branch master updated: [SITE] Improve the user
experience of the site
This is an automated email from the ASF dual-hosted git repository.
eolivelli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/bookkeeper.git
The following commit(s) were added to refs/heads/master by this push:
new 3748b9c [SITE] Improve the user experience of the site
3748b9c is described below
commit 3748b9c554c6ba0d5b5c1780d4d35db2a83e89ef
Author: lamber-ken <22...@qq.com>
AuthorDate: Mon Jul 27 14:52:46 2020 +0800
[SITE] Improve the user experience of the site
### Motivation
Improve the user experience of the site.
![image](https://user-images.githubusercontent.com/20113411/82639390-325a3e80-9c3b-11ea-8a27-6347c6f7178c.png)
### Changes
**Compare:**
https://lamber-ken.github.io/docs/4.10.0/getting-started/installation/
https://bookkeeper.apache.org/docs/4.10.0/getting-started/installation/
Reviewers: Enrico Olivelli <eo...@gmail.com>, Matteo Minardi <mi...@hotmail.it>
This closes #2344 from lamber-ken/improve-site
---
site/_sass/vendor/bulma/sass/layout/footer.sass | 2 +-
site/css/style.sass | 11 ++++++-----
2 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/site/_sass/vendor/bulma/sass/layout/footer.sass b/site/_sass/vendor/bulma/sass/layout/footer.sass
index f8285ca..45259c8 100755
--- a/site/_sass/vendor/bulma/sass/layout/footer.sass
+++ b/site/_sass/vendor/bulma/sass/layout/footer.sass
@@ -1,3 +1,3 @@
.footer
background-color: $background
- padding: 3rem 1.5rem 6rem
+ padding: 6rem 1.5rem
diff --git a/site/css/style.sass b/site/css/style.sass
index a7d0898..ad223fd 100644
--- a/site/css/style.sass
+++ b/site/css/style.sass
@@ -81,9 +81,9 @@ footer.footer
.toc
overflow-y: scroll
bottom: 0
- top: $navbar-height + 5rem
+ top: $navbar-height
$toc-base-font-size: 1.2rem
- position: fixed
+ position: sticky
max-width: 20rem
padding: 0 0 5% 0
@@ -156,16 +156,17 @@ h2.bk-subtitle
.bk-main-content
min-height: 70vh
+ .container
+ top: $navbar-height
+ position: sticky
+
.bk-community-container
width: 60%
aside.sidebar
width: 15rem
- position: fixed
overflow-y: scroll
bottom: 0
- top: $navbar-height + 5rem
- padding: 0 0 5% 0
p + ul.sidebar-items
margin-top: .2rem