You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.4 KiB
72 lines
1.4 KiB
/** |
|
* @file |
|
* Print styling |
|
* |
|
* We provide some sane print styling for Drupal, hiding most visuals. |
|
*/ |
|
a:link, |
|
a:visited { /* underline all links */ |
|
text-decoration: underline !important; |
|
} |
|
|
|
#site-name a:link, |
|
#site-name a:visited { /* Don't underline header */ |
|
text-decoration: none !important; |
|
} |
|
|
|
#content a[href^="javascript:"]:after, |
|
#content a[href^="#"]:after { /* Only display useful links. */ |
|
/* content: ""; */ |
|
} |
|
|
|
#content abbr[title]:after { /* Add visible title after abbreviations. */ |
|
/* content: " (" attr(title) ")"; */ |
|
} |
|
|
|
#content { |
|
left: 0 !important; |
|
width: 100% !important; |
|
} |
|
uncomment when ready to test printing |
|
#header { |
|
display: none !important; |
|
} |
|
|
|
#content { /* Un-float the content */ |
|
float: none !important; |
|
width: 100% !important; |
|
margin: 0 !important; |
|
padding: 0 !important; |
|
} |
|
|
|
body, |
|
#page, |
|
#main, |
|
#content { /* Turn off any background colors or images */ |
|
color: #000; |
|
background-color: transparent !important; |
|
background-image: none !important; |
|
} |
|
|
|
body.sidebar-first { |
|
left: 0 !important; |
|
width: 100% !important; |
|
} |
|
#skip-link, |
|
#toolbar, |
|
#navigation, |
|
/* .region-sidebar-first, */ |
|
/* .region-sidebar-second, */ |
|
#header, |
|
#footer, |
|
.breadcrumb, |
|
.tabs, |
|
.action-links, |
|
.links, |
|
.book-navigation, |
|
.forum-topic-navigation, |
|
.pager, |
|
.feed-icons { /* Hide sidebars and nav elements */ |
|
visibility: hidden !important; |
|
display: none !important; |
|
} |