From 43676a3d219f76e74bfd5e324cde8fa5833df49a Mon Sep 17 00:00:00 2001 From: Eugeniy Mikhailov Date: Mon, 9 May 2011 23:14:45 -0400 Subject: added print style which hide useless on paper elements Ignore-this: 573fc68b58fc21dbd82be804c55a2784 darcs-hash:20110510031445-067c0-f81ba475ec0942cd6fd95a92601ad36087758497.gz --- GradeBook.scss | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'GradeBook.scss') diff --git a/GradeBook.scss b/GradeBook.scss index a0ee310..d37f9db 100644 --- a/GradeBook.scss +++ b/GradeBook.scss @@ -188,5 +188,40 @@ body { } +/* + * print styles + */ +@media print { + * { + background-color: white !important; + background-image: none !important; + } + div.controls { + display: none; + } + div.greetings { + display: none; + } + div.footer { + display: none; + } + div.gradestable { + table.gradestable { + th { + font-weight: bold; + valign: top; + } + } + a[href]:after { + content:none; + } + a img { + display: none; + } + } +} + + + // vim: ts=2:sw=2:tw=74:fdm=indent -- cgit v1.2.3