X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2FwebTwoPointO.css;h=9a8ba9be781b0809da80219567d856f84bbc1043;hb=3c70fc13da0c911d97e8712343b6dfaffd42588f;hp=ad3082a3174f29aadf79b35bfe61129e46f1fcfe;hpb=e71a40fe6bcf8dc94f3135fa5a78878793ef2d63;p=hacks%2FsimpleWebSlides.git diff --git a/themes/webTwoPointO.css b/themes/webTwoPointO.css index ad3082a..9a8ba9b 100644 --- a/themes/webTwoPointO.css +++ b/themes/webTwoPointO.css @@ -1,95 +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; - font-size: 18pt; -} - -/* 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 */ -.slide { - margin: 0pt; - left:0pt; - right:0pt; - top:0pt; - bottom:0pt; - padding:5mm; +.sws-header { + top: 0vh; + height: 5vh; } - -.cover { - text-align:center; - vertical-align:middle; +.sws-title { + top: 5vh; + height: 15vh; } -.cover .centerbox { - display:inline-block; - vertical-align: middle; +.sws-inner-canvas { + top: 20vh; + height: 75vh; } -.cover:before { - content: ""; - display: inline-block; - width:10pt; - height:100%; - vertical-align:middle; +.sws-footer { + top: 95vh; + height: 5vh; + text-align: right; } -a { text-decoration: none; } -ul { - list-style-type: square; +.sws-content { + padding: 3vh; } -@media screen { - body, .slide { - background-color: black; - color: white; - } - .slide h1 { - color: #f14a29; - } - a,em { - color: #0092bf; - text-decoration:none; - font-style:normal; - } -} -@media print { - body, .slide { - background-color: white; - color: black; - } - em { - font-style:italic; - } +.sws-slide-num-sep:after { + content: "/"; } -/* slide title */ -.slide h1 { - font-size: xxx-large; - font-weight: bolder; - text-align: center; +body { + font-family: 'Armata',sans-serif; + font-size: 4vh; + background-color: black; + color: white; } -span.slide_num_sep:after { - content : "⋯"; +code, pre, tt { + font-family: 'Inconsolata', monospace; } -.footer { - text-align: center; -} -.alert { - color: red; + +ul { + list-style-type: square; } -@media screen { -.other_slides { - opacity: 0.0; - transition: opacity 0.25s ease-in; -} -.current_slide { - opacity: 1.0; - transition: opacity 0.25s ease-out 0.25s; +h1 { color: #f14a29; + font-size: 6vh; + text-align:center; + } + +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