mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-20 15:00:42 -07:00
docs: better style for API doc
This commit is contained in:
+1
-1
@@ -23,4 +23,4 @@ for file in $(find docs/source/api -name "*.md"); do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
cp -r docs/source/api docs/source/zh-cn/api
|
cp -r docs/source/api docs/source/zh-cn/api
|
||||||
|
|||||||
@@ -8,8 +8,6 @@ timezone: UTC
|
|||||||
url: https://liquidjs.com
|
url: https://liquidjs.com
|
||||||
root: /
|
root: /
|
||||||
permalink: news/:year/:month/:day/:title/
|
permalink: news/:year/:month/:day/:title/
|
||||||
archive_dir: news
|
|
||||||
code_dir: downloads/code
|
|
||||||
relative_link: true
|
relative_link: true
|
||||||
new_post_name: :year-:month-:day-:title.md # File name of new posts
|
new_post_name: :year-:month-:day-:title.md # File name of new posts
|
||||||
post_asset_folder: true
|
post_asset_folder: true
|
||||||
|
|||||||
+7
-1
@@ -116,12 +116,18 @@ note-warn = hsl(0, 100%, 50%)
|
|||||||
font-size: 2em
|
font-size: 2em
|
||||||
h2
|
h2
|
||||||
font-size: 1.5em
|
font-size: 1.5em
|
||||||
|
border-bottom: 1px solid color-border
|
||||||
|
padding-bottom: 10px
|
||||||
|
margin-bottom: 15px
|
||||||
h3
|
h3
|
||||||
font-size: 1.3em
|
font-size: 1.3em
|
||||||
h1, h2, h3, h4, h5, h6
|
h1, h2, h3, h4, h5, h6
|
||||||
line-height: 1em
|
line-height: 1em
|
||||||
font-weight: bold
|
font-weight: bold
|
||||||
margin: 1em 0
|
margin: 1em 0
|
||||||
|
hr
|
||||||
|
border-bottom: none;
|
||||||
|
border-top: 1px dashed color-border;
|
||||||
a
|
a
|
||||||
color: color-link
|
color: color-link
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
@@ -206,7 +212,7 @@ note-warn = hsl(0, 100%, 50%)
|
|||||||
background: #eee
|
background: #eee
|
||||||
|
|
||||||
.article-footer
|
.article-footer
|
||||||
margin: 30px 0 0
|
margin: 60px 0 0
|
||||||
border-top: 1px solid color-border
|
border-top: 1px solid color-border
|
||||||
text-align: center
|
text-align: center
|
||||||
color: color-gray
|
color: color-gray
|
||||||
|
|||||||
Reference in New Issue
Block a user