/* These styles are located here for easy retrieval in JS */ .slide { box-sizing: border-box; height: 210mm; padding: 1em; width: 297mm; /* Size of landscape A4 paper */ font-size: 30px; transform-origin: 0 0; margin-bottom: 1em; } .absolute-slide { border: none !important; left: 50%; margin: 0 auto; position: absolute; right: 0; top: 50%; transform: translate(-50%, -50%); transform-origin: center center; visibility: visible; } .absolute-slide .clicked-image { left: 50%; top: 50%; transform: translate(-50%, -50%); } /* Stylesheet override */ article { overflow: hidden; } /* Presentation controller */ #presentCont { margin: 0.5em 0.5em 0.5em 0; } #presentCont > span { font-size: 1.4em; } /* Presenting mode */ #presentCont { display: initial; } /* Slides styles .slide {...} */ .slide img:not(.clicked-image) { height: auto; max-height: 100%; max-width: 100%; /* width: auto; */ } .slide:not(.absolute-slide) img { pointer-events: none; } .slide td { font: inherit; } .slide > *:first-child, .slide > div:only-child > *:first-child, .slide > ul:first-child > li:first-child > *:first-child, .slide > div:only-child > ul:first-child > li:first-child > *:first-child, .slide > ol:first-child > li:first-child > *:first-child, .slide > div:only-child > ol:first-child > li:first-child > *:first-child { margin-top: 0; } .slide ul, .slide ol { padding-inline-start: 30px; } .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, .slide .gap, .slide .gap-small { display: none; } .clide { display: flex; flex-direction: column; } .clide > * { flex: 1; } .centered, .centered .width5, .centered .width10, .centered .width15, .centered .width20, .centered .width25, .centered .width30, .centered .width35, .centered .width40, .centered .width45, .centered .width50, .centered .width55, .centered .width60, .centered .width65, .centered .width70, .centered .width75, .centered .width80, .centered .width85, .centered .width90, .centered .width95 { margin-left: auto; margin-right: auto; text-align: center; } .fright { float: right; text-align: right; } * + .fright { margin-left: 1em; } .layout-table { margin: 0; padding: 0; display: table; width: 100%; } .layout-table > .layout-row { display: table-row; } .layout-row > * { display: table-cell; border: none; padding: 0.1em; vertical-align: middle; } .layout-row li { margin-left: 30px; } .fixed-layout { table-layout: fixed; } .font18 { font-size: 18px; } .font20 { font-size: 20px; } .font22 { font-size: 22px; } .font25 { font-size: 25px; } .font27 { font-size: 27px; } .font35 { font-size: 35px; } .lineb1 { padding: 0.5em; } .lineb2 { padding: 1.0em; } .lineb3 { padding: 1.5em; } .lineb4 { padding: 2.0em; } .lineb5 { padding: 2.5em; } .lineb6 { padding: 3.0em; } .lineb7 { padding: 3.5em; } .lineb8 { padding: 4.0em; } .lineb9 { padding: 4.5em; } .width5 { width: 5%; } .width10 { width: 10%; } .width15 { width: 15%; } .width20 { width: 20%; } .width25 { width: 25%; } .width30 { width: 30%; } .width35 { width: 35%; } .width40 { width: 40%; } .width45 { width: 45%; } .width50 { width: 50%; } .width55 { width: 55%; } .width60 { width: 60%; } .width65 { width: 65%; } .width70 { width: 70%; } .width75 { width: 75%; } .width80 { width: 80%; } .width85 { width: 85%; } .width90 { width: 90%; } .width95 { width: 95%; } /* Presenting mode absolute-slide {...} */ .invisible { visibility: hidden; } .no-overflow { overflow: hidden; } .body-bg-color { background-color: var(--bg-color); } .absolute-cont { bottom: 0; opacity: 0.4; position: absolute; right: 0; transition: opacity 0.5s linear 0s; visibility: visible; z-index: 10; } .absolute-cont:hover { opacity: 0.4; } /* In case your browser doesn't support :hover */ .absolute-cont:not(:hover) { opacity: 0; } #slideIndex { border: none; font-size: 1.6em; } /* Media specific stylings */ @media screen { .slide { border: 1px solid var(--fg-color); } } @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; } }