diff options
| Commit | e7f4d0924d39e849325bdda49062b4200dc91ab5 (patch) | |
|---|---|---|
| Author | 2023-03-27 21:34:44 +0300 | |
| Committer | 2023-03-27 21:34:44 +0300 | |
| Files | a5051898c4a01ed7f0e66b6318cf442919bae59f /src/presentation.css | |
| syndamia.com-e7f4d0924d39e849325bdda49062b4200dc91ab5.tar syndamia.com-e7f4d0924d39e849325bdda49062b4200dc91ab5.tar.gz syndamia.com-e7f4d0924d39e849325bdda49062b4200dc91ab5.zip | ||
| Parent | b3ff1a4a80e19ffc082496d5036902b7f4e77d55 (diff) | |
[presentation.css] Improved styling when slides are in the middle of an article
1 files changed, 8 insertions, 7 deletions
| -rw-r--r-- | src/presentation.css | 15 |
diff --git a/src/presentation.css b/src/presentation.css index 19433e8..847db96 100644 --- a/src/presentation.css +++ b/src/presentation.css @@ -26,12 +26,7 @@ /* Stylesheet override */ article { max-width: calc(297mm + 2em); } -h2, h3, h4, h5, h6 { - display: block; - margin-block-start: 0; - margin-block-end: 0.5em; - } - .h-anchor { display: none; } + /* Presentation controller */ @@ -58,6 +53,12 @@ h2, h3, h4, h5, h6 { margin-top: 0; } .slide .svg { max-height: 1em !important; } + .slide h2, .slide h3, .slide h4, .slide h5, .slide h6 { + display: block; + margin-block-start: 0; + margin-block-end: 0.5em; + } + .slide .h-anchor { display: none; } .clide { display: flex; flex-direction: column; } .clide > * { flex: 1; } @@ -140,7 +141,7 @@ absolute-slide {...} */ max-width: auto; padding: 0; } - nav, article > :not(div), #pagenav { + nav, article > :not(.slide), #pagenav { display: none !important; } .slide { |