diff options
| author | Mark Otto <[email protected]> | 2013-02-28 19:42:51 -0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2013-02-28 19:42:51 -0800 |
| commit | 0dea8b0c7473c1db4aea7accfd0a68cbf09b9576 (patch) | |
| tree | 8149bc82bfccc8037a10b2325ed03356fae96e29 /docs | |
| parent | 9d763e805b3c6a042b8da04cb7a49d2d0748bdd9 (diff) | |
| download | bootstrap-0dea8b0c7473c1db4aea7accfd0a68cbf09b9576.tar.xz bootstrap-0dea8b0c7473c1db4aea7accfd0a68cbf09b9576.zip | |
Fixes #6897: Print styles get own .less file
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/assets/css/bootstrap.css | 106 | ||||
| -rw-r--r-- | docs/customize.html | 1 |
2 files changed, 54 insertions, 53 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index e20f1a664..159cc5327 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -1,7 +1,7 @@ /*! * Bootstrap v3.0.0 * - * Copyright 2012 Twitter, Inc + * Copyright 2013 Twitter, Inc * Licensed under the Apache License v2.0 * http://www.apache.org/licenses/LICENSE-2.0 * @@ -218,6 +218,58 @@ table { border-spacing: 0; } +@media print { + * { + color: #000 !important; + text-shadow: none !important; + background: transparent !important; + box-shadow: none !important; + } + a, + a:visited { + text-decoration: underline; + } + a[href]:after { + content: " (" attr(href) ")"; + } + abbr[title]:after { + content: " (" attr(title) ")"; + } + .ir a:after, + a[href^="javascript:"]:after, + a[href^="#"]:after { + content: ""; + } + pre, + blockquote { + border: 1px solid #999; + page-break-inside: avoid; + } + thead { + display: table-header-group; + } + tr, + img { + page-break-inside: avoid; + } + img { + max-width: 100% !important; + } + @page { + margin: 0.5cm; + } + p, + h2, + h3 { + orphans: 3; + widows: 3; + } + h2, + h3 { + page-break-after: avoid; + } +} + html { font-size: 62.5%; -webkit-overflow-scrolling: touch; @@ -283,58 +335,6 @@ img { border-radius: 500px; } -@media print { - * { - color: #000 !important; - text-shadow: none !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} - p { margin: 0 0 10px; } diff --git a/docs/customize.html b/docs/customize.html index 9a503ff8f..014a48f5e 100644 --- a/docs/customize.html +++ b/docs/customize.html @@ -44,6 +44,7 @@ title: Customize and download <div class="span3"> <h3>Scaffolding</h3> <label class="checkbox"><input checked="checked" type="checkbox" value="reset.less"> Normalize and reset</label> + <label class="checkbox"><input checked="checked" type="checkbox" value="print.less"> Print</label> <label class="checkbox"><input checked="checked" type="checkbox" value="scaffolding.less"> Body type and links</label> <label class="checkbox"><input checked="checked" type="checkbox" value="grid.less"> Grid system</label> <label class="checkbox"><input checked="checked" type="checkbox" value="layouts.less"> Layouts</label> |
