diff options
author | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-14 00:37:00 +0000 |
---|---|---|
committer | Steven Wittens <steven@10.no-reply.drupal.org> | 2006-12-14 00:37:00 +0000 |
commit | 3b1e663aadbf433cdd3fd1fd5d92dbb7d2cd001d (patch) | |
tree | b36782b2db0cf0656a72457ac98baca4a2fe96ed /themes | |
parent | 212a0381293e07ec6db68a28cee7029108201f2a (diff) | |
download | brdo-3b1e663aadbf433cdd3fd1fd5d92dbb7d2cd001d.tar.gz brdo-3b1e663aadbf433cdd3fd1fd5d92dbb7d2cd001d.tar.bz2 |
#92544: Add print stylesheet to Garland
Diffstat (limited to 'themes')
-rw-r--r-- | themes/garland/page.tpl.php | 1 | ||||
-rw-r--r-- | themes/garland/print.css | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/themes/garland/page.tpl.php b/themes/garland/page.tpl.php index ba31d4663..2562513a7 100644 --- a/themes/garland/page.tpl.php +++ b/themes/garland/page.tpl.php @@ -6,6 +6,7 @@ <?php print $head ?> <?php print $styles ?> <?php print $scripts ?> + <style type="text/css" media="print">@import "<?php print base_path() . path_to_theme() ?>/print.css";</style> <!--[if lt IE 7]> <style type="text/css" media="all">@import "<?php print base_path() . path_to_theme() ?>/fix-ie.css";</style> <![endif]--> diff --git a/themes/garland/print.css b/themes/garland/print.css new file mode 100644 index 000000000..b943593d7 --- /dev/null +++ b/themes/garland/print.css @@ -0,0 +1,53 @@ +/** + * Themetastic, for Drupal 5.0 + * Stefan Nagtegaal, iStyledThis [dot] nl + * Steven Wittens, acko [dot] net` + * + * If you use a customized color scheme, you must regenerate it after + * modifying this file. + */ + +body, input, textarea, select { + color: #000; + background: none; +} + +ul.primary-links, ul.secondary-links, +#header-region, .sidebar { + display: none; +} + +body.sidebars, body.sideber-left, body.sidebar-right, body { + width: 640px; +} + +body.sidebar-left #center, body.sidebar-right #center, body.sidebars #center, +body.sidebar-left #squeeze, body.sidebar-right #squeeze, body.sidebars #squeeze { + margin: 0; +} + +#wrapper, +#wrapper #container .breadcrumb, +#wrapper #container #center, +#wrapper #container #center .right-corner, +#wrapper #container #center .right-corner .left-corner, +#wrapper #container #footer, +#wrapper #container #center #squeeze { + position: static; + left: 0; + padding: 0; + margin: 0; + width: auto; + float: none; + clear: both; + background: none; +} + +#wrapper #container #header { + height: 130px; +} + +#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited { + text-shadow: none; + color: #000; +} |