commit | author | age
|
56dfe6
|
1 |
@charset "UTF-8";
|
R |
2 |
/**
|
|
3 |
* "Yet Another Multicolumn Layout" - (X)HTML/CSS Framework
|
|
4 |
*
|
|
5 |
* (en) YAML core stylesheet - print layout
|
|
6 |
* (de) YAML Core-Stylesheet - Druck Layout
|
|
7 |
*
|
|
8 |
* Don't make any changes in this file!
|
|
9 |
* Your changes should be added to 'print_xyz_draft.css' drafts from 'yaml/print/' folder.
|
|
10 |
*
|
|
11 |
* @copyright Copyright 2005-2008, Dirk Jesse
|
|
12 |
* @license CC-A 2.0 (http://creativecommons.org/licenses/by/2.0/),
|
|
13 |
* YAML-C (http://www.yaml.de/en/license/license-conditions.html)
|
|
14 |
* @link http://www.yaml.de
|
|
15 |
* @package yaml
|
|
16 |
* @version 3.0.6
|
|
17 |
* @revision $Revision: 202 $
|
|
18 |
* @lastmodified $Date: 2008-06-07 14:29:18 +0200 (Sa, 07 Jun 2008) $
|
|
19 |
*/
|
|
20 |
|
|
21 |
@media print
|
|
22 |
{
|
|
23 |
/*------------------------------------------------------------------------------------------------------*/
|
|
24 |
|
|
25 |
/**
|
|
26 |
* @section layout preparation
|
|
27 |
* @see http://www.yaml.de/en/documentation/css-components/layout-for-print-media.html
|
|
28 |
*/
|
|
29 |
|
|
30 |
/* (en) Preparing base layout for print */
|
|
31 |
/* (de) Basislayout für Druck aufbereiten */
|
|
32 |
body, #page_margins, #page, #main { margin:0; padding: 0; border: 0; }
|
|
33 |
#page_margins, #page { width: 100% !important; min-width:0; max-width: none; }
|
|
34 |
#header { height: auto; }
|
|
35 |
|
|
36 |
/* (en) Hide unneeded container of the screenlayout in print layout */
|
|
37 |
/* (de) Für den Druck nicht benötigte Container des Layouts abschalten */
|
|
38 |
#topnav, #nav, #search, #footer { display: none; }
|
|
39 |
|
|
40 |
/* (en) Linearising subtemplates */
|
|
41 |
/* (de) Linearisierung der Subtemplates */
|
|
42 |
.c25l, .c33l, .c38l, .c50l, .c62l, .c66l, .c75l,
|
|
43 |
.c25r, .c33r, .c38r, .c50r, .c62r, .c66r, .c75r {
|
|
44 |
width: 100%; margin:0; float:none; overflow:visible; display:table;
|
|
45 |
}
|
|
46 |
.subc, .subcl, .subcr { margin: 0; padding: 0; }
|
|
47 |
|
|
48 |
/* (en) make .print class visible */
|
|
49 |
/* (de) .print-Klasse sichtbar schalten */
|
|
50 |
.print { position: static; top: 0; left: 0; height: auto; width: auto; }
|
|
51 |
|
|
52 |
/*------------------------------------------------------------------------------------------------------*/
|
|
53 |
|
|
54 |
/**
|
|
55 |
* @section content preparation
|
|
56 |
* @see http://www.yaml.de/en/documentation/css-components/layout-for-print-media.html
|
|
57 |
*/
|
|
58 |
|
|
59 |
/* (en) Change font to serif */
|
|
60 |
/* (de) Zeichensatz auf Serifen umstellen */
|
|
61 |
body * { font-family: "Times New Roman", Times, serif; }
|
|
62 |
code, pre { font-family:"Courier New", Courier, mono; }
|
|
63 |
body { font-size: 12pt; }
|
|
64 |
|
|
65 |
/* (en) Avoid page breaks right after headings */
|
|
66 |
/* (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift */
|
|
67 |
h1,h2,h3,h4,h5,h6 { page-break-after:avoid; }
|
|
68 |
|
|
69 |
/* (en) Format acronyms and abbreviations for print*/
|
|
70 |
/* (de) Auszeichnung von Abkürzungen */
|
|
71 |
abbr[title]:after,
|
|
72 |
acronym[title]:after { content: '(' attr(title) ')'; }
|
|
73 |
|
|
74 |
/* (en) Disable background graphics of links */
|
|
75 |
/* (de) Abschalten evlt. vorhandener Hintergrundgrafiken zur Linkkennzeichnung */
|
|
76 |
#page a[href^="http:"],
|
|
77 |
#page a[href^="https:"] { padding-left: 0; background-image: none; }
|
|
78 |
|
|
79 |
/* (en) Enable URL output in print layout */
|
|
80 |
/* (de) Sichtbare Auszeichnung der URLs von Links */
|
|
81 |
a[href]:after {
|
|
82 |
content:" <URL: "attr(href)">";
|
|
83 |
color:#444;
|
|
84 |
background:inherit;
|
|
85 |
font-style:italic;
|
|
86 |
}
|
|
87 |
|
|
88 |
/* (en) Preparation for optional column labels */
|
|
89 |
/* (de) Vorbereitung für optionale Spaltenauszeichnung */
|
|
90 |
#col1_content:before, #col2_content:before, #col3_content:before {
|
|
91 |
content: "";
|
|
92 |
color:#888;
|
|
93 |
background:inherit;
|
|
94 |
display:block;
|
|
95 |
font-weight:bold;
|
|
96 |
font-size:1.5em;
|
|
97 |
}
|
|
98 |
|
|
99 |
/*------------------------------------------------------------------------------------------------------*/
|
|
100 |
|
|
101 |
/**
|
|
102 |
* @section browser fixes for print layouts
|
|
103 |
* @see http://www.yaml.de/en/documentation/css-components/layout-for-print-media.html
|
|
104 |
*/
|
|
105 |
|
|
106 |
/**
|
|
107 |
* (en) overflow:hidden Bug in print layouts
|
|
108 |
* (de) overflow:hidden Bug in Drucklayouts
|
|
109 |
*
|
|
110 |
* @bugfix
|
|
111 |
* @since 3.0
|
|
112 |
* @affected FF2.0, IE7
|
|
113 |
* @css-for all browsers
|
|
114 |
* @valid yes
|
|
115 |
*/
|
|
116 |
|
|
117 |
.floatbox,
|
|
118 |
.subcolumns,
|
|
119 |
.subcolums_oldgecko { overflow:visible; display: table; }
|
|
120 |
}
|