print.css in Brainstorm profile 7
/*
* @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^="//"]:after,
a[href^="//"]: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
themes/brainstorm_theme/css/print.css
View source
- /*
- * @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^="//"]:after,
- a[href^="//"]: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;
- }