diff options
| Commit | 7456799a58fcbb63c193a1e793a92e6aca17ebfd (patch) | |
|---|---|---|
| Author | 2023-12-11 10:59:51 +0200 | |
| Committer | 2023-12-11 10:59:51 +0200 | |
| Files | af38e5953b5ef33f15e7d10197c1c343ccdbb8c1 /src/presentation.css | |
| syndamia.com-7456799a58fcbb63c193a1e793a92e6aca17ebfd.tar syndamia.com-7456799a58fcbb63c193a1e793a92e6aca17ebfd.tar.gz syndamia.com-7456799a58fcbb63c193a1e793a92e6aca17ebfd.zip | ||
| Parent | d2c7b4eb144d674ad174bf33b43706e7a967ae9f (diff) | |
(presentation) Big overhaul, presentation.css is now always included, loading an article-mode page happens without slides flash, fixed certain cases where slides wouldn't resize but needed to
1 files changed, 6 insertions, 16 deletions
| -rw-r--r-- | src/presentation.css | 22 |
diff --git a/src/presentation.css b/src/presentation.css index 7de2346..cc82b04 100644 --- a/src/presentation.css +++ b/src/presentation.css @@ -28,7 +28,6 @@ /* Stylesheet override */ -article { overflow: hidden; } /* Presentation controller */ #presentCont { margin: 0.5em 0.5em 0.5em 0; } @@ -161,19 +160,10 @@ absolute-slide {...} */ } @media print { - article, body { - border: none !important; - margin: 0; - max-width: none; - padding: 0; - } - nav, article > :not(.slide), #pagenav { - display: none !important; - } - .slide { - height: 210mm; - width: 297mm; - margin: 0; - } + /* The contents of this rule are inserted from presentation.js + * because we need to do changes to non-presentation elements + * (like article or #pagenav) when the current page is trully + * a presentation, while presentation.css is inserted in every + * page. + */ } - |