123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174 |
- @charset "UTF-8";
- /*主色调*/
- /*文字文本*/
- /*单行省略号*/
- /*多行省略号*/
- /*箭头*/
- /**a标签hoverboder效果**/
- /**使用vw适配**/
- .search-wrap {
- max-width: 800px;
- padding: 0 15px;
- margin: 0 auto;
- overflow: hidden;
- }
- .search-box {
- margin: 30px 0 20px;
- position: relative;
- height: 40px;
- line-height: 40px;
- border-radius: 6px;
- overflow: hidden;
- }
- @media (min-width: 768px) {
- .search-box {
- margin: 80px 0 30px;
- height: 48px;
- line-height: 48px;
- }
- }
- .search-box .input {
- position: relative;
- display: block;
- margin-right: 80px;
- height: 100%;
- }
- @media (min-width: 768px) {
- .search-box .input {
- margin-right: 120px;
- }
- }
- .search-box .input input {
- display: block;
- width: 100%;
- height: 100%;
- line-height: 24px;
- padding: 12px;
- padding-right: 40px;
- border: 0;
- border-width: 1px 0 1px 1px;
- border-color: #dedede;
- border-style: solid;
- border-top-left-radius: 6px;
- border-bottom-left-radius: 6px;
- }
- .search-box .input i {
- cursor: pointer;
- position: absolute;
- right: 0;
- top: 0;
- width: 40px;
- height: 100%;
- background: url("/assets/image/search-x.png") no-repeat center;
- background-size: 15px;
- display: none;
- }
- .search-box a {
- display: block;
- position: absolute;
- width: 80px;
- height: 100%;
- text-align: center;
- background: #ed4747;
- right: 0;
- top: 0;
- color: #fff;
- font-size: 14px;
- }
- @media (min-width: 768px) {
- .search-box a {
- width: 120px;
- font-size: 16px;
- }
- }
- .search-tab {
- border-bottom: 1px solid #dedede;
- }
- .search-tab a {
- display: inline-block;
- margin-right: 20px;
- height: 48px;
- line-height: 48px;
- border-bottom: 1px solid #fff;
- color: #666;
- font-size: 14px;
- padding: 0 5px;
- -webkit-transition: all .5s ease;
- transition: all .5s ease;
- }
- @media (min-width: 768px) {
- .search-tab a {
- margin-right: 70px;
- height: 54px;
- line-height: 54px;
- font-size: 16px;
- }
- }
- .search-tab a.cur, .search-tab a:hover {
- color: #ed4747;
- border-color: #ed4747;
- }
- .search-tab-con li {
- border-bottom: 1px solid #dedede;
- padding: 15px 0;
- -webkit-transition: all .5s ease;
- transition: all .5s ease;
- }
- @media (min-width: 768px) {
- .search-tab-con li {
- padding: 25px 0;
- }
- }
- .search-tab-con li:hover, .search-tab-con li:active {
- padding-left: 5px;
- }
- .search-tab-con li a {
- display: block;
- }
- .search-tab-con li a:hover h2, .search-tab-con li a:active h2 {
- color: #ed4747;
- }
- .search-tab-con li span {
- color: #999;
- font-size: 14px;
- }
- .search-tab-con li h2 {
- color: #111;
- line-height: 1.6;
- margin: 10px 0;
- font-size: 16px;
- -webkit-transition: all .5s ease;
- transition: all .5s ease;
- }
- @media (min-width: 768px) {
- .search-tab-con li h2 {
- font-size: 24px;
- }
- }
- @media (min-width: 1200px) {
- .search-tab-con li h2 {
- font-size: 28px;
- }
- }
|