X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2FwebTwoPointO.css;h=30317360b8dbdbe2d3cefdad33878023c3143ed8;hb=aa50324ee6e5bf764099971072c3eb6e50443247;hp=f110830f6ebe42b19a47a9df06567c5beac33143;hpb=420e180defcf998f358b1fdb86ced1b7c4c71784;p=hacks%2FsimpleWebSlides.git diff --git a/themes/webTwoPointO.css b/themes/webTwoPointO.css index f110830..3031736 100644 --- a/themes/webTwoPointO.css +++ b/themes/webTwoPointO.css @@ -1,69 +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; -} -code, pre, tt { - font-family: 'Inconsolata', monospace; +/* 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 +*/ +/* No header in this theme */ +.sws-header { + display: none; } +/* Title of the slide */ +h1 { + color: #f14a29; + font-size: 5vh; + text-align:center; +} +/* The inner canvas and content */ .sws-inner-canvas { - top:0vh; - width:127vh; - height:93vh; - padding-left:3vh; - padding-right:3vh; - overflow:hidden; + top: 0vh; + height: 85vh; +} +.sws-content { + padding: 3vh; } -.sws-cover { - text-align:center; +.sws-footer { + top: 95vh; + height: 5vh; + text-align: right; } -a { text-decoration: none; } -ul { - list-style-type: square; +.sws-slide-num-sep:after { + content: "/"; } -@media screen { - body, .sws-slide { - background-color: black; - color: white; - } - h1 { - color: #f14a29; - } - em { - color: #f14a29; - font-style:normal; - } - a { - color: #0092bf; - text-decoration:none; - font-style:normal; - } +body { + font-family: 'Armata',sans-serif; + font-size: 3vh; + background-color: black; + color: white; } -@media print { - body, .sws-slide { - background-color: white; - color: black; - } - em { - font-style:italic; - } + +code, pre, tt { + font-family: 'Inconsolata', monospace; +} +code { + white-space: pre; } -/* slide title */ -h1 { - font-weight: bolder; - text-align: center; +ul { + list-style-type: square; } -span.sws-slide-num-sep:after { - content : "⋯"; + + +em { color: #f14a29; + font-style:normal; + } + +a { + color: #1092bf; + text-decoration:none; + font-style:normal; } -.sws-footer { + +.centerbox { text-align: center; -} +} \ No newline at end of file