项目作者: simonlc

项目描述 :
🗒️ A style sheet for Markdown
高级语言: HTML
项目地址: git://github.com/simonlc/Markdown-CSS.git
创建时间: 2011-09-05T22:06:45Z
项目社区:https://github.com/simonlc/Markdown-CSS

开源协议:

下载


Markdown CSS

This is a simple style with normalized defaults, it should work on anything from a desktop, to a phone.

View the live preview here: http://simon.lc/sites/markdown/.

How to use

Add this to the top of your markdown file

  1. <link href="/path/to/markdown.css" rel="stylesheet"></link>

Editing

With Markdown CSS, I decided to base all the size off the body font-size. Simply changing the body font size will also change the heading’s size, body width, etc.

Since the CSS also uses media queries, it might also be necessary to change the body font-size for your purposes. I do not have any cool phones or tablets, so the extent of my testing was done by resizing my browser window.

Print

Also included is a printing media query. It has not been tested yet, and mainly uses HTML5 Boilerplate defaults.

Credits

  • HTML5 Boilerplate - For normalize.css and media queries.
  • Various other web resources for inspiration.

License

copyleft

http://unlicense.org/