Skip to content

Commit

Permalink
Merge pull request github#904 from co16353sidak/master
Browse files Browse the repository at this point in the history
fix[WIP]: Small changes to the top navbar
  • Loading branch information
MikeMcQuaid authored May 7, 2019
2 parents 911ede9 + d25bc5f commit 79ab8ac
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
4 changes: 2 additions & 2 deletions _includes/nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<nav class="main-nav">
<div class="container-lg mx-auto clearfix">
<div class="float-sm-right">
<ul class="main-links d-flex flex-wrap flex-items-stretch border-left border-bottom border-sm-0 list-style-none">
<ul class="main-links d-flex flex-wrap flex-items-stretch flex-justify-center border-left border-bottom border-sm-0 list-style-none">
<li class="d-inline-block border-right">
<a class="d-block p-4" href="https://github.com/github/opensource.guide#readme">
{{ t.nav.about }}
Expand All @@ -14,7 +14,7 @@
</a>
</li>
{% if page.lang and site.data.locales.size > 1 %}
<li class="d-inline-block border-right">
<li class="d-inline-block">
<div class="p-3">
<select id="language" class="form-select">
{% assign locales = site.data.locales | sort %}
Expand Down
14 changes: 9 additions & 5 deletions assets/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,16 @@ blockquote {
line-height: 0;
}

.main-links a {
&:hover {
background: $bg-gray-light;
text-decoration: none;
color: $gray-dark;
.main-links {
a {
&:hover {
background: $bg-gray-light;
text-decoration: none;
color: $gray-dark;
}
}
padding-bottom: 5px;
padding-top: 5px;
}

.breadcrumb {
Expand Down

0 comments on commit 79ab8ac

Please sign in to comment.