- 数据分层:base/experiences(事实) + companies(企业维度) + roles(岗位维度) + variants(变体覆盖),Handlebars 模板构建生成 4 份 HTML + 4 份纯文本 + 导航页
- 路由:根路由导航页(默认推荐 私企-全栈),/private/{dev,support}、/soe/{dev,support},旧地址 301 兼容
- 支持/交付岗不改写经历 bullet(与私企-dev 逐字一致),仅专业技能适配
- 移除 CSDN 与文档站链接
- 样式拆分 base + theme-private/theme-soe,打印样式去底色、条目不跨页
- Docker 多阶段构建(node 构建 → nginx 托管),新增 check.mjs 自检与 serve.mjs 本地预览
- 删除旧手写简历(resume/soe/other/txt)与重复样式
This commit is contained in:
@@ -0,0 +1,77 @@
|
||||
/* css/theme-private.css —— 私企主题:紧凑排版、荣誉两列、证书链接、在校经历网格 */
|
||||
:root {
|
||||
--fs-body: 12px;
|
||||
--fs-name: 28px;
|
||||
--fs-contact: 12px;
|
||||
--fs-section: 14px;
|
||||
--fs-edu-school: 14px;
|
||||
--fs-badge: 10px;
|
||||
--fs-meta: 13px;
|
||||
--fs-items: 13px;
|
||||
--fs-honor: 13px;
|
||||
--fs-honor-badge: 12px;
|
||||
--fs-exp-company: 14px;
|
||||
--fs-exp-position: 12px;
|
||||
--fs-intro: 11px;
|
||||
--fs-intro-label: 10px;
|
||||
--fs-proj-name: 14px;
|
||||
--fs-proj-role: 12px;
|
||||
--fs-proj-link: 12px;
|
||||
--fs-proj-tag: 10px;
|
||||
--fs-proj-intro: 13px;
|
||||
--fs-proj-work-title: 13px;
|
||||
}
|
||||
|
||||
/* 在校经历两列网格 */
|
||||
.edu-items {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 2px 20px;
|
||||
margin-left: 12px;
|
||||
font-size: var(--fs-items);
|
||||
color: #252525;
|
||||
line-height: 1.45;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.edu-items li {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
/* 荣誉两列(左列带证书链接,右列纯展示) */
|
||||
.honor-section {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.honor-left {
|
||||
width: 55%;
|
||||
border-right: 1px dashed #ccc;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.honor-right {
|
||||
width: 45%;
|
||||
padding-left: 12px;
|
||||
}
|
||||
|
||||
.honor-right .honor-content {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.honor-right .honor-name {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
/* 证书 / 实习证明链接 */
|
||||
.cert-link {
|
||||
color: #4478DF;
|
||||
text-decoration: none;
|
||||
margin-left: 8px;
|
||||
font-size: var(--fs-honor);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.honor-item .cert-link {
|
||||
margin-left: 4px;
|
||||
}
|
||||
Reference in New Issue
Block a user