Deploy Resume / deploy (push) Successful in 2m50s
- 文件清单由变体列表构建期生成,新增变体自动纳入 - 命名 Resume-<企业>-<岗位>-<版本>.pdf,非法文件名字符自动替换 - 版本号记忆于 localStorage;Playwright e2e 验证 4 个下载文件名
301 lines
4.8 KiB
CSS
301 lines
4.8 KiB
CSS
/* css/nav.css —— 导航页 / 纯文本选择页 */
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
body {
|
||
font-family: "Microsoft YaHei", Arial, sans-serif;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
min-height: 100vh;
|
||
background: #f5f7fa;
|
||
}
|
||
|
||
.nav-wrap {
|
||
text-align: center;
|
||
padding: 40px;
|
||
background: #fff;
|
||
border-radius: 12px;
|
||
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
|
||
max-width: 720px;
|
||
width: 92%;
|
||
}
|
||
|
||
h1 {
|
||
font-size: 28px;
|
||
font-weight: 700;
|
||
color: #222;
|
||
margin-bottom: 8px;
|
||
}
|
||
|
||
.subtitle {
|
||
font-size: 14px;
|
||
color: #888;
|
||
margin-bottom: 32px;
|
||
}
|
||
|
||
/* 2×2 矩阵 */
|
||
.matrix {
|
||
display: grid;
|
||
grid-template-columns: max-content 1fr 1fr;
|
||
gap: 12px;
|
||
text-align: left;
|
||
}
|
||
|
||
.matrix-corner {
|
||
min-width: 110px;
|
||
}
|
||
|
||
.matrix-colhead {
|
||
font-size: 13px;
|
||
font-weight: 700;
|
||
color: #4478DF;
|
||
text-align: center;
|
||
padding-bottom: 2px;
|
||
border-bottom: 2px solid #EEF3FF;
|
||
}
|
||
|
||
.matrix-rowhead {
|
||
font-size: 13px;
|
||
font-weight: 700;
|
||
color: #4478DF;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
padding-right: 10px;
|
||
text-align: right;
|
||
}
|
||
|
||
.card {
|
||
padding: 16px 18px;
|
||
background: #f8fafc;
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 8px;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.card:hover {
|
||
background: #EEF3FF;
|
||
border-color: #4478DF;
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 4px 12px rgba(68, 120, 223, 0.15);
|
||
}
|
||
|
||
.card-default {
|
||
border-color: #4478DF;
|
||
background: #EEF3FF;
|
||
}
|
||
|
||
.card-title {
|
||
font-size: 15px;
|
||
font-weight: 600;
|
||
color: #222;
|
||
}
|
||
|
||
.badge {
|
||
display: inline-block;
|
||
margin-left: 8px;
|
||
padding: 1px 8px;
|
||
font-size: 11px;
|
||
font-weight: 400;
|
||
color: #fff;
|
||
background: #4478DF;
|
||
border-radius: 10px;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.card-desc {
|
||
font-size: 12px;
|
||
color: #888;
|
||
margin-top: 6px;
|
||
}
|
||
|
||
.card-links {
|
||
margin-top: 12px;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 14px;
|
||
}
|
||
|
||
.card-link {
|
||
color: #4478DF;
|
||
text-decoration: none;
|
||
font-size: 14px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.card-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
.card-link-sub {
|
||
color: #888;
|
||
text-decoration: none;
|
||
font-size: 12px;
|
||
}
|
||
|
||
.card-link-sub:hover {
|
||
color: #4478DF;
|
||
}
|
||
|
||
/* 纯文本选择页列表 */
|
||
.resume-list {
|
||
list-style: none;
|
||
padding: 0;
|
||
margin: 0;
|
||
text-align: left;
|
||
}
|
||
|
||
.resume-list li {
|
||
margin-bottom: 16px;
|
||
}
|
||
|
||
.resume-list a {
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
padding: 16px 20px;
|
||
background: #f8fafc;
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 8px;
|
||
text-decoration: none;
|
||
color: #222;
|
||
transition: all 0.2s ease;
|
||
}
|
||
|
||
.resume-list a:hover {
|
||
background: #EEF3FF;
|
||
border-color: #4478DF;
|
||
transform: translateY(-2px);
|
||
box-shadow: 0 4px 12px rgba(68, 120, 223, 0.15);
|
||
}
|
||
|
||
.resume-title {
|
||
font-size: 16px;
|
||
font-weight: 600;
|
||
}
|
||
|
||
.resume-desc {
|
||
font-size: 12px;
|
||
color: #888;
|
||
margin-top: 4px;
|
||
}
|
||
|
||
.arrow {
|
||
color: #4478DF;
|
||
font-size: 20px;
|
||
}
|
||
|
||
.back-link {
|
||
display: inline-block;
|
||
margin-top: 24px;
|
||
color: #4478DF;
|
||
text-decoration: none;
|
||
font-size: 14px;
|
||
}
|
||
|
||
.back-link:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
/* 批量下载 */
|
||
.batch-bar {
|
||
margin-top: 28px;
|
||
padding: 18px;
|
||
background: #f8fafc;
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 8px;
|
||
}
|
||
|
||
.batch-bar input {
|
||
width: 180px;
|
||
padding: 8px 12px;
|
||
font-size: 14px;
|
||
border: 1px solid #cbd5e1;
|
||
border-radius: 6px;
|
||
outline: none;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.batch-bar input:focus {
|
||
border-color: #4478DF;
|
||
}
|
||
|
||
.batch-bar button {
|
||
margin-left: 10px;
|
||
padding: 9px 20px;
|
||
font-size: 14px;
|
||
color: #fff;
|
||
background: #4478DF;
|
||
border: none;
|
||
border-radius: 6px;
|
||
cursor: pointer;
|
||
vertical-align: middle;
|
||
}
|
||
|
||
.batch-bar button:hover {
|
||
background: #3665c4;
|
||
}
|
||
|
||
.batch-hint {
|
||
margin-top: 10px;
|
||
font-size: 12px;
|
||
color: #888;
|
||
}
|
||
|
||
/* 页脚 */
|
||
.nav-footer {
|
||
margin-top: 36px;
|
||
padding-top: 16px;
|
||
border-top: 1px solid #e2e8f0;
|
||
font-size: 13px;
|
||
color: #666;
|
||
}
|
||
|
||
.nav-links {
|
||
margin-top: 8px;
|
||
display: flex;
|
||
justify-content: center;
|
||
gap: 18px;
|
||
}
|
||
|
||
.nav-links a {
|
||
color: #4478DF;
|
||
text-decoration: none;
|
||
}
|
||
|
||
.nav-links a:hover {
|
||
text-decoration: underline;
|
||
}
|
||
|
||
@media print {
|
||
.card-links,
|
||
.nav-footer {
|
||
display: none !important;
|
||
}
|
||
}
|
||
|
||
/* 窄屏(手机):矩阵改为单列堆叠 */
|
||
@media (max-width: 640px) {
|
||
.nav-wrap {
|
||
padding: 24px 16px;
|
||
}
|
||
|
||
.matrix {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
|
||
.matrix-corner,
|
||
.matrix-colhead {
|
||
display: none;
|
||
}
|
||
|
||
.matrix-rowhead {
|
||
justify-content: flex-start;
|
||
padding: 8px 0 0;
|
||
}
|
||
}
|