diff options
author | Mark Otto <otto@github.com> | 2013-05-15 09:08:56 +0400 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2013-05-15 09:08:56 +0400 |
commit | a41d566d5e38dd3227a0f5921f7be92969ff63f1 (patch) | |
tree | b0b0995d0e44443fffe46d79490d6ce6a42e380d /less | |
parent | e56c809492b605f2bae242b67ff18fef426e7b7a (diff) |
margin on bottom of navbar nav by default, also round links in mobile views (unround in desktop)
Diffstat (limited to 'less')
-rw-r--r-- | less/navbar.less | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/less/navbar.less b/less/navbar.less index 86768962dd..13a36781e1 100644 --- a/less/navbar.less +++ b/less/navbar.less @@ -22,12 +22,14 @@ // Space out from .navbar .brand and .btn-navbar when stacked in mobile views // and outdent nav links so text lines up with logo. margin-top: 10px; + margin-bottom: 15px; > li > a { padding-top: ((@navbar-height - @line-height-computed) / 2); padding-bottom: ((@navbar-height - @line-height-computed) / 2); color: @navbar-link-color; line-height: 20px; + border-radius: @border-radius-base; } > li > a:hover, > li > a:focus { @@ -281,10 +283,15 @@ } .navbar .nav { float: left; - margin-top: 0; // undo top margin to make nav extend full height of navbar + // undo margin to make nav extend full height of navbar + margin-top: 0; + margin-bottom: 0; > li { float: left; + > a { + border-radius: 0; + } } &.pull-right { |