Added a simple print stylesheet.

This commit is contained in:
Raoul Snyman 2010-02-24 13:53:03 +02:00
parent 72aed21a39
commit 170bc0822c
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
body {
background-color: #ff;
font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
font-size: 13px;
color: #000;
}
#menu,
#sidebar,
#commentform {
display: none;
}

View File

@ -9,6 +9,7 @@
<link href="${h.url_for(controller=u'feed', action=u'atom')}" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed" />
<link href="${h.url_for(controller=u'feed', action=u'rss')}" type="application/rss+xml" rel="alternate" title="Sitewide RSS Feed" />
<link href="${h.url_for('/styles/style.css')}" rel="stylesheet" type="text/css" media="screen" />
<link href="${h.url_for('/styles/print.css')}" rel="stylesheet" type="text/css" media="print" />
% for script in c.scripts:
<script src="/scripts/${script}" type="text/javascript"></script>
% endfor