| /* app/static/css/records.css - 调用记录表格样式 */ | |
| .records-section table { | |
| width: 100%; | |
| border-collapse: collapse; | |
| margin-top: 20px; /* 增加间距 */ | |
| font-size: 0.9rem; | |
| } | |
| .records-section th, | |
| .records-section td { | |
| border: 1px solid var(--border-color); | |
| padding: 10px; /* 增加内边距 */ | |
| text-align: left; | |
| } | |
| .records-section th { | |
| background-color: var(--primary-color); | |
| color: var(--text-light); | |
| font-weight: 600; | |
| } | |
| .records-section tbody tr:nth-child(even) { | |
| background-color: var(--background-light); /* 隔行变色 */ | |
| } | |
| .records-section tbody tr:hover { | |
| background-color: var(--background-medium); /* 鼠标悬停高亮 */ | |
| } | |
| /* API 使用说明模块样式 */ | |
| .api-usage-section { | |
| max-width: 800px; /* 限制模块的最大宽度 */ | |
| margin: 0 auto 25px auto; /* 居中模块,并保持底部外边距 */ | |
| } | |