mirror of
https://github.com/simonbrunel/qtpromise.git
synced 2025-07-07 01:35:23 +08:00
Enhance the documentation and add markdown lint
- Add npm package.json to make easier maintaining dependencies. - Make markdown files consistent using remark. - Wrap markdown lines to 100 characters. - Better README.md layout and visual. - Enable VuePress landing/home page. - Upgrade to latest VuePress version. - Add link to the new Qt Marketplace.
This commit is contained in:
37
docs/.vuepress/styles/index.styl
Normal file
37
docs/.vuepress/styles/index.styl
Normal file
@ -0,0 +1,37 @@
|
||||
@import 'palette.styl'
|
||||
|
||||
a
|
||||
svg.icon.outbound
|
||||
margin-bottom -2px
|
||||
margin-left 2px
|
||||
|
||||
img + svg.icon.outbound
|
||||
display none
|
||||
|
||||
sup
|
||||
font-size 0.75em !important
|
||||
|
||||
.home .hero
|
||||
img
|
||||
margin 1.5rem auto !important
|
||||
.description
|
||||
display none !important
|
||||
#main-title
|
||||
display none !important
|
||||
|
||||
.content a code
|
||||
color $accentColor
|
||||
|
||||
.navbar
|
||||
-webkit-box-shadow 0 4px 4px -4px rgba(0,0,0,0.1)
|
||||
-moz-box-shadow 0 4px 4px -4px rgba(0,0,0,0.1)
|
||||
box-shadow 0 4px 4px -4px rgba(0,0,0,0.1)
|
||||
|
||||
.logo
|
||||
margin-right: 0.5rem;
|
||||
|
||||
.site-name
|
||||
font-size 1.25rem
|
||||
|
||||
.repo-link
|
||||
margin-left 1rem
|
2
docs/.vuepress/styles/palette.styl
Normal file
2
docs/.vuepress/styles/palette.styl
Normal file
@ -0,0 +1,2 @@
|
||||
$accentColor = #23b223
|
||||
$textColor = #404244
|
Reference in New Issue
Block a user