/*全局公共样式重置*/ body, div, ul, li, ol, h1, h2, h3, h4, h5, h6, input, textarea, select, p, dl, dt, dd, a, img, button, form, table, th, tr, td, tbody, article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { margin: 0; padding: 0; box-sizing: border-box; border: none; outline: none; font-size: inherit; } ul, ol { list-style: none; } ul, li { list-style-type: none; } h1, h2, h3, h4, h5, h6, strong, b, i, em { font-weight: normal; font-style: normal; } a { text-decoration: none; font-family: '微软雅黑','Microsoft YaHei', Tahoma, Arial, sans-serif; } a:hover { text-decoration: none; } img { border: 0; /*ie6*/ vertical-align: middle; } textarea { resize: none; } .clearfix:after { content: ''; display: block; visibility: hidden; height: 0; clear: both; } .clearfix { zoom: 1; } ::-webkit-scrollbar { width: 10px; height: 10px; background-color: #fefefe; } ::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); border-radius: 1px; background-color: #fefefe; } ::-webkit-scrollbar-thumb { border-radius: 4px; -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, .3); background-color: #ccc; } @charset "UTF-8"; .text-warning { color: #efb723; } .text-orange { color: #ff7b00; } .text-danger { color: #f70a0a; } .text-gray-light { color: #999; } .font-700{ font-weight: bold; } .flex-row { display: flex; } .flex-row-vcenter { display: flex; align-items: center; } /* 垂直居中对齐 */ .flex-row-rcenter { display: flex; justify-content: center; } /* 水平居中对齐 */ .flex-row-c { display: flex; align-items: center; justify-content: center; } /* 水平垂直居中对齐 */ .flex-row-bw { display: flex; justify-content: space-between; } .flex-row-ad { display: flex; justify-content: space-around; } .flex-row-end { display: flex; justify-content: flex-end; } .flex-wrap { flex-wrap: wrap; } /* 换行，默认nowrap（不换行）*/ .flex-col { display: flex; flex-direction: column; } .flex-col-vcenter { display: flex; flex-direction: column; justify-content: center; } /* 纵向布局垂直居中 */ .flex-col-rcenter { display: flex; flex-direction: column; align-items: center; } /* 纵向布局水平居中对齐 */ .flex-col-c { display: flex; flex-direction: column; align-items: center; justify-content: center; } .flex-col-bw { display: flex; flex-direction: column; justify-content: space-between; } .flex1-row { flex: 1; width: 1px; } .flex1-col { flex: 1; height: 1px; } .flex-shrink { flex-shrink: 0; } .w100 { width: 100%; } .h100 { height: 100%; } .cursor-pointer { cursor: pointer; } .vertical-middle { vertical-align: middle; } .line-ellipsis { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; } .line-ellipsis2 { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /*! autoprefixer: off */ -moz-box-orient: vertical; -webkit-box-orient: vertical; } @charset "UTF-8"; body { background-color: #fff; color: #333; font-size: 14px; } /*首页搜索*/ .search-form { width: 300px; text-align: center; margin: 0 auto; border-radius: 5px; background: #f5f5f5; padding-left: 10px; } .search-form .wd { height: 40px; line-height: 40px; font-size: 14px; background: #f5f5f5; } .search-form .icon-search { padding: 0 10px; font-size: 16px; color: #999; font-weight: 700; cursor: pointer; } .search-form .icon-search:hover { color: #556dea; } .autocomplete-suggestions { text-align: left; line-height: 24px; cursor: default; border: 1px solid #eee; border-top: 0; background: #fff; position: absolute; display: none; z-index: 9999; margin-top: 0px; overflow: hidden; overflow-y: auto; box-sizing: border-box; padding: 0 5px; border-radius: 0 0 5px 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); z-index: -1; } .autocomplete-suggestions strong { font-weight: normal; color: #3399ff; } .autocomplete-suggestion { white-space: nowrap; overflow: hidden; padding: 3px 8px; font-size: 14px; } .autocomplete-selected { background: #f0f0f0; } .ys-container { max-width: 720px; margin: 80px auto 0 auto; text-align: center; padding-bottom: 100px; } .ys-logo { display: flex; align-items: center; justify-content: center; margin-bottom: 40px; } .ys-logo .logo-img { width: 110px; height: auto; margin-right: 10px; } .ys-search-form { padding: 0 10px 0 5px; gap: 16px; } .ys-search-box { display: flex; align-items: center; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); height: 46px; border: 1px solid #eee; overflow: hidden; } .icon-search { font-size: 24px; color: #999; margin-right: 5px; } .ys-search-input { border: none; outline: none; font-size: 16px; width: 100%; padding: 0 18px; box-sizing: border-box; background: transparent; } .ys-search-btn { background: #556dea; color: #fff; border: none; border-radius: 8px; font-size: 16px; height: 42px; line-height: 42px; width: 110px; cursor: pointer; } .ys-search-btn:hover { background: #3456c6; } .ys-hot { margin-top: 80px; padding: 0 20px; text-align: left; padding-bottom: 120px; } .ys-hot-title { font-size: 16px; font-weight: bold; margin-bottom: 18px; gap: 8px; } .ys-hot-title em { border-bottom: 2px solid #556dea; font-weight: 700; } .ys-hot-list { list-style: none; padding: 0; margin: 0; } .ys-hot-list li { line-height: 36px; font-size: 16px; cursor: pointer; width: 50%; padding-right: 20px; } .ys-hot-list li:nth-child(2n) { padding-right: 0; } .ys-hot-list li .ys-hot-rank { display: flex; flex-shrink: 0; width: 22px; text-align: center; font-weight: bold; } .ys-hot-list li .ys-hot-rank.up { color: #ff4d4f; font-size: 18px; } .ys-hot-list li .ys-hot-rank.num { color: #999; font-size: 16px; } .ys-hot-list li .ys-hot-tag { display: block; font-size: 12px; border-radius: 4px; margin-left: 8px; height: 18px; padding: 0 3px; line-height: 18px; text-align: center; } .ys-hot-list li .ys-hot-tag.new { background: #f36873; color: #fff; } .ys-hot-list li .ys-hot-tag.hot { background: #ff7b00; color: #fff; } .ys-header-box { border-bottom: 1px solid #ddd; padding: 10px 0; } .ys-header { margin: 0 auto; max-width: 1100px; } .ys-header-content { margin-left: -98px; width: 987px; } .ys-header .ys-logo { margin-bottom: 0; } .ys-header .logo-img { width: 88px; height: auto; } .wd { padding-left: 12px; font-size: 16px; height: 100%; } .nav-links { margin-top: 12px; gap: 16px; padding-left: 10px; } .nav-links li a, .nav-links li a:link, .nav-links li a:visited { height: 32px; line-height: 32px; border-radius: 8px; background-color: #f5f6f9; min-width: 50px; padding: 0 10px; color: #333; display: block; font-size: 14px; } .nav-links li a:hover { color: #556dea; } .nav-links li.active a { background-color: #f1f3fc; color: #556dea; } .content-box { margin: 0 auto; width: 1100px; padding: 20px 10px 0 10px; } .list-box { flex: 1; } .list-box .list-item { background-color: #fff; border-radius: 8px; border: 1px solid #f1f1f1; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.06); padding: 16px; margin-bottom: 16px; } .list-box .list-item-title a { font-size: 16px; cursor: pointer; font-size: 18px; line-height: 24px; color: #4b6dc0; text-decoration: underline; display: block; } .list-box .list-item-desc { padding-top: 5px; font-size: 14px; line-height: 22px; color: #333; max-height: 52px; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .list-box .list-item em { color: #f73131; } .list-box .list-item-footer { color: #999; } .list-box .list-item .icon-a-13-shangjiantou { color: #ddd; font-size: 14px; padding-left: 3px; } .right-box { width: 295px; flex-shrink: 0; margin-left: 40px; } .card-title { font-size: 18px; line-height: 30px; margin-bottom: 6px; } .card-search-list li { width: 100%; } .card-search-list a { display: block; color: #333; background-color: #f5f6f9; border-radius: 8px; height: 36px; line-height: 36px; padding: 0 10px; margin-bottom: 12px; } .card-search-list .icon-search { font-size: 16px; color: #6473bd; margin-right: 3px; } .card-hot-list a { display: block; color: #556dea; font-size: 16px; line-height: 36px; } .card-hot-list .hot-num { font-size: 16px; display: block; width: 24px; text-align: center; line-height: 30px; flex-shrink: 0; } .footer-box { background-color: #f5f5f6; padding: 0 10px; } .footer-box .pagination { display: flex; gap: 0.5rem; margin-top: 20px; padding-bottom: 20px; } .footer-box .pagination .page-link { box-sizing: border-box; height: 34px; line-height: 34px; text-align: center; padding: 0 14px; border-radius: 4px; color: #556dea; background-color: #fff; } .footer-box .pagination .page-link:hover { color: #556dea; } .footer-box .pagination .page-link.active { background-color: #556dea; color: #fff; border-color: #556dea; } .footer-wrap { border-top: 1px solid #ddd; padding-bottom: 20px; } .footer-content { line-height: 24px; color: #bbb; margin: 0 auto; flex-wrap: wrap; } .footer-content a, .footer-content a:link, .footer-content a:visited { color: #bbb; font-size: 14px; margin-right: 16px; cursor: pointer; display: block; flex-shrink: 0; } .footer-content a:hover { color: #556dea; } .footer-bottom { text-align: center; padding: 20px; background-color: #fff; } .footer-bottom .footer-content { max-width: 700px; } .ys-loading { padding: 5vh 10px 0 10px; } .loading-box { width: 100%; max-width: 600px; margin: 0 auto; border: 1px solid #ddd; border-radius: 8px; padding: 16px; } .loading-box-tip { background-color: #fcf5e8; height: 50px; line-height: 50px; text-align: center; border-radius: 4px; } .loading-box-title { font-size: 18px; line-height: 40px; padding-top: 20px; } .loading-box-content { font-size: 14px; line-height: 24px; max-height: 48px; color: #666; } .loading-box-link { color: #999; } .loading-box-btn { margin-top: 16px; border-top: 1px solid #ddd; padding-top: 16px; } .loading-box-btn .ys-search-btn { height: 42px; line-height: 42px; } .content-flex { display: flex; justify-content: space-between; } .mobile-show{ display: none; } @media (max-width: 960px) { .ys-container{ margin-top: 5vh; } .ys-logo{ margin-bottom: 30px; } .mobile-show{ display: block; } .content-box { width: 100%; } .right-box { width: 100%; margin-left: 0; } .ys-header-content { margin-left: 0; width: 100%; } .ys-header .logo-img { width: 56px; margin-right: 0; margin-left: 5px; } .content-flex { padding-left: 10px; padding-right: 10px; flex-direction: column; } .content-flex .list-box { width: 100%; } .mobile-hiden { display: none; } .card-search-list li { width: 48%; } .ys-search-form { gap: 10px; } .ys-search-btn { width: 70px; } .loading-btn{ width: auto; } .nav-links { gap: 10px; } .nav-links li:nth-child(n+7) { display: none; } .list-box .list-item { padding: 10px; } .pagination-wap{ background-color: #fff; border-radius: 8px; border: 1px solid #f1f1f1; box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.06); margin: 0 10px; margin-bottom: 20px; height: 48px; line-height: 48px; } .pagination-wap a{ display: block; width: 35%; text-align: center; color: #333; } .pagination-wap span{ flex:1; display: block; border-left:1px solid #ddd; border-right: 1px solid #ddd; text-align: center; height: 16px; line-height: 16px; } .list-search{ height: 40px; } .list-search-btn{ height: 36px; line-height: 36px; } } .no-data{ min-height: 500px; font-size: 20px; padding-top: 140px; padding-left: 35%; } /*# sourceMappingURL=style.css.map */