[snowy] Add a print stylesheet
- From: Brad Taylor <btaylor src gnome org>
- To: svn-commits-list gnome org
- Subject: [snowy] Add a print stylesheet
- Date: Tue, 21 Jul 2009 19:19:05 +0000 (UTC)
commit 94b0d19a4b04314bfd495335fb4c7a42c3b993a5
Author: Adam Ziolkowski <adam landasoftware com>
Date: Tue Jul 21 15:18:47 2009 -0400
Add a print stylesheet
Signed-off-by: Brad Taylor <brad getcoded net>
site_media/css/print.css | 104 ++++++++++++++++++++++++++++++++++++++++++++++
templates/base.html | 1 +
2 files changed, 105 insertions(+), 0 deletions(-)
---
diff --git a/site_media/css/print.css b/site_media/css/print.css
new file mode 100644
index 0000000..896ae2d
--- /dev/null
+++ b/site_media/css/print.css
@@ -0,0 +1,104 @@
+html, body {
+ background-color: #FFFFFF;
+ margin: 0;
+ padding: 0;
+}
+
+h1 {
+ color: #000000;
+ font-family: Trebuchet MS, Calibri, Verdana, Arial, sans-serif;
+}
+
+img {
+ border: none;
+}
+
+.clear {
+ clear: both;
+}
+
+#header-container {
+ margin: 10px;
+}
+
+#header-logo {
+ float: left;
+}
+
+#header-auth {
+ display: none;
+}
+
+#header-avatar {
+ display: none;
+}
+
+table#container {
+ padding: 5px 3px 0 3px;
+ width: 100%;
+ border: 0;
+}
+
+td#sidebar-container {
+ width: 0%;
+ margin: 0;
+ vertical-align: top;
+}
+
+#sidebar {
+ display: none;
+ margin: 0;
+ padding: 0;
+}
+
+#content {
+ background-color: #FFFFFF;
+ font-family: Candara, Verdana, Tahmoa, Arial, sans-serif;
+}
+
+#content h1 {
+ margin: 0.2em 0 0.2em 0;
+}
+
+#content-layout td {
+ padding: 8px;
+ vertical-align: top;
+}
+
+table#content-layout {
+ width: 100%;
+}
+
+#toolbar {
+ display: none;
+}
+
+#footer {
+ display: none;
+}
+
+.form-field th {
+ text-align: left;
+}
+
+/* Note-specific styles */
+
+.note-highlight {
+ background-color: yellow;
+}
+
+.note-monospace {
+ font-family: Consolas, monospace;
+}
+
+.note-size-small {
+ font-size: 0.8em;
+}
+
+.note-size-large {
+ font-size: 1.5em;
+}
+
+.note-size-huge {
+ font-size: 2.0em;
+}
diff --git a/templates/base.html b/templates/base.html
index 78cdfa0..97e4e20 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -7,6 +7,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{% block title %}{{ PROJECT_NAME }}{% endblock %}</title>
<link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/screen.css" media="screen">
+ <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/print.css" media="print">
{% if DEBUG %}
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js" charset="utf-8"></script>
<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-ui.js" charset="utf-8"></script>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]