print.css
Same filename in this branch
Same filename and directory in other branches
- 10 core/misc/print.css
- 10 core/themes/stable9/css/core/print.css
- 10 core/themes/claro/css/base/print.css
- 11.x core/misc/print.css
- 11.x core/themes/stable9/css/core/print.css
- 11.x core/themes/claro/css/base/print.css
- 8.9.x core/misc/print.css
- 8.9.x core/themes/seven/css/base/print.css
- 8.9.x core/themes/claro/css/base/print.css
- 8.9.x core/themes/bartik/css/print.css
- 8.9.x core/themes/stable/css/core/print.css
- 7.x misc/print.css
- 7.x themes/garland/print.css
- 7.x themes/bartik/css/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/
misc/ print.css
View source
- 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;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.