X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2Fdefault.css;h=552b75285b9ffbdec7ba2bb5b3760afa361fb07c;hb=acfe25fb0a05b1876f22e010a12914c2e1a91790;hp=bb509da8df8752469e27ee6ec3600c1918a3b1e3;hpb=b1f6566ac20a78b0de684e0dc2ff296fed24a195;p=hacks%2FsimpleWebSlides.git diff --git a/themes/default.css b/themes/default.css index bb509da..552b752 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 +*/ +.sws-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 */ +.sws-slide h1 { + font-size: xxx-large; + font-weight: bolder; -ul { - list-style-type: square; } -span.slide_num_sep:after { +span.sws-slide-num-sep:after { content : "/"; } -.footer { - text-align: right; +.sws-footer { + 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; -} - + .sws-inactive-slide { + visibility: hidden; + } + .sws-current-slide { + visibility: visible; + } } \ No newline at end of file