Skip to content

Commit

Permalink
列表左对齐
Browse files Browse the repository at this point in the history
  • Loading branch information
owent committed Apr 8, 2018
1 parent d8ffa4d commit 6afcffc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body li, body dd, body p {
text-align: left !important;
}
6 changes: 6 additions & 0 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
'cloud_sptheme.ext.escaped_samp_literals',
'cloud_sptheme.ext.issue_tracker',
'cloud_sptheme.ext.table_styling',
'cloud_sptheme.ext.index_styling',
# 'cloud_sptheme.ext.role_index', # NOTE: used only to provide example role index
]

Expand Down Expand Up @@ -225,3 +226,8 @@
todo_include_todos = True
keep_warnings = True
issue_tracker_url = "gh:xresloader/xresloader"


# custom styles
def setup(app):
app.add_stylesheet('css/custom.css') # may also be an URL

0 comments on commit 6afcffc

Please sign in to comment.