Skip to content
Snippets Groups Projects
Unverified Commit 330cc98d authored by Yann Dubois's avatar Yann Dubois Committed by GitHub
Browse files

:books: DOCS: justifying text (#992) (#997)

Closes #992
parent e918a482
No related branches found
No related tags found
No related merge requests found
...@@ -131,6 +131,16 @@ The rules should then automatically be applied to your site. In general, these ...@@ -131,6 +131,16 @@ The rules should then automatically be applied to your site. In general, these
CSS and JS files will be loaded *after* others are loaded on your page, so they CSS and JS files will be loaded *after* others are loaded on your page, so they
should overwrite pre-existing rules and behaviour. should overwrite pre-existing rules and behaviour.
### An example: Justify the text
If you want the text of you book to be justified instead of left aligned then create `myfile.css` under `mybook/_static` with the following CSS:
```css
p {
text-align: justify;
}
```
## Manual sphinx configuration ## Manual sphinx configuration
You may also directly override the key-value pairs that Sphinx normally has You may also directly override the key-value pairs that Sphinx normally has
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment