/css/print.css
https://gitlab.com/vozmob/cdh_monterrey_theme · CSS · 73 lines · 51 code · 8 blank · 14 comment · 0 complexity · 2d3d06ddeb68b05f4ae98cc8f7303510 MD5 · raw file
- /**
- * @file
- * Print styling
- *
- * We provide some sane print styling for Drupal using Zen's layout method.
- */
- /* underline all links */
- a:link,
- a:visited {
- text-decoration: underline !important;
- }
- /* Don't underline header */
- #site-name a:link,
- #site-name a:visited {
- text-decoration: none !important;
- }
- /* CSS2 selector to add visible href after links */
- #content a:link:after,
- #content a:visited:after {
- content: " (" attr(href) ") ";
- font-size: 0.8em;
- font-weight: normal;
- }
- /* Un-float the content */
- #content,
- #content .section {
- float: none;
- width: 100%;
- margin: 0 !important;
- padding: 0 !important;
- }
- /* Turn off any background colors or images */
- body,
- #cdhm-page-wrapper,
- #cdhm-page,
- #cdhm-main-wrapper,
- #cdhm-main,
- #content,
- #content .section {
- color: #000;
- background-color: transparent !important;
- background-image: none !important;
- }
- /* Hide sidebars and nav elements */
- #skip-link,
- #navigation,
- .region-sidebar-first,
- .region-sidebar-second,
- #cdhm-footer,
- .breadcrumb,
- div.tabs,
- .links,
- .taxonomy,
- .book-navigation,
- .forum-topic-navigation,
- .pager,
- .feed-icons {
- visibility: hidden;
- display: none;
- }
- /* If you un-comment the "page { overflow-y: hidden; }" ruleset, Firefox clips
- the content after the first page. */
- #cdhm-page-wrapper {
- overflow-y: visible;
- }