From c330db029c59cfb11746f79e3362821dbfc9942d Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Fri, 10 May 2013 12:08:47 -0400 Subject: [PATCH] Various stylesheet changes. Print media section. noprint class which is never printed. printonly class which is shown only when printed. Various prettiness improvements. --- www/style.css | 96 ++++++++++++++++++++++++++++++++++----------------- 1 file changed, 64 insertions(+), 32 deletions(-) diff --git a/www/style.css b/www/style.css index 95728d1..932a1e9 100644 --- a/www/style.css +++ b/www/style.css @@ -1,43 +1,75 @@ -body { - font-family: Helvetica, Arial; - margin: 0px; -} +@media print { + #header { + display: none; + } -#header { - top: 0px; - left: 0px; - width: 100%; - background-image: url(logo.png); - background-color: #007d00; - background-repeat: no-repeat; - padding: 0.5em; - padding-left: 56px; - margin: 0px; - font-size: 16pt; - box-shadow: 0px 4px 8px 2px black; -} + #main { } + + body { } + + a { color: inherit; } + + .standout { } + + .noprint { + display: none; + } -#header > a { - color: white; + .printonly { } } -#main { - margin: 0.5em; +@media screen { + body { + font-family: Helvetica, Arial; + margin: 0px; + } + + #header { + top: 0px; + left: 0px; + width: 100%; + background-image: url(logo.png); + background-color: #007d00; + background-repeat: no-repeat; + padding: 0.5em; + padding-left: 56px; + margin: 0px; + font-size: 16pt; + box-shadow: 0px 4px 8px 2px black; + } + + #header > a { + color: white; + } + + #main { + margin: 0.5em; + } + + .standout { + background: #eeeeee; + border-color: black; + border-width: 1px; + border-style: solid; + border-radius: 0.5em; + padding-left: 0.25em; + padding-right: 0.25em; + } + + .noprint { } + + .printonly { + display: none; + } } -.button { - background-color: #2040cc; - border-radius: 32px; - padding-top: 16px; - padding-bottom: 16px; - padding-left: 32px; - padding-right: 32px; - margin: 32px; - box-shadow: 4px 4px 8px 2px black; } -.button > a { - color: white; +.history { + background: #eeeeee; + border-radius: 0.5em; + padding-left: 0.25em; + padding-right: 0.25em; } a { -- 2.20.1