Improve layout extension docs
This commit is contained in:
parent
37aa3f6a13
commit
2ed6eb81b9
2 changed files with 8 additions and 1 deletions
|
@ -93,7 +93,7 @@ Here is where partials go for different presentations and places on the page.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Example customization
|
## Custom CSS Example
|
||||||
|
|
||||||
In `home/reveal-hugo/head.html`:
|
In `home/reveal-hugo/head.html`:
|
||||||
|
|
||||||
|
@ -105,6 +105,10 @@ In `home/reveal-hugo/head.html`:
|
||||||
</style>
|
</style>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Custom JS Example
|
||||||
|
|
||||||
In `home/reveal-hugo/body.html`:
|
In `home/reveal-hugo/body.html`:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
|
|
@ -15,4 +15,7 @@
|
||||||
.reveal section pre > code {
|
.reveal section pre > code {
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
|
.reveal table {
|
||||||
|
font-size: 0.65em;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in a new issue