Skip to content

Commit

Permalink
Merge pull request #367 from rstudio/mm-docs-footer-logo
Browse files Browse the repository at this point in the history
Add Posit logo/link to docs footer
  • Loading branch information
mmarchetti committed Oct 20, 2023
2 parents 5a0fcaa + 15ca425 commit 59f0935
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
11 changes: 8 additions & 3 deletions docs/docs/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
}

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

/* Search bar
Expand All @@ -42,7 +42,7 @@
font-weight: bold;
}

/* Search bar - black palette
/* Search bar - black palette
*/

[data-md-color-primary=black] .md-search-result mark {
Expand Down Expand Up @@ -144,14 +144,19 @@
color: #6F6B6B;
font-weight: 400;
font-size: 0.65rem;
padding-top: 15px;
clear: right;
}

.md-footer-meta.md-typeset a {
color: #6F6B6B !important;
font-weight: 400;
}

.md-footer-meta img {
margin-top: 4px;
height: 1em;
}

[data-md-color-primary=black] .md-footer {
background-color: #000 !important;
color: #fff !important;
Expand Down
1 change: 1 addition & 0 deletions docs/docs/images/posit-logo-fullcolor-TM.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion docs/overrides/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,11 @@
<a href="https://squidfunk.github.io/mkdocs-material/">
Material for MkDocs</a> -->
</div>

<!-- Social links -->
{% include "partials/social.html" %}
<a href="https://posit.co/" class="nav-link" target="_blank">
<img src="/images/posit-logo-fullcolor-TM.svg" alt="Posit" title="Posit">
</a>
</div>
</div>
</footer>
1 change: 0 additions & 1 deletion docs/overrides/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
<ul class="md-tabs__list">
<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.posit.co/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 59f0935

Please sign in to comment.