comparison css/print.css @ 0:a3750d724105 default tip

initital
author Dirk Wintergruen <dwinter@mpiwg-berlin.mpg.de>
date Tue, 02 Jun 2015 09:16:36 +0200
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:a3750d724105
1 /**
2 * @file
3 * Print styling
4 *
5 * We provide some sane print styling for Drupal using Zen's layout method.
6 */
7
8 /**
9 * By importing this CSS file as media "all", we allow this print file to be
10 * aggregated with other stylesheets, for improved front-end performance.
11 */
12 @media print {
13
14 /* Underline all links. */
15 a:link,
16 a:visited {
17 text-decoration: underline !important;
18 }
19
20 /* Don't underline header. */
21 a:link.header__site-link,
22 a:visited.header__site-link {
23 text-decoration: none !important;
24 }
25
26 /* Add visible URL after links. */
27 #content a[href]:after {
28 content: " (" attr(href) ")";
29 font-weight: normal;
30 font-size: 16px;
31 }
32
33 /* Only display useful links. */
34 #content a[href^="javascript:"]:after,
35 #content a[href^="#"]:after {
36 content: "";
37 }
38
39 /* Add visible title after abbreviations. */
40 #content abbr[title]:after {
41 content: " (" attr(title) ")";
42 }
43
44 /* Un-float the content. */
45 #content {
46 float: none !important;
47 width: 100% !important;
48 margin: 0 !important;
49 padding: 0 !important;
50 }
51
52 /* Turn off any background colors or images. */
53 body,
54 #page,
55 #main,
56 #content {
57 color: #000;
58 background-color: transparent !important;
59 background-image: none !important;
60 }
61
62 /* Hide sidebars and nav elements. */
63 #skip-link,
64 #toolbar,
65 #navigation,
66 .region-sidebar-first,
67 .region-sidebar-second,
68 #footer,
69 .breadcrumb,
70 .tabs,
71 .action-links,
72 .links,
73 .book-navigation,
74 .forum-topic-navigation,
75 .pager,
76 .feed-icons {
77 visibility: hidden;
78 display: none;
79 }
80 }