Style the search result. Use Obsidian theme colors and font-size

Based on PR #135
This commit is contained in:
Debanjum Singh Solanky 2023-03-30 03:32:24 +07:00
parent 40091489c0
commit d3257cb24e

View file

@ -145,3 +145,32 @@ If your plugin does not need CSS, delete this file.
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;
}