Browse Source

docs: fix home styles

refactor-github
Amio 6 years ago
parent
commit
11b1c740a7
  1. 5
      libs/index.md
  2. 1
      libs/serve-index.js

5
libs/index.md

@ -1,6 +1,7 @@
# Badgen
Fast badge generating service.
Fast badge generating service.
[![classic](https://badgen.net/badge/style/classic/pink)](https://badgen.net)
[![flat](https://flat.badgen.net/badge/style/flat/pink)](https://flat.badgen.net)
@ -64,7 +65,7 @@ Available query params:
| Preview | URL |
| ------- | --- |
|![](/badge/Swift/4.2/orange) | [/badge/Swift/4.0/orange](/badge/Swift/4.2/orange)
|![](/badge/Swift/4.2/orange) | [/badge/Swift/4.2/orange](/badge/Swift/4.2/orange)
|![](/badge/license/MIT/blue) | [/badge/license/MIT/blue](/badge/license/MIT/blue)
|![](/badge/chat/on%20gitter/cyan) | [/badge/chat/on%20gitter/cyan](/badge/chat/on%20gitter/cyan)
|![](/badge/stars/★★★★☆/green) | [/badge/stars/★★★★☆](/badge/stars/★★★★☆/green)

1
libs/serve-index.js

@ -7,6 +7,7 @@ module.exports = serveMarked('libs/index.md', {
body { max-width: inherit }
body > * { width: 960px; margin-left: auto; margin-right: auto; box-sizing: border-box }
h1 + p { letter-spacing: 0.1px }
h1 + p + p { text-align: center }
h1 + p a { display: inline-block; margin-top: 1em; padding: 4px; height: 20px }
img { height: 20px }

Loading…
Cancel
Save