File tree 2 files changed +9
-2
lines changed
2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 20
20
- run : cp -r reset.* ./build
21
21
22
22
- run : npm i markdown-to-html-cli -g
23
- - run : markdown-to-html --output build/index .html --favicon 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💅</text></svg>'
23
+ - run : markdown-to-html --output build/doc .html --favicon 'data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💅</text></svg>'
24
24
25
25
- name : Create Index.html
26
26
working-directory : build
31
31
<title>reset-css</title>
32
32
<meta name="description" content="A tiny modern CSS reset.">
33
33
<link rel="stylesheet" type="text/css" href="reset.min.css" />
34
+ <style>
35
+ .docbtn { background: #2196f3; display: inline-block; padding: 5px 12px; color: #fff; border-radius: 2px; transition: all 0.3s; position: fixed; left: 10px; top: 10px; }
36
+ .docbtn:hover { background: #377eb7; color: #fff; }
37
+ </style>
34
38
</head>
35
39
<body style="text-align: center;">
40
+ <a target="__blank" class="docbtn" href="doc.html">Document</a>
36
41
<a href="https://github.com/uiwjs/reset-css" target="__blank">
37
42
<h1 style="font-size: 46px; padding: 50px 0 0 0; font-weight: bold;">reset.css</h1>
38
43
</a>
Original file line number Diff line number Diff line change 1
1
reset.css
2
2
---
3
3
4
- [ ![ ] ( https://img.shields.io/npm/v/@uiw/reset.css.svg )] ( https://www.npmjs.com/@uiw/reset.css )
4
+ [ ![ NPM Version] ( https://img.shields.io/npm/v/@uiw/reset.css.svg )] ( https://www.npmjs.com/@uiw/reset.css )
5
+ [ ![ Build & Deploy] ( https://github.com/uiwjs/reset-css/actions/workflows/ci.yml/badge.svg )] ( https://github.com/uiwjs/reset-css/actions/workflows/ci.yml )
6
+ [ ![ NPM Downloads] ( https://img.shields.io/npm/dm/@uiw/reset.css.svg?style=flat )] ( https://www.npmjs.com/package/@uiw/reset.css )
5
7
6
8
A tiny modern CSS reset.
7
9
You can’t perform that action at this time.
0 commit comments