Skip to content

Commit

Permalink
✨美化样式
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaffebabe committed Jan 28, 2021
1 parent 6144f2b commit f12e724
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions styles/website.css
Expand Up @@ -67,4 +67,35 @@ li.chapter a:hover {
/* 阅读数 */
.page-view-counter::before{
content:"⚡"
}
/* 搜索栏 */
#book-search-input input, #book-search-input input:focus, #book-search-input input:hover{
width:auto!important;
transition: all .3s;
}
#book-search-input input:focus{
border: 1px solid #008cff;

}
#book-search-input::before{
display: inline-block;
content: "🔍";
}
/* 搜索高亮 */
#book-search-results span.search-highlight-keyword {
color: #008cff;
font-weight: 700;
}
/* 搜索结果标题 */
#book-search-results .search-results .has-results .search-results-item a:hover{
text-decoration: none;
color: #72b0ec;
}
/* 文章页内高亮 */
mark {
background: #008cff;
color: #fff;
font-weight: 700;
border-radius: 4px;
padding: 0 2px;
}

0 comments on commit f12e724

Please sign in to comment.