From ae532b46423c379d11d4fec56d624cf42f272f42 Mon Sep 17 00:00:00 2001 From: Kris Borchers Date: Sat, 28 Sep 2013 23:02:23 -0500 Subject: [PATCH] Better print styles. Fixes #254 - Printer friendly API docs --- themes/jquery/css/print.css | 15 +++++++++++++++ themes/jquery/header.php | 2 ++ 2 files changed, 17 insertions(+) create mode 100644 themes/jquery/css/print.css diff --git a/themes/jquery/css/print.css b/themes/jquery/css/print.css new file mode 100644 index 00000000..629a98ae --- /dev/null +++ b/themes/jquery/css/print.css @@ -0,0 +1,15 @@ +body > header, body > footer, #sidebar, #logo-events, #main, #broadcast { + display: none; +} + +#container, #content-wrapper { + border-top: none; +} + +#content { + width: 100%; +} + +#content ul li { + list-style-type: inherit; +} diff --git a/themes/jquery/header.php b/themes/jquery/header.php index 258fbf4d..692ec0e2 100755 --- a/themes/jquery/header.php +++ b/themes/jquery/header.php @@ -28,6 +28,8 @@ + +