Add full Chinese comments, README docs, fix bugs (applyDesign state, mk empty string, beforeunload save)
This commit is contained in:
@@ -1,3 +1,30 @@
|
||||
/**
|
||||
* =============================================================================
|
||||
* Resume — 样式表
|
||||
* =============================================================================
|
||||
*
|
||||
* 文件结构:
|
||||
* 1. Reset & CSS 变量 (默认值)
|
||||
* 2. @media print — 打印样式(隐藏UI、多页分页、sidebar转顶部)
|
||||
* 3. @media screen — 屏幕端基础布局
|
||||
* 4. Editable — contenteditable 交互样式
|
||||
* 5. Grid Layout — 双栏布局
|
||||
* 6. Typography — 标题、段落、字体
|
||||
* 7. Sidebar — 侧边栏(联系方式、技能、教育)
|
||||
* 8. Sidebar Custom Sections — 动态自定义栏目
|
||||
* 9. Main Content — 主内容区
|
||||
* 10. Section Cards — 经历/项目卡片
|
||||
* 11. Bullet Lists — 要点列表
|
||||
* 12. Add Buttons — 添加按钮
|
||||
* 13. Toolbar — 顶部工具栏
|
||||
* 14. DESIGN THEMES — 12 套版式布局(.page.theme-xxx)
|
||||
* 15. Responsive — 移动端适配
|
||||
*
|
||||
* 颜色不在本文件中硬编码;全部通过 CSS 变量控制,由 app.js 动态注入。
|
||||
* 设计主题通过 .page 上的 CSS class 切换(如 .page.theme-timeline)。
|
||||
* =============================================================================
|
||||
*/
|
||||
|
||||
/* ===== Reset & Variables ===== */
|
||||
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user