Revision ca55d066
Added by Andreas Kohlbecker over 11 years ago
7.x/themes/zen_dataportal/css/print.css | ||
---|---|---|
4 | 4 |
* |
5 | 5 |
* We provide some sane print styling for Drupal using Zen's layout method. |
6 | 6 |
*/ |
7 |
|
|
8 | 7 |
@media print { |
9 |
|
|
8 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000314}} |
|
10 | 9 |
a:link, |
11 |
a:visited { /* underline all links */ |
|
10 |
a:visited { |
|
11 |
/* underline all links */ |
|
12 | 12 |
text-decoration: underline !important; |
13 | 13 |
} |
14 |
|
|
15 |
#site-name a:link, |
|
16 |
#site-name a:visited { /* Don't underline header */ |
|
14 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000317}} |
|
15 |
#site-name a:link, #site-name |
|
16 |
a:visited { |
|
17 |
/* Don't underline header */ |
|
17 | 18 |
text-decoration: none !important; |
18 | 19 |
} |
19 | 20 |
|
20 |
#content a[href]:after { /* Add visible URL after links. */ |
|
21 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000323}} |
|
22 |
#content a[href]:after { |
|
23 |
/* Add visible URL after links. */ |
|
21 | 24 |
content: " (" attr(href) ")"; |
22 | 25 |
font-weight: normal; |
23 |
font-size: 16px;
|
|
26 |
font-size: 12px;
|
|
24 | 27 |
} |
25 |
|
|
28 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000330}} |
|
26 | 29 |
#content a[href^="javascript:"]:after, |
27 |
#content a[href^="#"]:after { /* Only display useful links. */ |
|
30 |
#content a[href^="#"]:after { |
|
31 |
/* Only display useful links. */ |
|
28 | 32 |
content: ""; |
29 | 33 |
} |
30 |
|
|
31 |
#content abbr[title]:after { /* Add visible title after abbreviations. */ |
|
34 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000334}} |
|
35 |
#content abbr[title]:after { |
|
36 |
/* Add visible title after abbreviations. */ |
|
32 | 37 |
content: " (" attr(title) ")"; |
33 | 38 |
} |
34 | 39 |
|
35 |
#content { /* Un-float the content */ |
|
40 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000339}} |
|
41 |
#content { |
|
42 |
/* Un-float the content */ |
|
36 | 43 |
float: none !important; |
37 | 44 |
width: 100% !important; |
38 | 45 |
margin: 0 !important; |
39 | 46 |
padding: 0 !important; |
40 | 47 |
} |
41 | 48 |
|
49 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000349}} |
|
42 | 50 |
body, |
43 | 51 |
#page, |
44 | 52 |
#main, |
45 |
#content { /* Turn off any background colors or images */ |
|
53 |
#content { |
|
54 |
/* Turn off any background colors or images */ |
|
46 | 55 |
color: #000; |
47 | 56 |
background-color: transparent !important; |
48 | 57 |
background-image: none !important; |
49 | 58 |
} |
50 | 59 |
|
60 |
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/www\/drupal-7\.16\/sites\/all\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000368}} |
|
51 | 61 |
#skip-link, |
52 | 62 |
#toolbar, |
53 | 63 |
#navigation, |
... | ... | |
61 | 71 |
.book-navigation, |
62 | 72 |
.forum-topic-navigation, |
63 | 73 |
.pager, |
64 |
.feed-icons { /* Hide sidebars and nav elements */ |
|
74 |
.feed-icons { |
|
75 |
/* Hide sidebars and nav elements */ |
|
65 | 76 |
visibility: hidden; |
66 | 77 |
display: none; |
67 | 78 |
} |
68 |
|
|
69 |
} /* End @media print */ |
|
79 |
} |
|
80 |
/* End @media print */ |
Also available in: Unified diff
configuring theme and first sass editing