flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject flink git commit: [docs] make the nav bar scroll instead of fixing it at the top
Date Wed, 18 Mar 2015 09:54:46 GMT
Repository: flink
Updated Branches:
  refs/heads/master ac4e4a784 -> 3a50f242b


[docs] make the nav bar scroll instead of fixing it at the top

- we gain some precious space which helps people reading the docs


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/3a50f242
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/3a50f242
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/3a50f242

Branch: refs/heads/master
Commit: 3a50f242b0e6aeb5a5b766db6a68595501ff4cbe
Parents: ac4e4a7
Author: Maximilian Michels <mxm@apache.org>
Authored: Tue Mar 17 14:39:12 2015 +0100
Committer: Maximilian Michels <mxm@apache.org>
Committed: Wed Mar 18 10:53:09 2015 +0100

----------------------------------------------------------------------
 docs/_includes/navbar.html | 2 +-
 docs/_layouts/default.html | 2 +-
 docs/css/custom.css        | 9 ++++-----
 3 files changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/3a50f242/docs/_includes/navbar.html
----------------------------------------------------------------------
diff --git a/docs/_includes/navbar.html b/docs/_includes/navbar.html
index 1a3e6eb..7f02439 100644
--- a/docs/_includes/navbar.html
+++ b/docs/_includes/navbar.html
@@ -16,7 +16,7 @@ KIND, either express or implied.  See the License for the
 specific language governing permissions and limitations
 under the License.
 -->
-<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+<nav class="navbar navbar-default navbar-static-top" role="navigation">
   <div class="container">
     <div class="row">
       <div class="col-md-1 af-mobile-nav-bar">

http://git-wip-us.apache.org/repos/asf/flink/blob/3a50f242/docs/_layouts/default.html
----------------------------------------------------------------------
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index ed5c7da..bc6f433 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -47,7 +47,7 @@ under the License.
 
     {% include navbar.html %}
 
-    <div style="padding-top:120px" class="container">
+    <div style="padding-top: 0px;" class="container">
 
       <div class="row">
         <div class="col-md-3">

http://git-wip-us.apache.org/repos/asf/flink/blob/3a50f242/docs/css/custom.css
----------------------------------------------------------------------
diff --git a/docs/css/custom.css b/docs/css/custom.css
index a0b5486..7277181 100644
--- a/docs/css/custom.css
+++ b/docs/css/custom.css
@@ -185,12 +185,11 @@
 	margin: 20px 0;
 }
 
-h1, h2, h3, h4, h5, h6 {
-    padding-top: 28px;
-    margin-top: -28px;
-}
-
 .navbar {
     padding-top: 10px;
     padding-bottom: 10px;
 }
+
+#flink-doc-sidenav {
+    margin-top: 25px;
+}


Mime
View raw message