Skip to content

Commit a3a0a00

Browse files
authored
Merge pull request #489 from rstudio/mm-docs-log
Add Posit logo to docs footer
2 parents f3d9d72 + c16c9b1 commit a3a0a00

File tree

4 files changed

+16
-6
lines changed

4 files changed

+16
-6
lines changed

docs/docs/css/custom.css

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
}
88

99
.md-header {
10-
border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
10+
border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
1111
}
1212

1313
@media only screen and (max-width: 76.1875em){
@@ -30,7 +30,7 @@
3030
}
3131

3232
.md-tabs__item {
33-
height: 1.75rem !important;
33+
height: unset;
3434
}
3535

3636
/* Search bar
@@ -45,7 +45,7 @@
4545
font-weight: bold;
4646
}
4747

48-
/* Search bar - black palette
48+
/* Search bar - black palette
4949
*/
5050

5151
[data-md-color-primary=black] .md-search-result mark {
@@ -149,14 +149,19 @@
149149
color: #6F6B6B;
150150
font-weight: 400;
151151
font-size: 0.65rem;
152-
padding-top: 15px;
152+
clear: right;
153153
}
154154

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

160+
.md-footer-meta img {
161+
margin-top: 4px;
162+
height: 1em;
163+
}
164+
160165
/* footer - black palette
161166
*/
162167

@@ -222,6 +227,7 @@
222227
padding: 0;
223228
}
224229

230+
225231
h2.divider {
226232
text-align: center;
227233
max-width: 650px;
@@ -298,7 +304,7 @@ pre code::-webkit-scrollbar-thumb:hover, .codehilite pre::-webkit-scrollbar-thum
298304
opacity: 0;
299305
pointer-events: none;
300306
}
301-
307+
302308
// Back-to-top button on focus/hover
303309
&:focus,
304310
&:hover {
Lines changed: 1 addition & 0 deletions
Loading

docs/overrides/partials/footer.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,9 @@
7777
<a href="https://squidfunk.github.io/mkdocs-material/">
7878
Material for MkDocs</a> -->
7979
</div>
80+
<a href="https://posit.co/" class="nav-link" target="_blank">
81+
<img src="/images/posit-logo-fullcolor-TM.svg" alt="Posit" title="Posit">
82+
</a>
83+
</div>
8084
</div>
8185
</footer>

docs/overrides/partials/header.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@
8282
<ul class="md-tabs__list">
8383
<li class="md-tabs__item"><a href="{{ base_url }}/changelog/" title="Release Notes" class="md-tabs__link md-source">Release Notes</a></li>
8484
<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>
85-
<li class="md-tabs__item"><a href="https://www.posit.co/" title="Posit" class="md-tabs__link md-source logo"></a></li>
8685
</ul>
8786
</div>
8887
{% if "search" in config["plugins"] %}

0 commit comments

Comments
 (0)