1273 lines
23 KiB
CSS
1273 lines
23 KiB
CSS
.wrapper {
|
|
width: 90%;
|
|
margin: 0 auto;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* header */
|
|
|
|
.header {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0 5% 0 2%;
|
|
gap: 20px;
|
|
background-color: #2D6B7D;
|
|
}
|
|
|
|
.header .logo {
|
|
display: flex;
|
|
flex: 1 1 auto;
|
|
max-width: 55%;
|
|
min-width: 0;
|
|
align-items: center;
|
|
margin: 0;
|
|
border-radius: 20px;
|
|
font-size: 120%;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.header .logo img {
|
|
height: 80px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
display: block;
|
|
}
|
|
|
|
.header .logo .title {
|
|
margin-left: 2%;
|
|
width: auto;
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: baseline;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 110%;
|
|
color: white;
|
|
font-weight: 600;
|
|
white-space: normal;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
font-size: 80%;
|
|
color: white;
|
|
margin: 0;
|
|
white-space: normal;
|
|
line-height: 1.2;
|
|
}
|
|
|
|
.header .nev {
|
|
flex: 0 1 auto;
|
|
height: 100%;
|
|
min-width: 0;
|
|
}
|
|
|
|
.header .nev .nev-child-1 {
|
|
display: flex;
|
|
width: 100%;
|
|
height: 100%;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
}
|
|
|
|
.header .nev-child-1 li {
|
|
padding: 1% 2%;
|
|
border-radius: 10px;
|
|
position: relative;
|
|
list-style: none;
|
|
}
|
|
|
|
/* 鼠标悬停导航栏 */
|
|
.header li:hover a {
|
|
color: black;
|
|
}
|
|
.header .icon-jiantou_shang {
|
|
display: none;
|
|
}
|
|
.header li:hover .icon-jiantou_xia {
|
|
display: none;
|
|
}
|
|
.header li:hover .icon-jiantou_shang {
|
|
display: inline-block;
|
|
}
|
|
|
|
/* 箭头图标对齐样式 */
|
|
.header .icon-jiantou_xia,
|
|
.header .icon-jiantou_shang {
|
|
font-size: 12px;
|
|
vertical-align: middle;
|
|
line-height: 1;
|
|
margin-left: 4px;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 150%;
|
|
font-weight: 700;
|
|
color: white;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
}
|
|
|
|
.header .nev-child-2 {
|
|
display: none;
|
|
position: absolute;
|
|
top: 70%;
|
|
left: 50%;
|
|
transform: translateX(-50%) translateY(-10px);
|
|
background: linear-gradient(135deg, #ffffff 0%, #f8fbfc 100%);
|
|
border-radius: 12px;
|
|
box-shadow: 0 12px 35px rgba(46, 90, 97, 0.2);
|
|
border: 1px solid rgba(46, 90, 97, 0.08);
|
|
overflow: hidden;
|
|
z-index: 9999;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
margin-top: 8px;
|
|
min-width: 200px;
|
|
}
|
|
|
|
/* 下拉菜单顶部小箭头 */
|
|
.header .nev-child-2::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: -8px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 0;
|
|
height: 0;
|
|
border-left: 8px solid transparent;
|
|
border-right: 8px solid transparent;
|
|
border-bottom: 8px solid #ffffff;
|
|
filter: drop-shadow(0 -2px 4px rgba(46, 90, 97, 0.1));
|
|
}
|
|
|
|
.header .nev-child-2 li {
|
|
width: 100%;
|
|
background-color: transparent;
|
|
text-align: left;
|
|
border-bottom: 1px solid rgba(46, 90, 97, 0.08);
|
|
font-weight: 400;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-last-child(1) {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.header .nev-child-2 li a {
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 14px 10px;
|
|
color: #2E5A61;
|
|
text-decoration: none;
|
|
font-size: 100%;
|
|
font-weight: 500;
|
|
position: relative;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.header .nev-child-2 li a:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 0;
|
|
z-index: -1;
|
|
}
|
|
|
|
.header .nev-child-2 li:hover {
|
|
background-color: rgba(71, 183, 190, 0.05);
|
|
transform: translateX(3px);
|
|
}
|
|
|
|
.header .nev-child-2 li:hover a {
|
|
color: #2E5A61;
|
|
}
|
|
|
|
.header .nev-child-2 li:hover a:before {
|
|
width: 4px;
|
|
}
|
|
|
|
|
|
/* 每个菜单项的特色样式 */
|
|
.header .nev-child-2 li:nth-child(1):hover {
|
|
background: linear-gradient(90deg, rgba(255, 193, 7, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(2):hover {
|
|
background: linear-gradient(90deg, rgba(220, 53, 69, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(3):hover {
|
|
background: linear-gradient(90deg, rgba(255, 87, 34, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(4):hover {
|
|
background: linear-gradient(90deg, rgba(76, 175, 80, 0.1), transparent);
|
|
}
|
|
|
|
.header .nev-child-2 li:nth-child(5):hover {
|
|
background: linear-gradient(90deg, rgba(156, 39, 176, 0.1), transparent);
|
|
}
|
|
|
|
/* 菜单项动画序列 */
|
|
.header li:hover .nev-child-2 li {
|
|
animation: slideInFromLeft 0.3s ease forwards;
|
|
opacity: 0;
|
|
transform: translateX(-20px);
|
|
}
|
|
|
|
.header li:hover .nev-child-2 li:nth-child(1) { animation-delay: 0.1s; }
|
|
.header li:hover .nev-child-2 li:nth-child(2) { animation-delay: 0.15s; }
|
|
.header li:hover .nev-child-2 li:nth-child(3) { animation-delay: 0.2s; }
|
|
.header li:hover .nev-child-2 li:nth-child(4) { animation-delay: 0.25s; }
|
|
.header li:hover .nev-child-2 li:nth-child(5) { animation-delay: 0.3s; }
|
|
|
|
@keyframes slideInFromLeft {
|
|
to {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
}
|
|
}
|
|
|
|
/* 下拉菜单显示动画 */
|
|
.header li:hover .nev-child-2 {
|
|
display: block;
|
|
opacity: 1;
|
|
visibility: visible;
|
|
transform: translateX(-50%) translateY(0);
|
|
}
|
|
|
|
/* 搜索部分样式 */
|
|
.search-section {
|
|
width: 100%;
|
|
border-radius: 8px;
|
|
background-color: #eff5ff;
|
|
padding: 20px 0 0 0;
|
|
}
|
|
|
|
.search-section .contant .wrapper {
|
|
/* border: 1px solid #bdbaba; */
|
|
border-radius: 8px;
|
|
background-color: #fff;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.contant h3 {
|
|
font-size: 120%;
|
|
color: #2E5A61;
|
|
font-weight: 700;
|
|
padding: 10px 0;
|
|
}
|
|
|
|
|
|
/* 结果部分样式 */
|
|
.results-section {
|
|
width: 100%;
|
|
background-color: #eff5ff;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.results-section .contant .wrapper {
|
|
/* border: 1px solid #bdbaba; */
|
|
border-radius: 8px;
|
|
padding: 0 20px 10px 20px;
|
|
background-color: #fff;
|
|
}
|
|
|
|
|
|
/* 搜索标签样式 */
|
|
.search-tabs {
|
|
width: 100%;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.tab-buttons {
|
|
display: flex;
|
|
gap: 0;
|
|
border-radius: 8px;
|
|
overflow: hidden;
|
|
max-width: 800px;
|
|
}
|
|
|
|
.tab-btn {
|
|
flex: 1;
|
|
padding: 10px;
|
|
border: none;
|
|
font-size: 120%;
|
|
font-weight: 500;
|
|
cursor: pointer;
|
|
transition: all 0.3s ease;
|
|
border-bottom: 3px solid transparent;
|
|
}
|
|
|
|
.tab-btn:first-child {
|
|
border-right: 1px solid #ddd;
|
|
}
|
|
|
|
.tab-btn:hover {
|
|
background-color: #e8e8e8;
|
|
color: #333;
|
|
}
|
|
|
|
.tab-btn.active {
|
|
background-color: #E8F4F8;
|
|
}
|
|
|
|
/* 标签内容样式 */
|
|
.tab-content {
|
|
width: 100%;
|
|
padding: 0 3%;
|
|
}
|
|
|
|
.tab-panel {
|
|
animation: fadeIn 0.3s ease-in-out;
|
|
display: flex;
|
|
}
|
|
|
|
|
|
@keyframes fadeIn {
|
|
from { opacity: 0; transform: translateY(10px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
/* 物种搜索样式 */
|
|
.species {
|
|
width: 100%;
|
|
margin-top: 0;
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
/* .search_mic {
|
|
display: flex;
|
|
width: 80%;
|
|
margin: 40px auto 0;
|
|
align-items: center;
|
|
padding: 10px 10px;
|
|
border: 1px solid #bdbaba;
|
|
border-radius: 8px;
|
|
} */
|
|
|
|
.tab-panel p {
|
|
margin-bottom: 5px;
|
|
/* font-size: 90%; */
|
|
}
|
|
|
|
.tab-panel .searchMic {
|
|
width: 51%;
|
|
}
|
|
|
|
.tab-panel .micName {
|
|
display: flex;
|
|
width: 100%;
|
|
align-items: center;
|
|
border: 1px solid #bdbaba;
|
|
border-radius: 4px;
|
|
padding: 5px 10px;
|
|
}
|
|
|
|
.tab-panel input {
|
|
border: none;
|
|
outline: none;
|
|
font-size: 120%;
|
|
width: 95%;
|
|
}
|
|
|
|
.selectDatabase {
|
|
margin-left: 5%;
|
|
}
|
|
|
|
.selDatabse {
|
|
font-size: 120%;
|
|
padding: 4px 10px;
|
|
border-radius: 4px;
|
|
box-sizing: border-box;
|
|
border: 1px solid #bdbaba;
|
|
font-weight: 500;
|
|
color: #333
|
|
}
|
|
|
|
/* 文件信息显示样式 */
|
|
.file-info {
|
|
width: 80%;
|
|
margin: 0 auto;
|
|
margin-top: 10px;
|
|
padding-left: 10px;
|
|
}
|
|
|
|
.file-selected p {
|
|
margin: 5px 0;
|
|
font-size: 14px;
|
|
color: #333;
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.butt {
|
|
width: 100%;
|
|
text-align: center;
|
|
padding:20px 0;
|
|
}
|
|
|
|
.butt button {
|
|
font-size: 120%;
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
border: 1px solid #4A90A4;
|
|
color: white;
|
|
background-color: #4A90A4;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.butt button:first-child {
|
|
margin-right: 20px;
|
|
}
|
|
|
|
.butt button:hover {
|
|
color: black;
|
|
background-color: #9EB3BA;
|
|
}
|
|
|
|
/* 结果部分目标物种样式 */
|
|
.target_species {
|
|
width: 100%;
|
|
}
|
|
|
|
.citation-card {
|
|
flex: 1;
|
|
min-height: 30px;
|
|
padding: 0;
|
|
margin-bottom: 10px;
|
|
overflow: visible;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.citation-banner {
|
|
top: 0;
|
|
left: -8px;
|
|
background: #20B2AA;
|
|
color: white;
|
|
padding: 5px 25px 5px 15px;
|
|
font-size: 110%;
|
|
font-weight: 600;
|
|
/* text-transform: uppercase; */
|
|
letter-spacing: 0.5px;
|
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
|
|
z-index: 10;
|
|
clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.citation-banner span {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
|
|
/* 微生物信息样式 */
|
|
.mic_info {
|
|
width: 100%;
|
|
margin: 5px 0 15px 0;
|
|
border: #bdbaba 1px solid;
|
|
border-radius: 10px;
|
|
padding-top: 10px;
|
|
}
|
|
|
|
.mic_info .info1 {
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 10px 20px;
|
|
border-bottom: #bdbaba 1px solid;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.mic_info .info1:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.mic_info .info1 span {
|
|
width: 15%;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.mic_info .info1 p {
|
|
color: #666;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
/* 培养基信息卡片 */
|
|
.culture-medium-card {
|
|
background: white;
|
|
border-radius: 10px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
margin-bottom: 30px;
|
|
overflow: hidden;
|
|
border: #bdbaba 1px solid;
|
|
}
|
|
|
|
.medium-item {
|
|
padding: 15px 20px;
|
|
border-bottom: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.medium-item:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.medium-label {
|
|
font-weight: 600;
|
|
color: #333;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.medium-content {
|
|
color: #666;
|
|
line-height: 1.6;
|
|
font-size: 100%;
|
|
padding-left: 1%;
|
|
}
|
|
|
|
/* 相关信息样式 */
|
|
.related_info {
|
|
width: 100%;
|
|
margin: 5px 0 15px 0;
|
|
padding-top: 10px;
|
|
border-radius: 10px;
|
|
border: 1px solid #bdbaba;
|
|
}
|
|
|
|
/* 统计图表样式 */
|
|
.statistics {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
margin: 5px 10px;
|
|
}
|
|
|
|
.term {
|
|
width: 20%;
|
|
border: #bdbaba 1px solid;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.term .type {
|
|
width: 100%;
|
|
padding: 5px 0;
|
|
text-align: center;
|
|
background-color: #E8F4F8;
|
|
color: black;
|
|
}
|
|
|
|
.chart-pH,
|
|
.chart-temp,
|
|
.chart-O2 {
|
|
width: 100%;
|
|
height: 200px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.chart-nutrition {
|
|
width: 120%;
|
|
height: 200px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* 表格样式 */
|
|
.table-container {
|
|
background: white;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
overflow: hidden;
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
}
|
|
|
|
.table-container table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
/* margin: 10px 0; */
|
|
}
|
|
|
|
.table-container table th,
|
|
.table-container table td {
|
|
padding: 5px 8px;
|
|
text-align: left;
|
|
border-bottom: 1px solid #e9ecef;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.table-container table th {
|
|
background-color: #E8F4F8;
|
|
font-weight: 600;
|
|
color: #2E5A61;
|
|
}
|
|
|
|
/* 表格列宽设置 */
|
|
.table-container table th:nth-child(1),
|
|
.table-container table td:nth-child(1) {
|
|
width: 8%;
|
|
min-width: 60px;
|
|
text-align: center;
|
|
}
|
|
|
|
.table-container table th:nth-child(2),
|
|
.table-container table td:nth-child(2) {
|
|
width: 20%;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.table-container table th:nth-child(3),
|
|
.table-container table td:nth-child(3) {
|
|
width: 22%;
|
|
min-width: 200px;
|
|
}
|
|
|
|
.table-container table th:nth-child(4),
|
|
.table-container table td:nth-child(4) {
|
|
width: 10%;
|
|
min-width: 100px;
|
|
}
|
|
|
|
.table-container table th:nth-child(5),
|
|
.table-container table td:nth-child(5) {
|
|
width: 8%;
|
|
min-width: 60px;
|
|
text-align: center;
|
|
}
|
|
|
|
.table-container table th:nth-child(6),
|
|
.table-container table td:nth-child(6) {
|
|
width: 12%;
|
|
min-width: 100px;
|
|
text-align: center;
|
|
}
|
|
|
|
.table-container table th:nth-child(7),
|
|
.table-container table td:nth-child(7) {
|
|
width: 10%;
|
|
min-width: 80px;
|
|
text-align: center;
|
|
}
|
|
|
|
.table-container table tr:hover {
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
/* 表格底部控制区 */
|
|
.table-footer {
|
|
height: 60px;
|
|
display: flex;
|
|
position: relative;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 15px 20px;
|
|
background-color: #f8f9fa;
|
|
border-top: 1px solid #dee2e6;
|
|
border-bottom-left-radius: 10px;
|
|
border-bottom-right-radius: 10px;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.left-controls {
|
|
position: absolute;
|
|
left: 3%;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
#showing-text {
|
|
color: #6c757d;
|
|
font-size: 14px;
|
|
}
|
|
|
|
.rows-control {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.rows-control label {
|
|
font-size: 14px;
|
|
color: #495057;
|
|
}
|
|
|
|
.rows-control select {
|
|
padding: 4px 8px;
|
|
border: 1px solid #ced4da;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
/* 分页样式 */
|
|
.pagination {
|
|
display: flex;
|
|
position: absolute;
|
|
left: 45%;
|
|
align-items: center;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.page-btn {
|
|
padding: 6px 12px;
|
|
border: 1px solid #ced4da;
|
|
background-color: white;
|
|
color: #495057;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.page-btn:hover:not(:disabled) {
|
|
background-color: #e9ecef;
|
|
}
|
|
|
|
.page-btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.page-numbers {
|
|
display: flex;
|
|
gap: 4px;
|
|
}
|
|
|
|
.page-num {
|
|
padding: 6px 10px;
|
|
border: 1px solid #ced4da;
|
|
background-color: white;
|
|
color: #495057;
|
|
border-radius: 4px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.page-num:hover {
|
|
background-color: #e9ecef;
|
|
}
|
|
|
|
.page-num.active {
|
|
background-color: #5B9BB0;
|
|
color: white;
|
|
border-color: #5B9BB0;
|
|
}
|
|
|
|
/* 下载按钮 */
|
|
.download-section {
|
|
position: absolute;
|
|
right: 3%;
|
|
padding: 10px 20px;
|
|
text-align: center;
|
|
background-color: #f8f9fa;
|
|
}
|
|
|
|
.download-btn {
|
|
background: #5B9BB0;
|
|
color: white;
|
|
border: none;
|
|
padding: 10px 20px;
|
|
border-radius: 6px;
|
|
cursor: pointer;
|
|
font-size: 14px;
|
|
font-weight: 500;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.download-btn:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 4px 8px rgba(163, 123, 111, 0.3);
|
|
color: black;
|
|
}
|
|
|
|
/* copyright */
|
|
.copyright {
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.copyright .bottom {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
width: 100%;
|
|
margin: 0 auto;
|
|
padding-top: 40px;
|
|
padding-bottom: 40px;
|
|
background-color: #1E3A4A;
|
|
}
|
|
|
|
.copyright .bottom p {
|
|
margin: 0 20px;
|
|
color: white;
|
|
}
|
|
|
|
.header .logo {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
}
|
|
|
|
.header .logo .search-box {
|
|
position: static;
|
|
width: 100%;
|
|
max-width: none;
|
|
min-width: auto;
|
|
}
|
|
|
|
.header .logo p {
|
|
margin-right: 0;
|
|
white-space: normal;
|
|
text-overflow: initial;
|
|
overflow: visible;
|
|
}
|
|
|
|
.tab-buttons {
|
|
max-width: 500px;
|
|
}
|
|
|
|
.tab-btn {
|
|
font-size: 15px;
|
|
padding: 12px 15px;
|
|
}
|
|
|
|
.table-footer {
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 15px;
|
|
}
|
|
|
|
.pagination {
|
|
width: 100%;
|
|
justify-content: center;
|
|
position: static;
|
|
}
|
|
|
|
.left-controls,
|
|
.download-section {
|
|
position: static;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 1024px) {
|
|
.wrapper {
|
|
width: 90%;
|
|
}
|
|
|
|
.header {
|
|
width: 90%;
|
|
}
|
|
|
|
.copyright {
|
|
width: 90%;
|
|
}
|
|
|
|
.search_mic {
|
|
width: 90%;
|
|
margin: 30px auto;
|
|
}
|
|
|
|
.search_gen {
|
|
width: 90%;
|
|
margin: 30px auto;
|
|
}
|
|
|
|
.tab-buttons {
|
|
max-width: 450px;
|
|
}
|
|
|
|
.table-container {
|
|
overflow-x: auto;
|
|
}
|
|
|
|
.table-container table {
|
|
min-width: 600px;
|
|
}
|
|
|
|
.statistics {
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.term {
|
|
width: 45%;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header .nev-child-1 {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 110%;
|
|
}
|
|
|
|
.tab-buttons {
|
|
flex-direction: column;
|
|
max-width: 350px;
|
|
}
|
|
|
|
.tab-btn {
|
|
border-right: none !important;
|
|
border-bottom: 1px solid #ddd;
|
|
}
|
|
|
|
.tab-btn:last-child {
|
|
border-bottom: none;
|
|
}
|
|
|
|
.search_mic {
|
|
width: 95%;
|
|
padding: 15px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.search_mic input {
|
|
font-size: 120%;
|
|
}
|
|
|
|
.search_gen {
|
|
width: 95%;
|
|
padding: 15px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
.butt button {
|
|
font-size: 110%;
|
|
padding: 8px 15px;
|
|
margin: 5px;
|
|
}
|
|
|
|
.statistics {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.term {
|
|
width: 100%;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.table-footer {
|
|
padding: 10px 15px;
|
|
}
|
|
|
|
.pagination {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.wrapper {
|
|
width: 95%;
|
|
}
|
|
|
|
.header {
|
|
width: 95%;
|
|
}
|
|
|
|
.copyright {
|
|
width: 95%;
|
|
}
|
|
|
|
.header .logo {
|
|
margin: 2% 0 0 1%;
|
|
font-size: 120%;
|
|
}
|
|
|
|
.header .nev-child-1 {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 100%;
|
|
}
|
|
|
|
.tab-buttons {
|
|
max-width: 280px;
|
|
}
|
|
|
|
.tab-btn {
|
|
font-size: 14px;
|
|
padding: 10px;
|
|
}
|
|
|
|
.search_mic {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 15px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.search_mic input {
|
|
font-size: 110%;
|
|
text-align: center;
|
|
}
|
|
|
|
.search_gen {
|
|
padding: 20px 5px;
|
|
}
|
|
|
|
.butt {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.butt button {
|
|
width: 80%;
|
|
max-width: 200px;
|
|
}
|
|
|
|
.table-container table {
|
|
min-width: 500px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.table-container table th,
|
|
.table-container table td {
|
|
padding: 8px 4px;
|
|
}
|
|
|
|
.table-footer {
|
|
padding: 8px 10px;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.page-btn {
|
|
padding: 5px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.page-num {
|
|
padding: 5px 8px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.download-btn {
|
|
padding: 8px 15px;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.copyright .bottom {
|
|
flex-direction: column;
|
|
gap: 10px;
|
|
padding: 15px 0;
|
|
}
|
|
|
|
.copyright .bottom p {
|
|
margin: 0;
|
|
text-align: center;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
|
|
/* Header响应式设计 */
|
|
|
|
/* 1550px及以下 - 防止logo和nav重叠 */
|
|
@media (max-width: 1550px) {
|
|
.header {
|
|
gap: 15px;
|
|
}
|
|
|
|
.header .logo {
|
|
max-width: 50%;
|
|
}
|
|
|
|
.header .logo img {
|
|
height: 75px;
|
|
}
|
|
|
|
.header .logo .title {
|
|
margin-left: 1.5%;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 105%;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
font-size: 75%;
|
|
}
|
|
|
|
.header .nev-child-1 {
|
|
gap: 12px;
|
|
}
|
|
|
|
.header .nev-child-1 li {
|
|
padding: 1% 1.5%;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 130%;
|
|
}
|
|
}
|
|
|
|
/* 1350px及以下 - 进一步优化空间 */
|
|
@media (max-width: 1350px) {
|
|
.header .logo {
|
|
max-width: 48%;
|
|
}
|
|
|
|
.header .logo img {
|
|
height: 70px;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 100%;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
font-size: 70%;
|
|
}
|
|
|
|
.header .nev-child-1 {
|
|
gap: 10px;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 120%;
|
|
}
|
|
}
|
|
|
|
/* 1200px及以下 */
|
|
@media (max-width: 1200px) {
|
|
.header {
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
}
|
|
|
|
.header .logo {
|
|
max-width: 45%;
|
|
}
|
|
|
|
.header .logo img {
|
|
height: 65px;
|
|
}
|
|
|
|
.header .logo .title {
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 95%;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
font-size: 68%;
|
|
}
|
|
|
|
.header .nev-child-1 {
|
|
gap: 8px;
|
|
}
|
|
|
|
.header .nev-child-1 li {
|
|
padding: 1% 1.2%;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 110%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.header {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 15px;
|
|
}
|
|
|
|
.header .logo {
|
|
max-width: 90%;
|
|
justify-content: center;
|
|
}
|
|
|
|
.header .nev {
|
|
width: 100%;
|
|
}
|
|
|
|
.header .nev-child-1 {
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
gap: 12px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header .logo {
|
|
max-width: 100%;
|
|
}
|
|
|
|
.header .logo img {
|
|
height: 60px;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 90%;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
font-size: 70%;
|
|
}
|
|
|
|
.header .nev-child-1 li {
|
|
padding: 8px 15px;
|
|
}
|
|
|
|
.header a {
|
|
font-size: 110%;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.header .logo img {
|
|
height: 50px;
|
|
}
|
|
|
|
.header .logo .title h3 {
|
|
font-size: 85%;
|
|
}
|
|
|
|
.header .logo .title p {
|
|
display: none;
|
|
}
|
|
|
|
.header .nev-child-1 {
|
|
gap: 8px;
|
|
}
|
|
|
|
.header .nev-child-1 li {
|
|
padding: 6px 10px;
|
|
}
|
|
|