-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update: source github.com/jsonnet-libs/k8s@c97cb7d5
- Loading branch information
1 parent
5ce94ae
commit ac70d48
Showing
3 changed files
with
57 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,48 @@ | ||
.md-nav__link:first-letter { text-transform: lowercase; } | ||
/* Menu */ | ||
/* Decapitalize menu items, Mkdocs capilizes by default and can't be configured */ | ||
nav nav .md-nav__link .md-ellipsis::first-letter { text-transform: lowercase } | ||
|
||
/* TOC */ | ||
/* Don't wrap TOC links with spaces */ | ||
.md-sidebar--secondary .md-nav__item { white-space: nowrap } | ||
/* Scroll horizontal to make them accessible */ | ||
.md-sidebar--secondary .md-sidebar__scrollwrap { overflow-x: auto } | ||
|
||
/* Code */ | ||
/* Make codeblocks stand out */ | ||
.md-typeset pre>code { border-left: 0.2rem solid var(--md-accent-fg-color) } | ||
|
||
/* Headings */ | ||
/* Hide headings for functions but don't remove them, they function as deeplink targets */ | ||
h2[id^="fn-"], | ||
h3[id^="fn-"], | ||
h4[id^="fn-"], | ||
h5[id^="fn-"], | ||
h6[id^="fn-"], | ||
h7[id^="fn-"], | ||
h8[id^="fn-"], | ||
h9[id^="fn-"] { | ||
visibility: hidden; | ||
width: 0; | ||
height: 0; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
/* Parameters */ | ||
/* Format 'PARAMETERS' after highlight (div.highlight) */ | ||
/* Match first paragraph (p) but only if it is followed by an unsorted list (ul) */ | ||
article.md-content__inner.md-typeset div.highlight+p:has(+ul) { | ||
padding-left: 1em; | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
} | ||
/* Match first unsorted list (ul) after paragraph (p) */ | ||
article.md-content__inner.md-typeset div.highlight+p+ul { | ||
padding-left: 1em; | ||
margin-top:0; | ||
} | ||
article.md-content__inner.md-typeset div.highlight+p+ul li { | ||
margin-top: 0; | ||
margin-bottom: 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters