print.css

Same filename in this branch
  1. 10 core/misc/print.css
  2. 10 core/themes/claro/css/base/print.css
Same filename in other branches
  1. 7.x misc/print.css
  2. 7.x themes/garland/print.css
  3. 7.x themes/bartik/css/print.css
  4. 9 core/misc/print.css
  5. 9 core/themes/stable9/css/core/print.css
  6. 9 core/themes/seven/css/base/print.css
  7. 9 core/themes/claro/css/base/print.css
  8. 9 core/themes/bartik/css/print.css
  9. 9 core/themes/stable/css/core/print.css
  10. 8.9.x core/misc/print.css
  11. 8.9.x core/themes/seven/css/base/print.css
  12. 8.9.x core/themes/claro/css/base/print.css
  13. 8.9.x core/themes/bartik/css/print.css
  14. 8.9.x core/themes/stable/css/core/print.css
  15. 11.x core/misc/print.css
  16. 11.x core/themes/stable9/css/core/print.css
  17. 11.x core/themes/claro/css/base/print.css
body {
  margin: 1em;
  background-color: #fff;
}
[dir="rtl"] body {
  direction: rtl;
}
th {
  text-align: left; /* LTR */
  color: #006;
  border-bottom: 1px solid #ccc;
}
[dir="rtl"] th {
  text-align: right;
}
tr:nth-child(odd) {
  background-color: #ddd;
}
tr:nth-child(even) {
  background-color: #fff;
}
td {
  padding: 5px;
}

File

core/themes/stable9/css/core/print.css

View source
  1. body {
  2. margin: 1em;
  3. background-color: #fff;
  4. }
  5. [dir="rtl"] body {
  6. direction: rtl;
  7. }
  8. th {
  9. text-align: left; /* LTR */
  10. color: #006;
  11. border-bottom: 1px solid #ccc;
  12. }
  13. [dir="rtl"] th {
  14. text-align: right;
  15. }
  16. tr:nth-child(odd) {
  17. background-color: #ddd;
  18. }
  19. tr:nth-child(even) {
  20. background-color: #fff;
  21. }
  22. td {
  23. padding: 5px;
  24. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.