generated from nhcarrigan/template
fix: make text in inline code blocks visible
This commit is contained in:
@@ -191,6 +191,20 @@ site-search button[data-open-modal] kbd {
|
|||||||
border-color: var(--primary-color) !important;
|
border-color: var(--primary-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:where(.sl-markdown-content, .content-panel, article) :not(pre) > code {
|
||||||
|
font-family: "Courier New", monospace;
|
||||||
|
font-weight: 600;
|
||||||
|
background: rgba(43, 27, 61, 0.05) !important;
|
||||||
|
color: var(--witch-purple) !important;
|
||||||
|
padding: 2px 6px;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
html[data-theme="dark"] :where(.sl-markdown-content, .content-panel, article) :not(pre) > code {
|
||||||
|
background: rgba(255, 255, 255, 0.08) !important;
|
||||||
|
color: var(--witch-lavender) !important;
|
||||||
|
}
|
||||||
|
|
||||||
#starlight__search {
|
#starlight__search {
|
||||||
--pagefind-ui-text: var(--primary-color);
|
--pagefind-ui-text: var(--primary-color);
|
||||||
--pagefind-ui-primary: var(--witch-rose);
|
--pagefind-ui-primary: var(--witch-rose);
|
||||||
|
|||||||
Reference in New Issue
Block a user