-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2019 mengkun | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<p align="center"> | ||
<a href="http://bing.jsfinder.cn/" target="_blank"> | ||
<img src="https://xqimg.imedao.com/17356a573dac56a3fcbaa935.png" alt="让我帮你必应一下"> | ||
</a> | ||
</p> | ||
|
||
<h3 align="center"> 「Bing| Ask and it is given」</h3> | ||
|
||
让我帮你必应一下 - 优化版 | ||
|
||
原始版本来自 http://tool.mkblog.cn/lmbtfy/,本人在原作的基础上进行了重制,风格变更为新版必应 UI,并适配了移动端 | ||
|
||
交互效果参考了 不会必应么?( https://cn.bing.com/ ) | ||
|
||
### 在线演示 | ||
----- | ||
|
||
[http://bing.jsfinder.cn/](http://bing.jsfinder.cn/) | ||
|
||
|
||
### 相关项目 | ||
----- | ||
|
||
- Let Me Baidu That For You https://github.com/mengkunsoft/lmbtfy |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,341 @@ | ||
@charset "utf-8"; | ||
|
||
html, body, | ||
div, section, header, footer, | ||
button, input, textarea, | ||
p, ul, li { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: Microsoft Yahei, "微软雅黑", "Helvetica Neue", Helvetica, Hiragino Sans GB, WenQuanYi Micro Hei, sans-serif; | ||
} | ||
|
||
img { | ||
outline: none; | ||
} | ||
|
||
html, body { | ||
width: 100%; | ||
height: 100%; | ||
overflow-x: hidden; | ||
} | ||
|
||
|
||
/* 搜索框 */ | ||
#search { | ||
position: relative; | ||
height: 40%; | ||
min-height: 314px; | ||
max-height: 510px; | ||
margin: 0 auto; | ||
text-align: center; | ||
} | ||
|
||
#search-form { | ||
position: absolute; | ||
width: 100%; | ||
bottom: 0; | ||
} | ||
|
||
.search-form-group { | ||
position: relative; | ||
max-width: 655px; | ||
margin: 0 auto; | ||
} | ||
|
||
.search-form-input { | ||
position: absolute; | ||
left: 0; | ||
right: 108px; | ||
vertical-align: top; | ||
overflow: hidden; | ||
} | ||
|
||
.search-form-input input { | ||
width: 100%; | ||
height: 44px; | ||
padding: 12px 16px; | ||
font-size: 16px; | ||
outline: 0; | ||
box-shadow: none; | ||
border-radius: 10px 0 0 10px; | ||
border: 2px solid #c4c7ce; | ||
border-right: none; | ||
background: #fff; | ||
color: #222; | ||
} | ||
.search-form-group input:hover { | ||
border-color: #9195a3; | ||
} | ||
.search-form-group input:focus { | ||
border-color: #4e6ef2; | ||
} | ||
|
||
.search-form-group button { | ||
cursor: pointer; | ||
width: 108px; | ||
height: 44px; | ||
line-height: 45px; | ||
padding: 0; | ||
background: #4e6ef2; | ||
border-radius: 0 10px 10px 0; | ||
font-size: 17px; | ||
color: #fff; | ||
box-shadow: none; | ||
font-weight: 400; | ||
border: none; | ||
outline: 0; | ||
float: right; | ||
z-index: 1; | ||
} | ||
.search-form-group button:active { | ||
background-color: #4662d9; | ||
} | ||
.search-form-group button:hover { | ||
background-color: #4662d9; | ||
} | ||
|
||
.search-header { | ||
position: absolute; | ||
bottom: 60px; | ||
width: 100%; | ||
} | ||
|
||
.search-header h2 { | ||
font-size: 24px; | ||
font-weight: 900; | ||
} | ||
|
||
.search-header img { | ||
display: inline-block; | ||
height: 50px; | ||
position: relative; | ||
bottom: -15px; | ||
} | ||
|
||
/* 功能区 */ | ||
#function { | ||
position: absolute; | ||
width: 100%; | ||
min-height: 220px; | ||
text-align: center; | ||
margin-top: 80px; | ||
} | ||
|
||
#tips { | ||
color: #9195a3; | ||
font-size: 16px; | ||
} | ||
|
||
#stop { | ||
display: none; | ||
border: none; | ||
padding: 8px 15px; | ||
border-radius: 100px; | ||
color: #bababa; | ||
background: #f1f1f1; | ||
outline: none; | ||
cursor: pointer; | ||
margin-top: 50px; | ||
} | ||
|
||
#output { | ||
display: none; | ||
width: 100%; | ||
max-width: 400px; | ||
margin: 20px auto; | ||
} | ||
|
||
#output textarea { | ||
width: 100%; | ||
padding: 5px 8px; | ||
border-radius: 3px; | ||
border: 1px solid #c8c8c8; | ||
outline: none; | ||
} | ||
#output textarea:focus { | ||
border-color: #4285f4; | ||
box-shadow: 0 0 2px #4285f4; | ||
} | ||
|
||
#output .tool-btns { | ||
text-align: right; | ||
margin-top: 8px; | ||
} | ||
|
||
#output button { | ||
outline: none; | ||
cursor: pointer; | ||
color: #fff; | ||
background: #3f89ec; | ||
border: none; | ||
margin-left: 8px; | ||
padding: 6px 14px; | ||
border-radius: 3px; | ||
} | ||
#output button:hover { | ||
background: #4490f7; | ||
} | ||
#output button:focus { | ||
background: #3a84e8; | ||
} | ||
|
||
|
||
/* 页脚 */ | ||
#footer { | ||
width: 100%; | ||
position: fixed; | ||
z-index: 100; | ||
bottom: 0; | ||
left: 0; | ||
height: 40px; | ||
line-height: 40px; | ||
font-size: 12px; | ||
overflow: hidden; | ||
background-color: #fafafa; | ||
padding: 0 20px; | ||
} | ||
|
||
#footer li { | ||
list-style: none; | ||
display: inline-block; | ||
float: left; | ||
padding: 0 10px; | ||
} | ||
|
||
.footer-left, .footer-left a { | ||
color: #9195a3; | ||
text-decoration: none; | ||
} | ||
|
||
.footer-right { | ||
float: right; | ||
} | ||
.footer-right, .footer-right a { | ||
color: #bbb; | ||
} | ||
|
||
|
||
/* 鼠标指示箭头 */ | ||
#arrow { | ||
display: none; | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
width: 50px; | ||
height: 50px; | ||
z-index: 999; | ||
background: url(../img/arrow.png) no-repeat; | ||
} | ||
|
||
#arrow::after { | ||
content: ''; | ||
position: absolute; | ||
top: -13px; | ||
left: -15px; | ||
z-index: -1; | ||
border-radius: 9em; | ||
box-shadow: 0 0 0 7px rgba(0,0,0,.4); | ||
width: 30px; | ||
height: 30px; | ||
opacity: 0; | ||
} | ||
|
||
#arrow.active::after { | ||
-webkit-animation: bubble-scale 1s ease; | ||
animation: bubble-scale 1s ease; | ||
} | ||
|
||
@-webkit-keyframes bubble-scale { | ||
from { | ||
transform: scale(0); | ||
opacity: 1 | ||
} | ||
to { | ||
transform:scale(2); | ||
opacity: 0 | ||
} | ||
} | ||
|
||
@keyframes bubble-scale { | ||
from { | ||
transform: scale(0); | ||
opacity: 1 | ||
} | ||
to { | ||
transform: scale(2); | ||
opacity: 0 | ||
} | ||
} | ||
|
||
|
||
|
||
/* 响应式优化 */ | ||
@media screen and (max-width: 650px) { | ||
#search { | ||
margin: 0 10px; | ||
height: auto; | ||
min-height: 200px; | ||
} | ||
|
||
.search-header img { | ||
width: 180px; | ||
} | ||
|
||
#search-form { | ||
bottom: 10px; | ||
border: 1px solid #363636; | ||
} | ||
|
||
.search-form-input { | ||
right: 81px; | ||
} | ||
|
||
.search-form-input input { | ||
border: none; | ||
border-radius: 0; | ||
padding: 12px; | ||
} | ||
|
||
.search-form-group button { | ||
width: 81px; | ||
height: 44px; | ||
padding: 0 10px; | ||
border: none; | ||
border-left: 1px solid #e8e8e8; | ||
border-radius: 0; | ||
font-size: 16px; | ||
font-weight: 700; | ||
line-height: 46px; | ||
white-space: nowrap; | ||
letter-spacing: -1px; | ||
color: #38f; | ||
background: #fff; | ||
} | ||
|
||
.search-form-group button:active { | ||
background-color: #fdfafa; | ||
} | ||
.search-form-group button:hover { | ||
background-color: #fdfafa; | ||
} | ||
|
||
#function { | ||
position: relative; | ||
top: 0; | ||
margin-top: 50px; | ||
padding: 0 10px; | ||
} | ||
|
||
#stop { | ||
margin-top: 30px; | ||
} | ||
|
||
#footer { | ||
padding: 0; | ||
} | ||
|
||
#arrow { | ||
background: url(../img/hand.png) no-repeat; | ||
} | ||
} |