style: optimize local search page css

This commit is contained in:
XPoet 2020-04-12 00:03:22 +08:00
parent 1382391d6e
commit fe0e0024b5
1 changed files with 19 additions and 3 deletions

View File

@ -75,12 +75,28 @@ input.search-input {
ul.search-result-list { ul.search-result-list {
margin: 10px 5px; margin: 10px 5px;
width: 100%; width: 100%;
li {
border-bottom: 1px solid var(--border-color);
margin-bottom: 20px;
a {
display: block;
margin-bottom: 16px;
}
&:last-child {
margin-bottom: 0;
}
}
} }
p.search-result { p.search-result {
border-bottom: 1px solid var(--border-color); margin 0
padding-bottom: 10px; padding 0
margin-bottom: 20px; // border-bottom: 1px solid var(--border-color);
// padding-bottom: 10px;
// margin-bottom: 20px;
} }
a.search-result-title { a.search-result-title {