Skip to content

Commit

Permalink
Update inline code color to address contrast issues, remove bottom bo…
Browse files Browse the repository at this point in the history
…rder from footer links.
  • Loading branch information
DanielRosenwasser committed Mar 28, 2024
1 parent f510155 commit 6fa23f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions site/src/_includes/footer.njk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<footer class="container mt-auto d-flex flex-wrap justify-content-between align-items-center py-3 border-top">
<ul class="nav border-bottom mx-auto ml-md-0">
<ul class="nav mx-auto ml-md-0">
<li class="nav-item nav-item mx-1">
<a class="nav-link text-body-secondary" target="_blank" href="https://microsoft.github.io/">© Microsoft</span>
</li>
Expand All @@ -11,7 +11,7 @@
</li>
</ul>

<ul class="nav border-bottom mx-auto mr-md-0">
<ul class="nav mx-auto mr-md-0">
<li class="nav-item">
<a class="nav-link text-body-secondary" href="https://twitter.com/typechat">
Twitter
Expand Down
4 changes: 3 additions & 1 deletion site/src/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@

:root {
--typechat-monospace: Consolas, Menlo, Monaco, Roboto, monospace;
--typechat-inline-code-color: #a10615;
--typechat-rounding-radius: 0.5rem;
}

Expand Down Expand Up @@ -80,7 +81,8 @@

.typechat-prose-content code {
font-family: var(--typechat-monospace);
font-size: 16px;
color: var(--typechat-inline-code-color);
font-size: inherit;
}

.typechat-prose-content :not(pre) code {
Expand Down

0 comments on commit 6fa23f8

Please sign in to comment.