Added a simple print stylesheet.
This commit is contained in:
parent
72aed21a39
commit
170bc0822c
12
scribeengine/public/styles/print.css
Normal file
12
scribeengine/public/styles/print.css
Normal 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;
|
||||||
|
}
|
@ -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'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(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/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:
|
% for script in c.scripts:
|
||||||
<script src="/scripts/${script}" type="text/javascript"></script>
|
<script src="/scripts/${script}" type="text/javascript"></script>
|
||||||
% endfor
|
% endfor
|
||||||
|
Reference in New Issue
Block a user