diff options
Diffstat (limited to 'css/yaml4/print/print.css')
| -rw-r--r-- | css/yaml4/print/print.css | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/css/yaml4/print/print.css b/css/yaml4/print/print.css new file mode 100644 index 0000000..a1916da --- /dev/null +++ b/css/yaml4/print/print.css @@ -0,0 +1,69 @@ +/** + * "Yet Another Multicolumn Layout" - YAML CSS Framework + * + * default print stylesheet + * + * @copyright Copyright 2005-2012, Dirk Jesse + * @license CC-BY 2.0 (http://creativecommons.org/licenses/by/2.0/), + * YAML-CDL (http://www.yaml.de/license.html) + * @link http://www.yaml.de + * @package yaml + * @version v4.0 + * @revision $Revision: 686 $ + * @lastmodified $Date: 2012-01-22 13:09:37 +0100 (So, 22 Jan 2012) $ + */ + + +@media print { + + /** + * @section basic layout preparation + */ + + /* (en) change font size unit to [pt] - avoids problems with [px] in Gecko based browsers */ + /* (de) Wechsel der der Schriftgrößen-Maßheinheit zu [pt] - Probleme mit [px] in Gecko-Browsern vermeiden */ + body { + font-size: 10pt; + padding: 0 5px; + } + + /* (en) Hide unneeded container of the screenlayout in print layout */ + /* (de) Für den Druck nicht benötigte Container des Layouts abschalten */ + nav, + .ym-searchform { + display:none; + } + + /*------------------------------------------------------------------------------------------------------*/ + + /* (en) Avoid page breaks right after headings */ + /* (de) Vermeidung von Seitenumbrüchen direkt nach einer Überschrift */ + h1,h2,h3,h4,h5,h6 { + page-break-after:avoid; + } + + /*------------------------------------------------------------------------------------------------------*/ + + /* (en) optional output of acronyms and abbreviations*/ + /* (de) optionale Ausgabe von Auszeichnung von Abkürzungen */ + + /* + abbr[title]:after, + acronym[title]:after { + content:'(' attr(title) ')'; + } + */ + + /*------------------------------------------------------------------------------------------------------*/ + + /* (en) optional URL output of hyperlinks in print layout */ + /* (de) optionale Ausgabe der URLs von Hyperlinks */ + /* + a[href]:after { + content:" <URL:"attr(href)">"; + color:#444; + background:inherit; + font-style:italic; + } + */ +}
\ No newline at end of file |
