groups/themes/openstack/css/print.css
Marton Kiss 993414fa85 Openstack theme
Replace Drupal Commons by Openstack theme.

Change-Id: Ifc18969c3e089aa1ff11a3d98daac1442b444bef
2013-10-24 16:34:47 +02:00

81 lines
1.6 KiB
CSS

/**
* @file
* Print styling
*
* We provide some sane print styling for Drupal using Zen's layout method.
*/
/**
* By importing this CSS file as media "all", we allow this print file to be
* aggregated with other stylesheets, for improved front-end performance.
*/
@media print {
/* Underline all links. */
a:link,
a:visited {
text-decoration: underline !important;
}
/* Don't underline header. */
a:link.header__site-link,
a:visited.header__site-link {
text-decoration: none !important;
}
/* Add visible URL after links. */
#content a[href]:after {
content: " (" attr(href) ")";
font-weight: normal;
font-size: 16px;
}
/* Only display useful links. */
#content a[href^="javascript:"]:after,
#content a[href^="#"]:after {
content: "";
}
/* Add visible title after abbreviations. */
#content abbr[title]:after {
content: " (" attr(title) ")";
}
/* Un-float the content. */
#content {
float: none !important;
width: 100% !important;
margin: 0 !important;
padding: 0 !important;
}
/* Turn off any background colors or images. */
body,
#page,
#main,
#content {
color: #000;
background-color: transparent !important;
background-image: none !important;
}
/* Hide sidebars and nav elements. */
#skip-link,
#toolbar,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer,
.breadcrumb,
.tabs,
.action-links,
.links,
.book-navigation,
.forum-topic-navigation,
.pager,
.feed-icons {
visibility: hidden;
display: none;
}
}