diff options
author | Sarven Capadisli <csarven@status.net> | 2010-03-24 14:50:12 +0100 |
---|---|---|
committer | Sarven Capadisli <csarven@status.net> | 2010-03-24 14:50:12 +0100 |
commit | 647b3a1f6bff2f0c8f02ea65939ebde088742b16 (patch) | |
tree | 4b435758aea39ae8cfbbcf889ea7b817cb7a6ce3 /theme/pigeonthoughts/css | |
parent | a3da5b24c9fc602e147304333ac059d0aae13de7 (diff) |
Moved print inside base stylesheet using media rules. One less HTTP GET.
Diffstat (limited to 'theme/pigeonthoughts/css')
-rw-r--r-- | theme/pigeonthoughts/css/base.css | 32 | ||||
-rw-r--r-- | theme/pigeonthoughts/css/display.css | 4 |
2 files changed, 35 insertions, 1 deletions
diff --git a/theme/pigeonthoughts/css/base.css b/theme/pigeonthoughts/css/base.css index 2814260bd..bd12e6eaa 100644 --- a/theme/pigeonthoughts/css/base.css +++ b/theme/pigeonthoughts/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; } @@ -1383,3 +1384,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/pigeonthoughts/css/display.css b/theme/pigeonthoughts/css/display.css index dfeb01b48..de5164ea8 100644 --- a/theme/pigeonthoughts/css/display.css +++ b/theme/pigeonthoughts/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 { background:url(../images/illustrations/illu_pigeons-01.png) no-repeat 0 100%; } @@ -496,3 +497,4 @@ background-position:90% 47%; background-position:10% 47%; } +}/*end of @media screen, projection, tv*/ |