zmmbreeze / entry.css Goto Github PK
View Code? Open in Web Editor NEWCustomizable and readable less library for Chinese text. 一个可配置的、更适合阅读的中文文章样式库
Home Page: http://zencode.in/Entry.css/
Customizable and readable less library for Chinese text. 一个可配置的、更适合阅读的中文文章样式库
Home Page: http://zencode.in/Entry.css/
如题。这个width: 960px感觉已经没有必要了,而且大家也会自己去选择自己的width。
<h*>这个功能也是吓了我一跳……但文档上好像没提到如何关闭
@quote-font-family: STKaiti, KaiTi, serif;
这样至少在 Windows 下面, blockquote 的西文部分会很崩溃,而且 Windows 的楷体木有粗体支持。
以上。
尝试下gulp
,嗯~
由于字体的原因,文字加粗会导致难看。这样虽然让人一目了然,却有些影响美观。
font-style: normal;
font-weight: normal;
text-decoration: none;
使用inherit
来重置样式才不会影响对父元素样式的继承。
“段落之间的间距”和“标题(下)与段落(上)之间的间距”一样大小,无法体现出标题的分割作用。需要减少“段落之间的间距”。
很棒的專案,我原本也想用Less或SASS來實作Han.css,怕變得太複雜而放棄。請讓我來提點建議。
關於着重號,怎麼不使用CSS3的「text-emphasis」來實作呢?我覺得粗粗的虛底線實在不好看。而相鄰的着重號,有0.125em的間隔其實也看不太出來。o_o
在說明頁的「Entry.css 支持的浏览器」表格中可以發現,Entry.css這個專案主要以支援現代的瀏覽器為主,對於CSS的寫法也頗為大膽。何不以<article>
元素或<article class="entry">
作為預設的文章元素?
大體來說,我們建議中文文章不要隨意使用「斜體」,撇去<i>
元素不談,<dfn>
在Entry.css中定義為
dfn {
font-style: italic;
}
文檔中剛好使用英文的HTML來作範例,如果是中文呢?
需要支持header
、video
、footer
这三个标签
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.