• Stars
    star
    338
  • Rank 124,931 (Top 3 %)
  • Language
    HTML
  • Created about 12 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Customizable and readable less library for Chinese text. 一个可配置的、更适合阅读的中文文章样式库

Entry.css

Entry.css是一个可配置的、更适合阅读的中文文章样式库,可以用来快速搭建中文博客主题或是用于项目文档的样式。

支持浏览器:IE 9+,Chrome 14+,Firefox 4+,Safari 5+,Opera 11+,Mobile Safari(iOS 5+)

为什么要有Entry.css?

作为一个前端工程师,有时朋友会让你帮忙整一整他们博客文章或是项目文档的样式。有时我们在自己博客使用了一个非常漂亮的主题,应用到自己博客上时却变的很难看(因为原主题针对的是英文)。

虽然我自己对设计也是一窍不通,不过没吃过猪肉但却见过猪跑。于是啃了些文字排版的基础知识,创造了Entry.css为一些不懂CSS的同学提供一个适合阅读的文章样式。如果你对此感兴趣或是有改进意见请在github上给我提issue,在此表示感谢~

注意:Entry.css仅仅提供对文章的样式,你可以将其嵌入到你自己的主题中。如果你想要找全套主题,那么它不是个好的选择。

快速开始

在你的HTML中嵌入Entry.css,如下:

<link rel="stylesheet" href="bin/entry.css" />
<div class="entry">
    <!-- 这里是你的文章 -->
</div>

如果你想要自定义CSS选择器或是文章主题,那么请查看下Entry.css的文档。

优势

  1. 合理的间距,遵循“垂直的旋律”,更适合中文阅读
  2. 宽度自适应,兼容手机等小屏幕
  3. 专为中文提供的书名号、缩写、着重符、旁注、上下标...
  4. 丰富的自定义选项:布局、大小、颜色等等

Bitdeli Badge

More Repositories

1

lining.js

An easy to use javascript plugin offers you complete DOWN-TO-THE-LINE control for radical web typography.
JavaScript
911
star
2

octocard

Highly flexible github info card for every github lover. [This project is deprecated.]
JavaScript
743
star
3

blog

42
JavaScript
66
star
4

slider.css

HTML presentation without javascript.
CSS
55
star
5

jquery.emphasis

A javascript fallback for CSS3 emphasis mark, aka `text-emphasis`.
JavaScript
45
star
6

DeadSimpleVideoPlayer

Dead simple html5 Video player.
JavaScript
39
star
7

octocard-server

Highly flexible github info card for every github lover. This is server part.
JavaScript
29
star
8

UBBParser

A javascript bbcode parser for browser
JavaScript
27
star
9

blogin

A simple static blog framework, powered by Node.js.
CoffeeScript
19
star
10

useOverflowEvent

Way to detect overflow event support and use it with graceful degradation.
JavaScript
12
star
11

SEditor

A simple UBB code web editor.
JavaScript
8
star
12

OneTask

Only one running task for each browser
JavaScript
8
star
13

zmmbreeze.github.com

MZhou's blog -- Taste of life
HTML
6
star
14

MyGallery

Personal gallery base on GAE!Have fun~ 基于GAE打造你专属的图片存储服务~
JavaScript
6
star
15

text-emphasis-test

Test page for CSS3 `text-emphasis`.
5
star
16

101

前端工程师进阶用PPT
JavaScript
5
star
17

vimrc_old

my vimrc
Vim Script
5
star
18

TheSimplest

Simple wordpress theme.
CSS
4
star
19

margin-auto

一张网页解释`margin:auto`实现居中的方法
CSS
4
star
20

simplesvgmap

This project can be used to build map application on web by svg and js! (Deprecated)
JavaScript
3
star
21

project-starter

Gulp + Browserify + LESS
CSS
3
star
22

solver

Help you solve simple mathematical expressions.
JavaScript
3
star
23

MarkdownPress

A clean and markdown looks like theme for wordpress.
PHP
3
star
24

Proto.js

Mixin based OOP library in javascript.
JavaScript
3
star
25

graphite

2
star
26

stopwatch.less

Stopwatch style in less
CSS
2
star
27

oldblog

A blog
JavaScript
2
star
28

onResize

JavaScript
2
star
29

minus

test
JavaScript
2
star
30

JSON4Muggle

JavaScript
1
star
31

ReadableText

JavaScript
1
star
32

DocMock

JavaScript
1
star
33

EPjs

JavaScript
1
star
34

superText

A jquery plugin to make $().text() get better result.(Developing)
JavaScript
1
star