docs: better style for API doc

This commit is contained in:
harttle
2020-06-25 13:15:02 +08:00
parent e36f3ff291
commit 1a08efd402
3 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -23,4 +23,4 @@ for file in $(find docs/source/api -name "*.md"); do
fi
done
cp -r docs/source/api docs/source/zh-cn/api
cp -r docs/source/api docs/source/zh-cn/api
-2
View File
@@ -8,8 +8,6 @@ timezone: UTC
url: https://liquidjs.com
root: /
permalink: news/:year/:month/:day/:title/
archive_dir: news
code_dir: downloads/code
relative_link: true
new_post_name: :year-:month-:day-:title.md # File name of new posts
post_asset_folder: true
+7 -1
View File
@@ -116,12 +116,18 @@ note-warn = hsl(0, 100%, 50%)
font-size: 2em
h2
font-size: 1.5em
border-bottom: 1px solid color-border
padding-bottom: 10px
margin-bottom: 15px
h3
font-size: 1.3em
h1, h2, h3, h4, h5, h6
line-height: 1em
font-weight: bold
margin: 1em 0
hr
border-bottom: none;
border-top: 1px dashed color-border;
a
color: color-link
text-decoration: none
@@ -206,7 +212,7 @@ note-warn = hsl(0, 100%, 50%)
background: #eee
.article-footer
margin: 30px 0 0
margin: 60px 0 0
border-top: 1px solid color-border
text-align: center
color: color-gray