Skip to content

Commit

Permalink
update docs navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
whimsicallyson committed Oct 20, 2022
1 parent 9062497 commit 2f63bf0
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
21 changes: 19 additions & 2 deletions docs/docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,32 @@

.md-tabs__list {
margin: 0 2em 0 .2rem;
padding-top: 15px;
list-style: none;
white-space: nowrap;
}

.md-tabs__link {
margin: 0;
margin-top: .2rem !important;
padding: 0;
}

.md-tabs__item {
height: 1.75rem !important;
}

.md-tabs__link.logo {
background-image: url(../images/positLogoBlack.svg);
background-size: 80px auto;
background-repeat: no-repeat;
background-position: bottom;
height: 1.75rem;
width: 80px;
}

[data-md-color-primary=black] .md-tabs__link.logo {
background-image: url(../images/positLogoWhite.svg);
}

.md-typeset dl dt {
font-style: italic;
font-weight: bold;
Expand Down
1 change: 1 addition & 0 deletions docs/docs/images/positLogoBlack.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions docs/docs/images/positLogoWhite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@
{% endif %}
<div class="md-flex__cell md-flex__cell--shrink left-nav">
<ul class="md-tabs__list">
<li class="md-tabs__item"><a href="https://posit.co" title="Posit" class="md-tabs__link md-source">Posit.co</a></li>
<li class="md-tabs__item"><a href="{{ base_url }}/../news/" title="Release Notes" class="md-tabs__link md-source">Release Notes</a></li>
<li class="md-tabs__item"><a href="https://support.rstudio.com/hc/en-us" title="Posit Support" class="md-tabs__link md-source">Help</a></li>
<li class="md-tabs__item"><a href="https://www.posit.co/" title="Posit" class="md-tabs__link md-source logo"></a></li>
</ul>
</div>
{% if "search" in config["plugins"] %}
Expand Down

0 comments on commit 2f63bf0

Please sign in to comment.