diff options
author | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-05-09 23:14:45 -0400 |
---|---|---|
committer | Eugeniy Mikhailov <evgmik@gmail.com> | 2011-05-09 23:14:45 -0400 |
commit | 43676a3d219f76e74bfd5e324cde8fa5833df49a (patch) | |
tree | 26c6e9d80627389ba1986becb4a624763d01c633 | |
parent | aaa4fcd2bece5e64b7313004fb431b76a3f121f4 (diff) | |
download | GradeBook-43676a3d219f76e74bfd5e324cde8fa5833df49a.tar.gz GradeBook-43676a3d219f76e74bfd5e324cde8fa5833df49a.zip |
added print style which hide useless on paper elements
Ignore-this: 573fc68b58fc21dbd82be804c55a2784
darcs-hash:20110510031445-067c0-f81ba475ec0942cd6fd95a92601ad36087758497.gz
-rw-r--r-- | GradeBook.scss | 35 |
1 files changed, 35 insertions, 0 deletions
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 |