mirror of
https://github.com/redlib-org/redlib.git
synced 2025-06-19 23:50:59 +00:00
Add subreddits to search results
This commit is contained in:
parent
33c8bdffb9
commit
a85a4278f6
4 changed files with 102 additions and 1 deletions
|
@ -347,6 +347,45 @@ input[type="submit"]:hover { color: var(--accent); }
|
|||
background: var(--foreground);
|
||||
}
|
||||
|
||||
#search_subreddits {
|
||||
border-radius: 5px;
|
||||
background: var(--post);
|
||||
box-shadow: var(--shadow);
|
||||
transition: 0.2s all;
|
||||
border: 1px solid var(--highlighted);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.search_subreddit {
|
||||
padding: 16px 20px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
a.search_subreddit:hover {
|
||||
text-decoration: none;
|
||||
background: var(--foreground);
|
||||
}
|
||||
|
||||
.search_subreddit:not(:last-child) {
|
||||
border-bottom: 1px solid var(--highlighted);
|
||||
}
|
||||
|
||||
.search_subreddit_header {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.search_subreddit_name {
|
||||
font-weight: bold;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.search_subreddit_description {
|
||||
text-overflow: ellipsis;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Post */
|
||||
|
||||
.thread {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue