diff options
Diffstat (limited to '97suifangqa/staticfiles/stylesheets/sass/print.css')
-rw-r--r-- | 97suifangqa/staticfiles/stylesheets/sass/print.css | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/97suifangqa/staticfiles/stylesheets/sass/print.css b/97suifangqa/staticfiles/stylesheets/sass/print.css new file mode 100644 index 0000000..f114785 --- /dev/null +++ b/97suifangqa/staticfiles/stylesheets/sass/print.css @@ -0,0 +1,80 @@ +/**
+ * @file
+ * Print styling
+ *
+ * We provide some sane print styling for Drupal using Zen's layout method.
+ */
+@media print {
+ /* line 14, ../../../sass/sass/print.scss */
+ a:link,
+ a:visited {
+ /* underline all links */
+ text-decoration: underline !important;
+ }
+ /* line 17, ../../../sass/sass/print.scss */
+ #site-name a:link, #site-name
+ a:visited {
+ /* Don't underline header */
+ text-decoration: none !important;
+ }
+
+ /* line 23, ../../../sass/sass/print.scss */
+ #content a[href]:after {
+ /* Add visible URL after links. */
+ content: " (" attr(href) ")";
+ font-weight: normal;
+ font-size: 14px;
+ }
+ /* line 30, ../../../sass/sass/print.scss */
+ #content a[href^="javascript:"]:after,
+ #content a[href^="#"]:after {
+ /* Only display useful links. */
+ content: "";
+ }
+ /* line 34, ../../../sass/sass/print.scss */
+ #content abbr[title]:after {
+ /* Add visible title after abbreviations. */
+ content: " (" attr(title) ")";
+ }
+
+ /* line 39, ../../../sass/sass/print.scss */
+ #content {
+ /* Un-float the content */
+ float: none !important;
+ width: 100% !important;
+ margin: 0 !important;
+ padding: 0 !important;
+ }
+
+ /* line 49, ../../../sass/sass/print.scss */
+ body,
+ #page,
+ #main,
+ #content {
+ /* Turn off any background colors or images */
+ color: #000;
+ background-color: transparent !important;
+ background-image: none !important;
+ }
+
+ /* line 68, ../../../sass/sass/print.scss */
+ #skip-link,
+ #toolbar,
+ #navigation,
+ .region-sidebar-first,
+ .region-sidebar-second,
+ #footer,
+ .breadcrumb,
+ .tabs,
+ .action-links,
+ .links,
+ .book-navigation,
+ .forum-topic-navigation,
+ .pager,
+ .feed-icons {
+ /* Hide sidebars and nav elements */
+ visibility: hidden;
+ display: none;
+ }
+}
+/* End @media print */
|