代码拉取完成,页面将自动刷新
* {
margin: 0;
padding: 0;
outline: 0;
border: 0;
}
body {
background: #000;
}
.bg {
filter: blur(20px);
position: fixed;
z-index: -1;
width: 100%;
height: 100%;
background: url("bg.webp");
background-repeat: no-repeat;
background-position: 30%;
background-size: auto 100%;
}
#search-box {
position: absolute;
height: 50px;
width: 40%;
border-radius: 10px;
top: calc(50vh - 50px);
left: 30%;
background: rgba(255, 255, 255, 0.8);
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.15);
}
#search-box:focus {
background: rgba(255, 255, 255, 0.9);
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.3);
}
#search-box > * {
font-size: 20px;
height: 100%;
float: left;
background: transparent;
}
#search-engine {
display: inline-block;
width: 34px;
height: 34px;
margin: 8px 8px;
border-radius: 8px;
background-size: 100% 100% !important;
}
#search-engine.active::before {
content: "";
display: inline-block;
border-radius: 8px;
width: 34px;
height: 34px;
background: rgba(0, 0, 0, 0.3);
}
#search-input {
width: calc(100% - 50px);
padding: 0 5px;
}
#search-engine-list {
display: none;
list-style: none;
border-radius: 10px;
box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.15);
width: 100%;
margin-top: 5px;
overflow: hidden;
height: max-content;
cursor: pointer;
}
#search-engine-list > li {
background: rgba(255, 255, 255, 0.8);
padding: 3px 15px;
color: #333;
}
#search-engine-list > li:hover {
background: rgba(255, 255, 255, 0.9);
}
#search-engine-list.active {
display: unset;
}
@media screen and (max-width:800px) {
#search-box {
width: 90%;
left: 5%;
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。