Project

General

Profile

Download (2.85 KB) Statistics
| Branch: | Tag: | Revision:
1
/**
2
 * @file
3
 * Print styling
4
 *
5
 * We provide some sane print styling for Drupal using Zen's layout method.
6
 */
7
@media print {
8
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000314}}
9
  a:link,
10
  a:visited {
11
    /* underline all links */
12
    text-decoration: underline !important;
13
  }
14
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/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 */
18
    text-decoration: none !important;
19
  }
20

    
21
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000323}}
22
  #content a[href]:after {
23
    /* Add visible URL after links. */
24
    content: " (" attr(href) ")";
25
    font-weight: normal;
26
    font-size: 12px;
27
  }
28
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000330}}
29
  #content a[href^="javascript:"]:after,
30
  #content a[href^="#"]:after {
31
    /* Only display useful links. */
32
    content: "";
33
  }
34
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000334}}
35
  #content abbr[title]:after {
36
    /* Add visible title after abbreviations. */
37
    content: " (" attr(title) ")";
38
  }
39

    
40
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000339}}
41
  #content {
42
    /* Un-float the content */
43
    float: none !important;
44
    width: 100% !important;
45
    margin: 0 !important;
46
    padding: 0 !important;
47
  }
48

    
49
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000349}}
50
  body,
51
  #page,
52
  #main,
53
  #content {
54
    /* Turn off any background colors or images */
55
    color: #000;
56
    background-color: transparent !important;
57
    background-image: none !important;
58
  }
59

    
60
@media -sass-debug-info{filename{font-family:file\:\/\/\/home\/andreas\/workspaces\/_svn-trunk\/drupal-git\/7\.x\/themes\/zen_dataportal\/sass\/print\.scss}line{font-family:\0000368}}
61
  #skip-link,
62
  #toolbar,
63
  #navigation,
64
  .region-sidebar-first,
65
  .region-sidebar-second,
66
  #footer,
67
  .breadcrumb,
68
  .tabs,
69
  .action-links,
70
  .links,
71
  .book-navigation,
72
  .forum-topic-navigation,
73
  .pager,
74
  .feed-icons {
75
    /* Hide sidebars and nav elements */
76
    visibility: hidden;
77
    display: none;
78
  }
79
}
80
/* End @media print */
(17-17/21)