X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2Fdefault.css;fp=themes%2Fdefault.css;h=fcf1c4fd29723fba06cd836fafc240c36d4ba2ba;hb=17470c738558740aa2b3cb754bf38bad52157816;hp=bb509da8df8752469e27ee6ec3600c1918a3b1e3;hpb=f11f30ed7ba478ee5b5e5dc1494d736d3bb8006f;p=hacks%2FsimpleWebSlides.git diff --git a/themes/default.css b/themes/default.css index bb509da..fcf1c4f 100644 --- a/themes/default.css +++ b/themes/default.css @@ -1,54 +1,49 @@ -@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic&subset=latin,greek-ext,greek,latin-ext); - +/* Default document properties */ body { - font-family: 'Ubuntu', sans-serif; + font-family: sans-serif; font-size: 18pt; } -@media screen { - body { - background: black; - color: white; - } -} -@media print { - body { - background: white; - color: black; - } -} - - -a, a:visited, em { - color:orange; +/* 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 { + margin: 10pt; + border-width:1mm; + border-radius:5mm; + border-color:black; + border-style:solid; + left:0pt; + right:0pt; + top:0pt; + bottom:0pt; + padding:5mm; } +/* slide title */ +.slide h1 { + font-size: xxx-large; + font-weight: bolder; -ul { - list-style-type: square; } span.slide_num_sep:after { content : "/"; } .footer { - text-align: right; + text-align: center; } - .alert { - color: green; + color: red; } +/* Simple transition in presentation mode */ @media screen { -/* Slide transitions, only for 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; -} - + .other_slides { + visibility: hidden; + } + .current_slide { + visibility: visible; + } } \ No newline at end of file