Slight update on styling

This commit is contained in:
Juan Valencia Calvellido 2020-01-07 17:58:50 +01:00
parent 1574200562
commit b71302adf3
2 changed files with 15 additions and 19 deletions

View File

@ -8,10 +8,14 @@
<img src="{{ site.baseurl }}/img/sidebar-icon-open.svg" alt="Toggle">
</button>
<ul>
<li class="nav-menu-item"><a href="https://github.com/higherkindness/mu-haskell">GitHub</a></li>
<li class="nav-menu-item"><a href="{{ 'haddock/index.html' | relative_url }}">API Docs</a></li>
</ul>
<div class="link-container">
<div class="link-item">
<a href="{{ 'haddock/index.html' | relative_url }}">API Docs</a>
</div>
<div class="link-item">
<a href="https://github.com/higherkindness/mu-haskell">GitHub</a>
</div>
</div>
</div>
<div class="doc-content">

View File

@ -33,23 +33,15 @@
}
}
ul {
.link-container {
display: flex;
justify-content: space-between;
flex-direction: row;
height: 100%;
width: 100%;
justify-content: flex-end;
align-items: center;
.nav-menu-item {
padding: ($base-point-grid * 2);
margin: ($base-point-grid * 2);
list-style-type: none;
a {
color: $gray-primary;
&:hover {
color: rgba($brand-primary, 0.96);
text-decoration: none;
}
}
.link-item {
margin-left: ($base-point-grid * 2);
}
}
}