[Docs] Fix inline code blocks and misc tweaks. (#2878)

* Fix code blocks and list items having overlap if they contain code blocks.

* Fixes for interaction framework intro guide.

* Add NuGet icon to top navbar.

* tweak action triggers

* Fix mobile navbar links.

* Add relatively ugly hack to improve toc filter functionality.

---------

Co-authored-by: Mihail Gribkov <61027276+Misha-133@users.noreply.github.com>
This commit is contained in:
Nora
2024-03-15 06:02:25 +01:00
committed by GitHub
parent 4efe3be301
commit 3331614a7a
4 changed files with 83 additions and 10 deletions

View File

@@ -184,8 +184,20 @@ code {
}
/* MAKES PARAMETERS MORE SPACIOUS */
dl.parameters > dt > code {
padding: 3px;
:not(pre) > code {
padding: 3px;
}
/* MAKES LIST ITEMS BE SLIGHTLY MORE SEPARATED */
/* THIS AVOIDS CODE BLOCK OVERLAP */
ul:not(.navbar-nav) > li:not(:last-child) {
margin-bottom: 4px;
}
/* MAKES NAVBAR LINKS LOOK BETTER IN MOBILE */
.navbar-expand-md .navbar-nav .nav-link {
padding-right: var(--bs-navbar-nav-link-padding-x);
padding-left: var(--bs-navbar-nav-link-padding-x);
}
/* MAKES INHERITANCE LIST READABLE */