b89819d5db
大纲按「3天C++强化(含OOP)+1天Qt桌面」组织,讲:练≈1:2.7;每个知识点直接 链接仓库真实代码文件与 ERRATA/VERSION_NOTES 里记录的具体坑。幻灯片 vendor 了 reveal.js 5.2.1(核心+highlight插件),零 CDN 依赖,配 serve.py 本地起服务(仅绑定 127.0.0.1)供离线播放,代码链接可点开查看源码。
65 lines
1.5 KiB
CSS
65 lines
1.5 KiB
CSS
/* 共享样式:讲/练/参考标签、任务卡片、代码文件链接 —— 覆盖在 reveal white 主题之上 */
|
|
|
|
.reveal { font-size: 32px; }
|
|
.reveal h1 { font-size: 1.6em; }
|
|
.reveal h2 { font-size: 1.15em; }
|
|
.reveal h3 { font-size: 0.9em; }
|
|
.reveal section img { border: none; box-shadow: none; }
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
padding: 1px 12px;
|
|
border-radius: 12px;
|
|
font-size: 0.5em;
|
|
font-weight: 600;
|
|
vertical-align: middle;
|
|
margin-left: 12px;
|
|
letter-spacing: 1px;
|
|
}
|
|
.tag-lecture { background: #2b6cb0; color: #fff; } /* 讲 */
|
|
.tag-practice { background: #2f855a; color: #fff; } /* 练 */
|
|
|
|
.task-card {
|
|
border-left: 6px solid #2f855a;
|
|
background: #f4f9f5;
|
|
padding: 14px 24px;
|
|
margin: 14px 0;
|
|
border-radius: 4px;
|
|
text-align: left;
|
|
font-size: 0.62em;
|
|
line-height: 1.35;
|
|
}
|
|
.task-card h4 { margin: 0 0 6px 0; color: #2f855a; text-transform: none; font-size: 1.05em; }
|
|
|
|
.filelink, code.filelink {
|
|
font-family: 'Courier New', monospace;
|
|
background: #eef2f7;
|
|
padding: 1px 8px;
|
|
border-radius: 3px;
|
|
color: #1a4d8f;
|
|
text-decoration: none;
|
|
border: 1px solid #d3dce6;
|
|
}
|
|
.filelink:hover { background: #dbe6f5; }
|
|
|
|
.footer-note { margin-top: 30px; }
|
|
|
|
.verify-box {
|
|
border: 2px dashed #b7791f;
|
|
background: #fffaf0;
|
|
padding: 12px 20px;
|
|
border-radius: 6px;
|
|
font-size: 0.6em;
|
|
text-align: left;
|
|
}
|
|
.verify-box h4 { margin: 0 0 6px 0; color: #b7791f; }
|
|
|
|
.reveal pre code { font-size: 0.68em; max-height: 480px; }
|
|
|
|
.module-badge {
|
|
font-size: 0.4em;
|
|
color: #a0aec0;
|
|
letter-spacing: 2px;
|
|
text-transform: uppercase;
|
|
}
|