new: Added post search module

This commit is contained in:
2024-12-17 16:15:51 +08:00
parent 474bf3e6bb
commit 9386306e7e
26 changed files with 590608 additions and 11 deletions

View File

@@ -26,6 +26,12 @@ html, body {
background-color: var(--background-color);
}
input:focus {
border: none;
outline: none;
box-shadow: none;
}
a, a:link, a:visited, a:active {
text-decoration: none;
color: var(--primary-text-color);
@@ -101,4 +107,33 @@ a:hover {
padding: 20px;
border-radius: 4px;
border: var(--secondary-text-color) 1px dashed;
}
.search-wrap {
width: 300px;
height: 30px;
line-height: 30px;
display: flex;
}
.search-input {
width: 270px;
height: 30px;
line-height: 30px;
display: inline;
border: none;
border-radius: 4px;
}
.search-button {
width: 30px;
height: 30px;
display: inline;
border: none;
border-radius: 4px;
background: var(--secondary-color);
}
.search-button:hover {
background: var(--primary-color);
}

View File

@@ -0,0 +1,25 @@
.search-post-title {
color: var(--primary-color);
}
.search-post-item {
padding-top: 5px;
padding-bottom: 5px;
color: var(--primary-text-color);
list-style: none;
}
.search-post-item-wrap {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.search-post-item-date {
color: var(--secondary-text-color);
}
.search-post-pagination-item {
color: var(--secondary-text-color);
padding-right: 10px;
}

View File

@@ -1,4 +1,4 @@
.tagged-name {
.tagged-post-title {
color: var(--primary-color);
}