X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2FwebTwoPointO.css;h=30317360b8dbdbe2d3cefdad33878023c3143ed8;hb=HEAD;hp=9f8cecbd46993493674b4fdc3e69187d80baa822;hpb=84940d8f7c885110f6ce355ba467dba4f71d7f4d;p=hacks%2FsimpleWebSlides.git diff --git a/themes/webTwoPointO.css b/themes/webTwoPointO.css index 9f8cecb..3031736 100644 --- a/themes/webTwoPointO.css +++ b/themes/webTwoPointO.css @@ -1,90 +1,72 @@ @import url(https://fonts.googleapis.com/css?family=Armata&subset=latin,latin-ext); @import url(https://fonts.googleapis.com/css?family=Inconsolata:400,700&subset=latin,latin-ext); -/* Default document properties */ -body { - font-family: 'Armata',sans-serif; - font-size: 18pt; -} -code { - font-family: 'Inconsolata', monospace; -} -/* The slide should be positioned w.r.t. to the canvas. - The canvas takes up the whole window in screen mode and a - whole page in print mode +/* Slide layout + .sws-{header,inner-canvas,footer} are in + a .sws-canvas which fills the whole viewport vertically + and is horizontally centered. + The .sws-canvas has an aspect ratio of 4/3 or 16/9 */ - -.sws-slide { - margin: 0pt; - left:0pt; - right:0pt; - top:0pt; - bottom:0pt; - padding:5mm; +/* No header in this theme */ +.sws-header { + display: none; } -.sws-cover { +/* Title of the slide */ +h1 { + color: #f14a29; + font-size: 5vh; text-align:center; - vertical-align:middle; } -.sws-cover .centerbox { - display:inline-block; - vertical-align: middle; +/* The inner canvas and content */ +.sws-inner-canvas { + top: 0vh; + height: 85vh; } -.sws-cover:before { - content: ""; - display: inline-block; - width:10pt; - height:100%; - vertical-align:middle; +.sws-content { + padding: 3vh; } -a { text-decoration: none; } -ul { - list-style-type: square; +.sws-footer { + top: 95vh; + height: 5vh; + text-align: right; } -@media screen { - body, .sws-slide { - background-color: black; - color: white; - } - .sws-slide h1 { - color: #f14a29; - } - em { - color: #f14a29; - font-style:normal; - } - a { - color: #0092bf; - text-decoration:none; - font-style:normal; - } +.sws-slide-num-sep:after { + content: "/"; } -@media print { - body, .sws-slide { - background-color: white; - color: black; - } - em { - font-style:italic; - } + +body { + font-family: 'Armata',sans-serif; + font-size: 3vh; + background-color: black; + color: white; } -/* slide title */ -.sws-slide h1 { - font-size: xxx-large; - font-weight: bolder; - text-align: center; +code, pre, tt { + font-family: 'Inconsolata', monospace; +} +code { + white-space: pre; } -span.sws-slide-num-sep:after { - content : "⋯"; +ul { + list-style-type: square; } -.sws-footer { - text-align: center; - position: absolute; - width: 100%; - bottom: 0pt; + + + +em { color: #f14a29; + font-style:normal; + } + +a { + color: #1092bf; + text-decoration:none; + font-style:normal; } + +.centerbox { + text-align: center; +} \ No newline at end of file