brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [5/9] incubator-brooklyn git commit: adjust docs font and menu
Date Mon, 12 Jan 2015 14:52:21 GMT
adjust docs font and menu

bump up font sizes of text and code;
top menu uses same green semantics as side menu


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/017573c6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/017573c6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/017573c6

Branch: refs/heads/master
Commit: 017573c67bff17ef2aa951209a1e88499abdb06b
Parents: 6f5a322
Author: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Authored: Sat Jan 10 02:06:01 2015 +0000
Committer: Alex Heneveld <alex.heneveld@cloudsoftcorp.com>
Committed: Sat Jan 10 17:25:00 2015 +0000

----------------------------------------------------------------------
 docs/_includes/topmenu.html |  2 +-
 docs/style/css/base.scss    | 28 ++++++++++++++++++++++++++--
 2 files changed, 27 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/017573c6/docs/_includes/topmenu.html
----------------------------------------------------------------------
diff --git a/docs/_includes/topmenu.html b/docs/_includes/topmenu.html
index f2c1e05..d25b14a 100644
--- a/docs/_includes/topmenu.html
+++ b/docs/_includes/topmenu.html
@@ -5,7 +5,7 @@
           <img src="{{ site.path.style }}/img/feather.png" width="80" class="flip navbar-feather">
         </div>
 
-        <div class="container container-between-sidebars">
+        <div class="container container-between-sidebars top-menu">
           <div class="container-fluid">
             <!-- Brand and toggle get grouped for better mobile display -->
             <div class="navbar-header">

http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/017573c6/docs/style/css/base.scss
----------------------------------------------------------------------
diff --git a/docs/style/css/base.scss b/docs/style/css/base.scss
index 79e79e0..a585100 100644
--- a/docs/style/css/base.scss
+++ b/docs/style/css/base.scss
@@ -8,7 +8,9 @@
 body {
     margin: 0px; 
     padding: 10px 0px 20px 0px; 
-    font-family: helvetica neue, helvetica, arial, sans-serif; 
+    font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
+    font-weight: 300;
+    font-size: 17px; 
     background-color: #ffffff; 
     color: $text_color; 
 }
@@ -29,6 +31,9 @@ a[id]:empty, a[name]:empty {
     margin-top: -60px;
     display: block;
 }
+.dropdown-menu > li > a {
+  font-weight: 300;
+}
 
 
 /* WEBSITE MENUS
@@ -125,12 +130,30 @@ a[id]:empty, a[name]:empty {
 }
 
 /* pop-up top-menu */
-ul.nav li.dropdown:hover > ul.dropdown-menu {
+.navbar-default .navbar-nav > li > a:hover,
+.navbar-default .navbar-nav > li > a:focus,
+.navbar-default .navbar-nav > .active > a:hover,
+.navbar-default .navbar-nav > .active > a:focus {
+  background-color: #f5f5f5;
+  color: $brooklyn_green;
+}
+.top-menu {
+  font-size: 14px;
+  font-weight: 400;
+  .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus {
+    background-color: #f5f5f5;
+    background-image: none;
+    color: $brooklyn_green;
+  }
+  ul.nav li.dropdown:hover > ul.dropdown-menu {
     display: block;
+  }
 }
 
 /* side menu */
 .side-menu {
+  font-size: 14px;
+  font-weight: 400;
   h4.with_following {
     margin-bottom: 0;
   }
@@ -231,6 +254,7 @@ pre {
     background-color:$code_bg_color;
     padding: 0.4em 0.8em;
     overflow-x: scroll;
+    font-size: 85%;
     /* override border and line-height on 'pre' from bootstrap */
     border: none;
     border-radius: 2px;


Mime
View raw message