/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

  1. /**
  2. * @file
  3. * Print styling
  4. *
  5. * We provide some sane print styling for Drupal using Zen's layout method.
  6. */
  7. /* underline all links */
  8. a:link,
  9. a:visited {
  10. text-decoration: underline !important;
  11. }
  12. /* Don't underline header */
  13. #site-name a:link,
  14. #site-name a:visited {
  15. text-decoration: none !important;
  16. }
  17. /* CSS2 selector to add visible href after links */
  18. #content a:link:after,
  19. #content a:visited:after {
  20. content: " (" attr(href) ") ";
  21. font-size: 0.8em;
  22. font-weight: normal;
  23. }
  24. /* Un-float the content */
  25. #content,
  26. #content .section {
  27. float: none;
  28. width: 100%;
  29. margin: 0 !important;
  30. padding: 0 !important;
  31. }
  32. /* Turn off any background colors or images */
  33. body,
  34. #cdhm-page-wrapper,
  35. #cdhm-page,
  36. #cdhm-main-wrapper,
  37. #cdhm-main,
  38. #content,
  39. #content .section {
  40. color: #000;
  41. background-color: transparent !important;
  42. background-image: none !important;
  43. }
  44. /* Hide sidebars and nav elements */
  45. #skip-link,
  46. #navigation,
  47. .region-sidebar-first,
  48. .region-sidebar-second,
  49. #cdhm-footer,
  50. .breadcrumb,
  51. div.tabs,
  52. .links,
  53. .taxonomy,
  54. .book-navigation,
  55. .forum-topic-navigation,
  56. .pager,
  57. .feed-icons {
  58. visibility: hidden;
  59. display: none;
  60. }
  61. /* If you un-comment the "page { overflow-y: hidden; }" ruleset, Firefox clips
  62. the content after the first page. */
  63. #cdhm-page-wrapper {
  64. overflow-y: visible;
  65. }