Skip to content

Commit

Permalink
fix(typography): top menu bar does not have correct height
Browse files Browse the repository at this point in the history
  • Loading branch information
talha131 committed Feb 1, 2020
1 parent f6a83a6 commit d30ce82
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 0 additions & 3 deletions static/bootstrap/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -240,9 +240,6 @@

// Links
.navbar .nav > li > a {
float: none;
// Vertically center the text given @navbarHeight
padding: ((@navbarHeight - @baseLineHeight) / 2) 15px ((@navbarHeight - @baseLineHeight) / 2);
color: @navbarLinkColor;
text-decoration: none;
text-shadow: 0 1px 0 @navbarBackgroundHighlight;
Expand Down
4 changes: 4 additions & 0 deletions static/css/elegant.css
Original file line number Diff line number Diff line change
Expand Up @@ -486,3 +486,7 @@ table tbody:last-child tr:last-child > td:last-child {
table tbody > tr:nth-child(odd) > td {
background-color: #ebebeb;
}
.navbar .nav > li > a {
float: none;
padding: 11px 15px 13px;
}
4 changes: 4 additions & 0 deletions static/css/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ pre,
}
.brand .site-name {
font-size: 1.5rem;
vertical-align: middle;
}
/* article */
.article-content,
Expand Down Expand Up @@ -186,3 +187,6 @@ span.superscript {
font-size: 0.67rem;
vertical-align: super;
}
.navbar .nav > li > a {
font-size: 1rem;
}

0 comments on commit d30ce82

Please sign in to comment.