mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-05 13:21:18 +00:00
Style the search result. Use Obsidian theme colors and font-size
Based on PR #135
This commit is contained in:
@@ -145,3 +145,32 @@ If your plugin does not need CSS, delete this file.
|
|||||||
padding: 2px 4px;
|
padding: 2px 4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.khoj-result-file {
|
||||||
|
font-weight: 600;
|
||||||
|
}
|
||||||
|
|
||||||
|
.khoj-result-entry {
|
||||||
|
color: var(--text-muted);
|
||||||
|
margin-left: 2em;
|
||||||
|
padding-left: 0.5em;
|
||||||
|
line-height: normal;
|
||||||
|
margin-top: 0.2em;
|
||||||
|
margin-bottom: 0.2em;
|
||||||
|
border-left-style: solid;
|
||||||
|
border-left-color: var(--color-accent-2);
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.khoj-result-entry > * {
|
||||||
|
font-size: var(--font-ui-medium);
|
||||||
|
}
|
||||||
|
|
||||||
|
.khoj-result-entry > p {
|
||||||
|
margin-top: 0.2em;
|
||||||
|
margin-bottom: 0.2em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.khoj-result-entry p br {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user