X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=themes%2FuPsud.css;h=bd95f873f288b3b54f69a6b10b3b05ee99971005;hb=HEAD;hp=d38c8e69067d3a5ff1f20c20a66fa2889cbe0d93;hpb=c416ce52822fd7c6dfc616b16449cec6eba41062;p=hacks%2FsimpleWebSlides.git diff --git a/themes/uPsud.css b/themes/uPsud.css index d38c8e6..bd95f87 100644 --- a/themes/uPsud.css +++ b/themes/uPsud.css @@ -1,5 +1,6 @@ @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); +@import url("cm.css"); /**** structure of the slide in this theme: no-header @@ -17,60 +18,95 @@ display: none; } -/* Title of the slide */ -.sws-title { - padding: 2vmin 0 2vmin 0; - height: 10vmin; - background:red; -} h1 { color: #00486c; font-size: larger; - text-align:center; + text-align: center; +} + +.sws-title > h1 { + margin:0; + padding:0; } +.sws-cover { display:flex; + flex-direction:column; + justify-content: center; + } + + +.sws-toc { position: absolute; + left: 0; + bottom: 0; + right: 0; + top:0; + } + +.sws-toc > .sws-content { + position:absolute; + top: 20%; + width:100%; +} + + .sws-canvas { color: #696968; background: #fff; padding:0; margin: 0; - z-index:2; + position:relative; + z-index:0; } -.sws-inner-canvas { /* allows the canvas to cover the logo if needed */ - z-index:2; - height: 80vmin; - background:blue; + + +.sws-inner-canvas { + height: 88%; + z-index: 2; + position: relative; /* to make z-index work */ + margin:0; +} + +/* Title of the slide */ +.sws-title { + height: 7%; + z-index: 2; + } .sws-footer { - height: 10vmin; - background:pink; + margin:0; + height: 5%; + text-align:right; + padding-right:1ex; + vertical-align: middle; + z-index: 1; } .sws-footer::before { + display:inline-block; + height:12%; + width: 12%; + left: 0.5ch; + bottom:0.5ch; position:absolute; - bottom: 1vmin; - left:1vmin; - display:block; - height:10vmin; content:""; - background-size: 100%; + background-size: contain; background-image: url("logo_psud_psay.png"); background-repeat: no-repeat; + z-index: -1 ; } -:root.sws-display .sws-footer::before { z-index: -1; } -/*:root.sws-print .sws-footer::before { z-index: 1; }*/ .sws-slide-num-sep:after { content: "/"; } + @font-face { src: url("DIN-Medium.ttf") format("truetype"); font-family: "DIN"; font-style: "normal"; - font-weight: "medium"; + font-weight:"medium"; } @font-face { @@ -87,23 +123,17 @@ body { color: #696968; } -:root.sws-display body { - font-size: 3.5vh; -} - +/* :root.sws-print body { font-size: 21pt; } -.sws-footer { - text-align: right; - height: 5%; -} @media print { body { font-size: 21pt; } } +*/ p { display:block; @@ -142,12 +172,12 @@ ul.empty { color: #92b938; } -.done:after { +.done::after { content: " ✔"; } li { - margin-top:0.5vh; + margin-top:0.5vmin; } tt em, code em { @@ -230,7 +260,7 @@ table.btable { } dl { - padding: 1vh 1em 1vh 1em; + padding: 1vmin 1em 1vmin 1em; } dt { display: inline; @@ -326,4 +356,25 @@ u { kbd { color: #393938; font-family:inherit; +} + +var, cite { + /* color: #696968; */ + color: #00486c; + font-family:'Computer Modern Serif'; + font-style: normal; + font-weight:bold; + +} +cite { + display:block; + text-align:center; +} + +dl.codelist dt { + font-family: 'Inconsolata', monospace; +} + +.solidbg { + background:white; } \ No newline at end of file