-
Notifications
You must be signed in to change notification settings - Fork 54
/
index.html
123 lines (119 loc) · 6.15 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Entry.css</title>
<meta name="Keywords" content="Entry.css,css,vertical rhythm,baseline,中文文章,博客样式,中文排版"/>
<meta name="Description" content="Entry.css 中文文章样式,帮助你快速搭建中文博客主题。"/>
<meta name="viewport" content="initial-scale=1,user-scalable=no,maximum-scale=1,width=device-width">
<link rel="stylesheet" href="assets/prism.css" />
<link rel="stylesheet" href="assets/normalize.css" />
<link rel="stylesheet" href="assets/index.css" />
</head>
<body>
<div class="container">
<div class="head">
<div class="middle">
<h1>Entry.css</h1>
<div class="head-github">
一个可配置的、更适合阅读的中文文章样式库<br/>
<iframe src="http://ghbtns.com/github-btn.html?user=zmmbreeze&repo=Entry.css&type=watch&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=zmmbreeze&repo=Entry.css&type=fork&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="100" height="20"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=zmmbreeze&type=follow&count=true"
allowtransparency="true" frameborder="0" scrolling="0" width="192" height="20"></iframe>
</div>
</div>
</div>
<div class="info">
<div class="middle">
<div class="button-container">
<ul class="button-group">
<li>
<a href="https://github.com/zmmbreeze/Entry.css/"
class="large button color green">Download</a>
</li>
<li>
<a href="document.html" class="large button">Doc</a>
</li>
<li>
<a href="demo.html" class="large button">博文Demo</a>
</li>
<li>
<a href="word.html" class="large button">散文Demo</a>
</li>
</ul>
<p>支持浏览器:IE 9+,Chrome 14+,Firefox 4+,Safari 5+,Opera 11+,Mobile Safari(iOS 5+)</p>
</div>
<h2 class="invisible">优势</h2>
<div class="wrap">
<div class="pack">
<h3>Vertical Rhythm</h3>
<img src="assets/img-01.png" height="192"/>
<p>合理的间距,遵循<a href="http://blog.justfont.com/2012/08/%E7%B6%B2%E9%A0%81%E6%8E%92%E7%89%88%EF%BC%9A%E6%B9%AF%E5%93%81%EF%BC%8D%EF%BC%8D%E5%9E%82%E7%9B%B4%E7%9A%84%E9%9F%BB%E5%BE%8B/" target="_blank">“垂直的旋律”</a>,更适合中文阅读</p>
</div>
<div class="pack">
<h3>自适应</h3>
<img src="assets/img-02.png" height="192"/>
<p>宽度自适应,兼容手机等小屏幕</p>
</div>
<div class="pack">
<h3>针对中文</h3>
<img src="assets/img-03.png" height="192"/>
<p>专为中文提供的书名号、缩写、着重符、旁注、上下标...</p>
</div>
<div class="pack">
<h3>自定义</h3>
<img src="assets/img-04.png" height="192"/>
<p>丰富的自定义选项:布局、大小、颜色等等</p>
</div>
</div>
<h2>为什么要有Entry.css?</h2>
<p>作为一个前端工程师,有时朋友会让你帮忙整一整他们博客文章或是项目文档的样式。有时我们在自己博客使用了一个非常漂亮的主题,应用到自己博客上时却变的很难看(因为原主题针对的是英文)。</p>
<p>虽然我自己对设计也是一窍不通,不过没吃过猪肉但却见过猪跑。于是啃了些文字排版的基础知识,创造了Entry.css为一些不懂CSS的同学提供一个适合阅读的文章样式。如果你对此感兴趣或是有改进意见请在<a href="https://github.com/zmmbreeze/Entry.css/issues" target="_blank">github</a>上给我提issue,在此表示感谢~</p>
<p>注意:Entry.css仅仅提供对文章的样式,你可以将其嵌入到你自己的主题中。如果你想要找全套主题,那么它不是个好的选择。</p>
<h2>快速开始</h2>
<p>在你的HTML中嵌入Entry.css,如下:</p>
<pre><code class="language-markup"><link rel="stylesheet" href="bin/entry.css" />
<div class="entry">
<!-- 这里是你的文章 -->
</div></code></pre>
<p>如果你想要自定义CSS选择器或是文章主题,那么请查看下Entry.css的<a href="./document.html">文档</a>。</p>
<div style="margin-top:1.5em;">
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-3880667676094519"
data-ad-slot="7487074388"
data-ad-format="auto"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>
</div>
</div>
<div class="foot">
<div class="middle">
© <a href="http://nodejs.in/">mzhou</a>
</div>
</div>
</div>
<script src="assets/prism.js"></script>
<script src="assets/baseliner.js"></script>
<script>
window.onload = function() {
var baseliner = new Baseliner(24);
}
</script>
<script>// ga
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-36422454-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();</script>
</body>
</html>