mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-12-26 23:06:20 +00:00
28 lines
599 B
CSS
28 lines
599 B
CSS
.book .book-summary .book-search {
|
|
padding: 6px;
|
|
background: transparent;
|
|
position: absolute;
|
|
top: -50px;
|
|
left: 0px;
|
|
right: 0px;
|
|
transition: top 0.5s ease;
|
|
}
|
|
.book .book-summary .book-search input,
|
|
.book .book-summary .book-search input:focus,
|
|
.book .book-summary .book-search input:hover {
|
|
width: 100%;
|
|
background: transparent;
|
|
border: 1px solid transparent;
|
|
box-shadow: none;
|
|
outline: none;
|
|
line-height: 22px;
|
|
padding: 7px 4px;
|
|
color: inherit;
|
|
}
|
|
.book.with-search .book-summary .book-search {
|
|
top: 0px;
|
|
}
|
|
.book.with-search .book-summary ul.summary {
|
|
top: 50px;
|
|
}
|