summaryrefslogtreecommitdiff
path: root/theme/base/css
diff options
context:
space:
mode:
authorSarven Capadisli <csarven@status.net>2010-03-24 14:50:12 +0100
committerSarven Capadisli <csarven@status.net>2010-03-24 14:50:12 +0100
commit647b3a1f6bff2f0c8f02ea65939ebde088742b16 (patch)
tree4b435758aea39ae8cfbbcf889ea7b817cb7a6ce3 /theme/base/css
parenta3da5b24c9fc602e147304333ac059d0aae13de7 (diff)
Moved print inside base stylesheet using media rules. One less HTTP GET.
Diffstat (limited to 'theme/base/css')
-rw-r--r--theme/base/css/display.css32
1 files changed, 32 insertions, 0 deletions
diff --git a/theme/base/css/display.css b/theme/base/css/display.css
index d58684efb..36f0533b1 100644
--- a/theme/base/css/display.css
+++ b/theme/base/css/display.css
@@ -7,6 +7,7 @@
* @link http://status.net/
*/
+@media screen, projection, tv {
* { margin:0; padding:0; }
img { display:block; border:0; }
a abbr { cursor: pointer; border-bottom:0; }
@@ -1688,3 +1689,34 @@ width:auto;
#bookmarklet #wrap {
min-width:0;
}
+
+}/*end of @media screen, projection, tv*/
+
+
+@media print {
+a:after { background-color:#FFFFFF; }
+a:not([href^="#"]):after { content:" <"attr(href)"> "; }
+img { border:none; }
+p { orphans: 2; widows: 1; }
+
+#site_nav_global_primary,
+#site_nav_local_views,
+#form_notice,
+.pagination,
+#site_nav_global_secondary,
+.entity_actions,
+.notice-options,
+#aside_primary,
+.form_subscription_edit .submit {
+display:none;
+}
+.timestamp dt, .timestamp dd,
+.device dt, .device dd {
+display:inline;
+}
+.profiles li,
+.notices li {
+margin-bottom:18px;
+}
+
+}/*end of @media print*/