卷帘人CURTAINRAISER
DAY 1 · 2026-10-05

P0 开工:用 Antigravity 建真网站

Build a real site with Antigravity — no toy projects.

今日计划

TODAY'S PLAN

学习笔记

STUDY NOTES · 点徽章看这个知识点的面

1. P0:直接做真项目

计划

不做一次性玩具网站。P0 作业 = DeRonin 六个月中文实战站:把 DeRonin 的路线图做成中文学习站,学到哪章更新到哪章。

P0: build a real project from day one — a Chinese practice site based on DeRonin's 6-month roadmap.

2. Prompt 铁律

Prompt

你不指定的,AI 就自己猜。语言、颜色、字数——想要什么就写什么。比如英文 prompt 不会自动生成中文网站,必须写:All page content must be bilingual: Simplified Chinese primary, English secondary.

Iron rule of prompting: what you don't specify, the AI guesses. Spell out everything.

3. 网页三件套

HTML/CSS

HTML 是骨架:决定页面上有什么。CSS 是衣服:决定长什么样。JS 是动作:决定点了会发生什么。

HTML is the skeleton, CSS the clothing, JS the behavior.

4. CSS 三行

HTML/CSS

max-width: 680px 限宽,内容不铺满全屏。margin: 0 auto 居中(center)。padding 留白(whitespace)。

Three lines that shape a page: constrain width, center it, breathe with padding.

5. 查色号

HTML/CSS

Google 直接搜 #XXXXXX,色卡马上出来。DeRonin 站配色:背景 #FAF7F1 暖纸色,文字 #2A2A28 墨灰,点缀 #A8894F 哑光金。

Look up any hex code by Googling it. DeRonin site palette: warm paper, ink gray, matte gold.

6. Git 三件套

Git

git init -b main:在文件夹里初始化一个仓库,主分支叫 main。从这一刻起,Git 开始盯着这个文件夹。

git add -A:把所有文件放进暂存区——就是告诉 Git:"这些,我要打包了。"

git commit -m "备注":正式打包成一个版本。备注写清楚这次干了什么,以后随时能回到这个版本。

The git trio: init a repo on main, stage everything, commit a version with a clear message. You can always come back to any version.

7. GitHub 中转站模型

Git

我的文件夹 ⇄ GitHub(中转站)⇄ 你的文件夹。git 走的不是"传文件",是"对账本"——两边各自记账,push / pull 就是对账。

走来走去的文件(网站本身):index.html 骨架内容、styles.css 样子、log/*.html 每篇日志、README.md 说明书、.nojekyll 让 Pages 原样发布。

不走的:我的后台(流量账本、文章包、图片素材)不上 GitHub;Antigravity 的 scratch 目录是草稿纸,push 后才进中转站。

GitHub 独家记的:Pages 开关和部署记录、仓库设置、commit 公账——跟本地 .git 一样,但这份丢不了,是你电脑坏了之后的救命账。

Git doesn't pass files around — it reconciles ledgers. GitHub is the cloud ledger you can always recover from.

8. Shell:电脑的翻译官

Shell

Shell 就是你跟电脑说话的语言,终端是它的嘴。每一行都是"动词 + 对象":cd 文件夹 = 去那儿,git push = 推上去。

cd 不是机器语言——机器语言是 0 和 1。Shell 把你的人话翻成操作系统能懂的指令:你 → shell → 操作系统 → 0 和 1。

常用 12 个:pwd 我在哪、ls 有啥、cd 进去、mkdir 新建文件夹、git status/add/commit/push/pull/log 记账五件套、rm 删除(不进回收站,用前先问)。

DOS 是亲戚:Mac 现在用 zsh,你 2003 年学的 cd、mkdir 照用,二十多年没变。唯一区别:当年 dir 现在叫 ls。

Shell is how you talk to the computer. Code says what to do; shell is how you command it. An evergreen skill.

9. Git 名字的由来

Git

作者 Linus Torvalds(Linux 之父)起的。Git 在英式俚语里是"蠢货"——他原话:"我是个自大的混蛋,所有项目都以自己命名。"名字是自嘲,工具是认真的。

"Git" is British slang for "idiot" — Linus named it after himself, as a joke.

10. 60 天基本功计划

计划

7 个主题轮换:Shell、Git、Python、HTML/CSS、Prompt、AI 概念、读代码。每天一讲 7 条,60 天每主题从入门到进阶。字卡自动同步到本站字卡页。

Seven topics on rotation, 7 bites a day, 60 days from basics to advanced. Flashcards auto-sync to this site.

11. 今日决定

计划

DeRonin 实战站:中英双语,中文为主。学习笔记:justfont 风——干净黑体 + 简体中文 + 30px 网格底。双站分工:DeRonin 站我亲手(P0),CurtainRaiser 他全权——不混。

Decisions: bilingual DeRonin site (Chinese first); notes in Justfont style; hands-on P0 stays mine, CurtainRaiser stays his. No mixing.

12. 见贤思齐

素材

"找到好的素材要存起来,术业有专攻,直接见贤思齐更节省时间。"

——我的原话

触因:今天看 justfont.com,中文字体排版好看,网格底喜欢。字体设计师花四年磨一套字,我直接学做好的。

落地:建素材库,每条记一句"好在哪"。参考:justfont.com(30px 网格底,品牌绿 #66AC35)。

"Save good materials when you find them — specialization matters; learning from the best saves time." — my own words, after browsing justfont.com.

13. 网站定位:playground

设计

CurtainRaiser = 我们的 playground(实验场)。想到什么就往上放着玩——字卡、学习日志、手册都长在这里。不怕试错,先上线再迭代。

CurtainRaiser is our playground: ship experiments fast, break things, iterate. No fear of trying.

14. 导航定名:资料库

设计

菜单:首页 / 六个月 / 资料库 / 笔记本 / 字卡。"资料库"是我先说"资源库"又改口的——放 DeRonin 文章链接简介 + 以后翻书总结。卡片加"类型"字段区分:链接简介 vs 读书总结。

Nav: Home / 6 Months / Library / Notebook / Flashcards. "Library" holds link briefs and book notes, typed per card.

15. Spiral × 简 / 中 / 难三版

设计

我的想法:spiral 学习法 × 简 / 中 / 难三版可切换,0 摩擦。他的建议:别做三个独立版本——一页三段折叠,一次写完,维护只要 1x。spiral 本来就是简 → 中 → 难三轮回看。

My idea: spiral learning × easy/medium/hard toggle. His fix: one page, three collapsible sections — write once, maintain 1x.

16. 设计语言:taste

设计

配色:低饱和暖中性(米白 / 暖灰 / 墨灰)+ 哑光金点缀。克制留白,拒绝高饱和和强对比。排版是卖点——只做最好看,不将就。

Palette: low-saturation warm neutrals + matte gold accents. Restraint, whitespace, no neon. Typography is the product.

命令速查

CHEAT SHEET · 每天碰到的知识点都记下来

认路三件套

pwd: where am I. ls: what's here. cd: go there.

Git 记账

Git doesn't pass files around — it reconciles ledgers. GitHub is the cloud ledger.

新建 / 删除

mkdir: new folder. rm: delete forever — no trash. When unsure, ask first.

今日问答

Q&A · 会了就删
CURTAINRAISER · 卷帘人 📜