You are here

print.css in Brainstorm profile 8

/*
 * @file
 * Print Styles
 * This probably needs work, but it's a good starting point.
 */
/*
 * Body
 */
body {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4;
  word-spacing: 1.1pt;
  letter-spacing: 0.2pt;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  color: black;
  background: none;
  font-size: 11pt;
}

/*
 * Links
 */
a {
  background: transparent;
  font-weight: 700;
  text-decoration: underline;
  color: #0000ee;
}
a[href^="http://"]:after,
a[href^="http://"]:visited:after {
  content: "(" attr(href) ")";
  font-size: 10pt;
}

/*
 * Strip background from likely candidates
 */
div[id*="wrapper"],
[class*="title"],
[class*="inner"],
header,
footer,
#branding,
#container,
#columns,
.columns-inner,
#content-column,
.content-inner,
.region,
.region-header,
.region-content,
.article,
.article-title,
.article-content,
.comment,
.comment-title,
.comment-content,
.block,
.block-inner,
.block-title,
.block-content,
table,
table * {
  background: none !important;
}

/*
 * Hide various bits of the page, .noprint reusable class for hiding stuff.
 */
.noprint,
.sidebar,
#breadcrumb,
.nav,
.field-type-taxonomy-term-reference,
ul.links,
.feed-icon,
.poll .bar,
.poll .foreground,
.comment-form,
#comment-form,
.book-navigation,
.tabs,
.action-links,
.pager,
.messages,
.help {
  display: none;
}

/*
 * Ensure the display the main content region
 */
#content {
  display: block !important;
}

/*
 * Layout
 */
#header {
  margin-bottom: 20px;
}

.content-inner {
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * HTML elements
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #333333;
  margin: 0;
  padding: 0;
  line-height: 1;
}

h1 {
  font-size: 14pt;
}

h2 {
  font-size: 13pt;
}

h3 {
  font-size: 12pt;
}

h4,
h5,
h6 {
  font-size: 11pt;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
#site-name a,
#site-slogan {
  text-decoration: none !important;
  color: #333333;
}

.h-group a:link,
.h-group a:visited {
  text-decoration: none;
}

#page-title {
  margin-top: 20px;
}

pre,
code,
tt,
samp,
kbd,
var {
  font-size: 10pt;
  font-family: Consolas, "Lucida Console", Menlo, Monaco, "DejaVu Sans Mono", monospace, sans-serif;
}

blockquote {
  margin: 20px;
  padding: 10px;
  font-size: 10pt;
  font-style: italic;
  background: #eeeeee;
}

hr {
  background-color: #666666;
}

/*
 * Header, Logo, Site name
 */
#header {
  padding-bottom: 20px;
}

#logo img {
  padding: 0 10px 0 0;
  margin: 0 !important;
  float: none !important;
}

/*
 * Images
 */
img {
  float: left;
  margin: 4px 20px 10px 0;
  page-break-inside: avoid;
}

a img {
  border: none;
}

/*
 * Tables
 */
table {
  margin: 1px;
  text-align: left;
}

th {
  border-bottom: 1px solid #333333;
  font-weight: 700;
}

td {
  border-bottom: 1px solid #333333;
}

th,
td {
  padding: 4px 10px 4px 0;
}

tfoot {
  font-style: italic;
}

caption {
  margin-bottom: 10px;
  text-align: left;
}

thead {
  display: table-header-group;
}

tr {
  page-break-inside: avoid;
}

/*
 * Forms
 */
form {
  margin-bottom: 10px;
}

/*
 * Poll module
 */
.poll .text,
.poll .percent,
.poll .total {
  text-align: left;
}
.poll form {
  margin-bottom: 0;
}

/*
 * Articles
 */
.node,
.comment {
  margin-bottom: 20px;
  overflow: hidden;
  page-break-inside: avoid;
}

.submitted {
  color: #666666;
  text-decoration: none;
  font-size: 9pt;
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.submitted a {
  color: #666666;
  text-decoration: none;
  font-size: 9pt;
  font-weight: 400;
  margin: 0;
  padding: 0;
}

File

theme/brainstorm_theme/css/print.css
View source
  1. /*
  2. * @file
  3. * Print Styles
  4. * This probably needs work, but it's a good starting point.
  5. */
  6. /*
  7. * Body
  8. */
  9. body {
  10. width: 100% !important;
  11. margin: 0 !important;
  12. padding: 0 !important;
  13. line-height: 1.4;
  14. word-spacing: 1.1pt;
  15. letter-spacing: 0.2pt;
  16. font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  17. color: black;
  18. background: none;
  19. font-size: 11pt;
  20. }
  21. /*
  22. * Links
  23. */
  24. a {
  25. background: transparent;
  26. font-weight: 700;
  27. text-decoration: underline;
  28. color: #0000ee;
  29. }
  30. a[href^="http://"]:after,
  31. a[href^="http://"]:visited:after {
  32. content: "(" attr(href) ")";
  33. font-size: 10pt;
  34. }
  35. /*
  36. * Strip background from likely candidates
  37. */
  38. div[id*="wrapper"],
  39. [class*="title"],
  40. [class*="inner"],
  41. header,
  42. footer,
  43. #branding,
  44. #container,
  45. #columns,
  46. .columns-inner,
  47. #content-column,
  48. .content-inner,
  49. .region,
  50. .region-header,
  51. .region-content,
  52. .article,
  53. .article-title,
  54. .article-content,
  55. .comment,
  56. .comment-title,
  57. .comment-content,
  58. .block,
  59. .block-inner,
  60. .block-title,
  61. .block-content,
  62. table,
  63. table * {
  64. background: none !important;
  65. }
  66. /*
  67. * Hide various bits of the page, .noprint reusable class for hiding stuff.
  68. */
  69. .noprint,
  70. .sidebar,
  71. #breadcrumb,
  72. .nav,
  73. .field-type-taxonomy-term-reference,
  74. ul.links,
  75. .feed-icon,
  76. .poll .bar,
  77. .poll .foreground,
  78. .comment-form,
  79. #comment-form,
  80. .book-navigation,
  81. .tabs,
  82. .action-links,
  83. .pager,
  84. .messages,
  85. .help {
  86. display: none;
  87. }
  88. /*
  89. * Ensure the display the main content region
  90. */
  91. #content {
  92. display: block !important;
  93. }
  94. /*
  95. * Layout
  96. */
  97. #header {
  98. margin-bottom: 20px;
  99. }
  100. .content-inner {
  101. margin: 0 !important;
  102. padding: 0 !important;
  103. }
  104. /*
  105. * HTML elements
  106. */
  107. h1,
  108. h2,
  109. h3,
  110. h4,
  111. h5,
  112. h6 {
  113. color: #333333;
  114. margin: 0;
  115. padding: 0;
  116. line-height: 1;
  117. }
  118. h1 {
  119. font-size: 14pt;
  120. }
  121. h2 {
  122. font-size: 13pt;
  123. }
  124. h3 {
  125. font-size: 12pt;
  126. }
  127. h4,
  128. h5,
  129. h6 {
  130. font-size: 11pt;
  131. }
  132. h1 a,
  133. h2 a,
  134. h3 a,
  135. h4 a,
  136. h5 a,
  137. h6 a,
  138. #site-name a,
  139. #site-slogan {
  140. text-decoration: none !important;
  141. color: #333333;
  142. }
  143. .h-group a:link,
  144. .h-group a:visited {
  145. text-decoration: none;
  146. }
  147. #page-title {
  148. margin-top: 20px;
  149. }
  150. pre,
  151. code,
  152. tt,
  153. samp,
  154. kbd,
  155. var {
  156. font-size: 10pt;
  157. font-family: Consolas, "Lucida Console", Menlo, Monaco, "DejaVu Sans Mono", monospace, sans-serif;
  158. }
  159. blockquote {
  160. margin: 20px;
  161. padding: 10px;
  162. font-size: 10pt;
  163. font-style: italic;
  164. background: #eeeeee;
  165. }
  166. hr {
  167. background-color: #666666;
  168. }
  169. /*
  170. * Header, Logo, Site name
  171. */
  172. #header {
  173. padding-bottom: 20px;
  174. }
  175. #logo img {
  176. padding: 0 10px 0 0;
  177. margin: 0 !important;
  178. float: none !important;
  179. }
  180. /*
  181. * Images
  182. */
  183. img {
  184. float: left;
  185. margin: 4px 20px 10px 0;
  186. page-break-inside: avoid;
  187. }
  188. a img {
  189. border: none;
  190. }
  191. /*
  192. * Tables
  193. */
  194. table {
  195. margin: 1px;
  196. text-align: left;
  197. }
  198. th {
  199. border-bottom: 1px solid #333333;
  200. font-weight: 700;
  201. }
  202. td {
  203. border-bottom: 1px solid #333333;
  204. }
  205. th,
  206. td {
  207. padding: 4px 10px 4px 0;
  208. }
  209. tfoot {
  210. font-style: italic;
  211. }
  212. caption {
  213. margin-bottom: 10px;
  214. text-align: left;
  215. }
  216. thead {
  217. display: table-header-group;
  218. }
  219. tr {
  220. page-break-inside: avoid;
  221. }
  222. /*
  223. * Forms
  224. */
  225. form {
  226. margin-bottom: 10px;
  227. }
  228. /*
  229. * Poll module
  230. */
  231. .poll .text,
  232. .poll .percent,
  233. .poll .total {
  234. text-align: left;
  235. }
  236. .poll form {
  237. margin-bottom: 0;
  238. }
  239. /*
  240. * Articles
  241. */
  242. .node,
  243. .comment {
  244. margin-bottom: 20px;
  245. overflow: hidden;
  246. page-break-inside: avoid;
  247. }
  248. .submitted {
  249. color: #666666;
  250. text-decoration: none;
  251. font-size: 9pt;
  252. font-weight: 400;
  253. margin: 0;
  254. padding: 0;
  255. }
  256. .submitted a {
  257. color: #666666;
  258. text-decoration: none;
  259. font-size: 9pt;
  260. font-weight: 400;
  261. margin: 0;
  262. padding: 0;
  263. }