Sumi.css – Classless CSS Framework
A minimalist CSS framework. Write plain, semantic HTML and it looks finished. Add a class only when you want something specific.
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
A minimalist CSS framework. Write plain, semantic HTML and it looks finished. Add a class only when you want something specific.
<!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="sumi.min.css"> </head> <body> <header><nav>…</nav></header> <main> <h1>Hello, ink.</h1> </main> <footer>…</footer> </body> </html>Direct children header, main and footer of body center themselves. Need the same width elsewhere? Use .container.
A fluid type scale grows from a 1.2 ratio on phones to 1.28 on desktop. Leading and letter-spacing tighten as headings get larger, headings sit closer to the text they introduce, and paragraphs, lists and quotes share one spacing rhythm.
Type scale · resize the window to watch it flex
A short course in the black ink that East Asian painters have used for two thousand years.
Grind slowly in small circles. The ink is ready when it coats the stone like thin oil.
Workshop materials are included in the course fee.
Notes from a beginners’ calligraphy workshop
Sumi is the carbon ink of East Asian brush painting: soot bound with animal glue and pressed into a stick.
You grind the stick against an inkstone with a few drops of water, and the longer you grind, the deeper the black. Thin, watered washes are called usuzumi. A well-kept stick can be decades old, and many painters say old ink flows more smoothly than new.
One stroke, one breath. You cannot go back over a line.
Taking notes digitally? Press Ctrl + S often, mark terms with <dfn>, and write H2O and 103 inline.
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。