summaryrefslogtreecommitdiff
path: root/public/css
diff options
context:
space:
mode:
authorWu Cheng-Han2016-08-15 11:30:12 +0800
committerWu Cheng-Han2016-08-15 11:30:12 +0800
commit058c35730b3b8b0d3572c6e96093f760c402b727 (patch)
tree43471e7ee449a7b304ffeb0de9f12cfc1aaad358 /public/css
parent29d198def9e4d0c930625d646567e84cc81e512c (diff)
Update to hide scrollbar (but scrollable) in the slide mode
Diffstat (limited to '')
-rw-r--r--public/css/slide.css19
1 files changed, 19 insertions, 0 deletions
diff --git a/public/css/slide.css b/public/css/slide.css
index bccb7e42..3f79084b 100644
--- a/public/css/slide.css
+++ b/public/css/slide.css
@@ -280,6 +280,25 @@ pre.mermaid > svg {
max-width: 758px;
}
+html, body {
+ height: 100%;
+ width: 100%;
+ overflow: hidden;
+}
+
+.container {
+ position: absolute;
+ top: 0;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ overflow-y: scroll;
+}
+
+.container.hidescrollbar {
+ right: -17px;
+}
+
.reveal {
height: 100vh;
}