summaryrefslogtreecommitdiff
path: root/theme/h4ck3r/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-25 22:19:50 +0100
commit41c8048efd0d4b8053ee6f72fd277b9f602ded17 (patch)
treee92403df9815da24a451dc1410584bd7fab57a02 /theme/h4ck3r/css
parent3ee6ac4edf180d6a0674b2b2dc7b65ea8f241158 (diff)
Moved print inside base stylesheet using media rules. One less HTTP GET.
Diffstat (limited to 'theme/h4ck3r/css')
-rw-r--r--theme/h4ck3r/css/base.css32
-rw-r--r--theme/h4ck3r/css/display.css5
2 files changed, 36 insertions, 1 deletions
diff --git a/theme/h4ck3r/css/base.css b/theme/h4ck3r/css/base.css
index 18ea742a5..0302653fd 100644
--- a/theme/h4ck3r/css/base.css
+++ b/theme/h4ck3r/css/base.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; }
@@ -1137,3 +1138,34 @@ display:none;
.guide {
clear:both;
}
+
+}/*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*/
diff --git a/theme/h4ck3r/css/display.css b/theme/h4ck3r/css/display.css
index 58b3f242a..7112765ab 100644
--- a/theme/h4ck3r/css/display.css
+++ b/theme/h4ck3r/css/display.css
@@ -7,8 +7,9 @@
* @link http://status.net/
*/
-@import url(base.css);
+@import url(base.css) screen, projection, tv, print;
+@media screen, projection, tv {
html,
body,
a:active {
@@ -234,3 +235,5 @@ background-position:10% 45%;
background-image:url(../../base/images/icons/twotone/green/arrow-right.gif);
background-position:90% 45%;
}
+
+}/*end of @media screen, projection, tv*/