mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 22:17:06 +08:00
pjax
This commit is contained in:
@@ -7,7 +7,14 @@
|
||||
margin-left: -15rem
|
||||
padding: 1rem
|
||||
width: 30rem
|
||||
background: $search-bg
|
||||
background: var(--search-bg)
|
||||
|
||||
@media screen and (max-width: $sm)
|
||||
top: 0
|
||||
left: 0
|
||||
margin: 0
|
||||
width: 100%
|
||||
height: 100%
|
||||
|
||||
hr
|
||||
margin: 1rem auto
|
||||
@@ -31,7 +38,7 @@
|
||||
font-size: 1rem
|
||||
line-height: 1
|
||||
|
||||
.search-mask
|
||||
#search-mask
|
||||
position: fixed
|
||||
top: 0
|
||||
right: 0
|
||||
@@ -39,16 +46,4 @@
|
||||
left: 0
|
||||
z-index: 1000
|
||||
display: none
|
||||
background: rgba($dark-black, .6)
|
||||
|
||||
@media screen and (max-width: $sm)
|
||||
.search-dialog
|
||||
top: 0
|
||||
left: 0
|
||||
margin: 0
|
||||
width: 100%
|
||||
height: 100%
|
||||
|
||||
.search-result-list
|
||||
padding-bottom: 2rem
|
||||
max-height: 75vh !important
|
||||
background: rgba($dark-black, .6)
|
||||
Reference in New Issue
Block a user