加入 script.min.js;补充链接
This commit is contained in:
@@ -31,7 +31,7 @@ body {
|
||||
flex-direction: column;
|
||||
font: normal 14px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
|
||||
justify-content: center;
|
||||
margin: 4em auto;
|
||||
margin: 5em auto;
|
||||
max-width: calc(100% - 2em);
|
||||
min-height: calc(100vh - 8em);
|
||||
/* text-transform: lowercase; */
|
||||
@@ -243,7 +243,7 @@ main section li a:not(.back) {
|
||||
/* 搜索面板 */
|
||||
|
||||
.search-panel {
|
||||
display: none;
|
||||
visibility: hidden;
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
@@ -262,15 +262,25 @@ main section li a:not(.back) {
|
||||
width: 60%;
|
||||
height: 50px;
|
||||
border: solid 2px #03A9F4;
|
||||
box-shadow: 0 0 5px rgba(3, 169, 244, 0.1);
|
||||
font-size: 20px;
|
||||
transition: border 0.2s;
|
||||
}
|
||||
.search-bar .search-input:hover {
|
||||
border: solid 2px #00BCD4;
|
||||
}
|
||||
.search-bar .search-submit, .search-bar .search-cancel {
|
||||
width: 75px;
|
||||
height: 50px;
|
||||
border: none;
|
||||
background-color: #03A9F4;
|
||||
box-shadow: 0 0 5px rgba(3, 169, 244, 0.1);
|
||||
font-size: 20px;
|
||||
color: #FFF;
|
||||
transition: background 0.2s;
|
||||
}
|
||||
.search-bar .search-submit:hover, .search-bar .search-cancel:hover {
|
||||
background-color: #00BCD4;
|
||||
}
|
||||
.search-bar .search-submit {
|
||||
margin-right: 5px;
|
||||
@@ -295,7 +305,7 @@ main section li a:not(.back) {
|
||||
.search-bar .search-input {
|
||||
margin: 15px 5px 0 0;
|
||||
padding: 0 10px;
|
||||
width: 50%;
|
||||
width: 55%;
|
||||
height: 40px;
|
||||
font-size: 16px;
|
||||
}
|
||||
@@ -305,12 +315,12 @@ main section li a:not(.back) {
|
||||
font-size: 16px;
|
||||
}
|
||||
.search-result {
|
||||
padding: 0 6%;
|
||||
padding: 0 5%;
|
||||
height: calc(100% - 80px);
|
||||
}
|
||||
.search-result a {
|
||||
margin-bottom: 10px;
|
||||
font-size: 20px;
|
||||
margin-bottom: 8px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -318,18 +328,26 @@ main section li a:not(.back) {
|
||||
|
||||
.floating-bar {
|
||||
position: fixed;
|
||||
left: 50%;
|
||||
bottom: 16px;
|
||||
padding-top: 7px;
|
||||
width: 50px;
|
||||
height: 32px;
|
||||
background-color: #4CAF50;
|
||||
box-shadow: 0 0 10px rgba(76, 175, 80, 0.8);
|
||||
text-align: center;
|
||||
font-size: 16px;
|
||||
color: #fff;
|
||||
left: 0;
|
||||
bottom: 20px;
|
||||
width: 100%;
|
||||
opacity: 0.9;
|
||||
transform: translateX(-50%)
|
||||
text-align: center;
|
||||
animation: FloatingBarSlide 1s ease-out 1;
|
||||
}
|
||||
.floating-bar-search, .floating-bar-tool, .floating-bar-about, .floating-bar-totop {
|
||||
display: inline-block;
|
||||
width: 45px;
|
||||
height: 30px;
|
||||
background-color: #4CAF50;
|
||||
box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
|
||||
text-align: center;
|
||||
line-height: 30px;
|
||||
font-size: 14px;
|
||||
color: #fff;
|
||||
}
|
||||
.floating-bar-tool, .floating-bar-about, .floating-bar-totop {
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
/* 选中 */
|
||||
@@ -357,3 +375,8 @@ main section li a:not(.back) {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
@keyframes FloatingBarSlide {
|
||||
from {
|
||||
bottom: -50px;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user