aboutsummaryrefslogtreecommitdiff
path: root/styles/search.css
diff options
context:
space:
mode:
Diffstat (limited to 'styles/search.css')
-rw-r--r--styles/search.css34
1 files changed, 34 insertions, 0 deletions
diff --git a/styles/search.css b/styles/search.css
index 5a63500..af6d3a4 100644
--- a/styles/search.css
+++ b/styles/search.css
@@ -2,6 +2,7 @@
background-color: var(--heliotrope-gray);
border-radius: 8px;
padding: 12px;
+ margin-bottom: 24px;
}
.searchBar .input {
@@ -36,3 +37,36 @@
color: var(--heliotrope-gray) !important;
}
+.searchResults .post::after {
+ display: none;
+}
+
+.searchResults .post {
+ display: block;
+ border-radius: 8px;
+
+ padding: 8px;
+ margin-bottom: 12px;
+ background-color: var(--oxford-blue);
+
+ color: var(--fg);
+}
+
+.searchResults .post .title,
+.searchResults .post .subtitle,
+.searchResults .post .authordate {
+ margin: 4px 0;
+}
+
+.searchResults .post .authordate {
+ font-style: italic;
+ opacity: .75;
+}
+
+@media (prefers-color-scheme: light) {
+ .searchBar { background-color: var(--fg); }
+ .searchBar .button { color: var(--fg) !important; }
+
+ .searchResults .post { background-color: var(--heliotrope-gray); }
+}
+