X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2FwebTwoPointO.css;h=9a8ba9be781b0809da80219567d856f84bbc1043;hb=3c70fc13da0c911d97e8712343b6dfaffd42588f;hp=f110830f6ebe42b19a47a9df06567c5beac33143;hpb=420e180defcf998f358b1fdb86ced1b7c4c71784;p=hacks%2FsimpleWebSlides.git diff --git a/themes/webTwoPointO.css b/themes/webTwoPointO.css index f110830..9a8ba9b 100644 --- a/themes/webTwoPointO.css +++ b/themes/webTwoPointO.css @@ -1,69 +1,70 @@ @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; +/* 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-header { + top: 0vh; + height: 5vh; } -code, pre, tt { - font-family: 'Inconsolata', monospace; +.sws-title { + top: 5vh; + height: 15vh; } - .sws-inner-canvas { - top:0vh; - width:127vh; - height:93vh; - padding-left:3vh; - padding-right:3vh; - overflow:hidden; + top: 20vh; + height: 75vh; +} +.sws-footer { + top: 95vh; + height: 5vh; + text-align: right; } -.sws-cover { - text-align:center; +.sws-content { + padding: 3vh; } -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: 4vh; + 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; } -/* slide title */ -h1 { - font-weight: bolder; - text-align: center; +ul { + list-style-type: square; } -span.sws-slide-num-sep:after { - content : "⋯"; + +h1 { color: #f14a29; + font-size: 6vh; + text-align:center; + } + +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