diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-09-03 06:25:16 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-09-03 06:25:16 +0400 |
commit | af61bf673953cf9c88da72bba6dd81aa44814e8c (patch) | |
tree | 70fea76839c19ad4622034abbe42288fec1c3c29 /assets/stylesheets/bootstrap/_print.scss | |
parent | ee64428a406674ee20365cabb79b95536d3687f1 (diff) |
rake convert
Diffstat (limited to 'assets/stylesheets/bootstrap/_print.scss')
-rw-r--r-- | assets/stylesheets/bootstrap/_print.scss | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/assets/stylesheets/bootstrap/_print.scss b/assets/stylesheets/bootstrap/_print.scss index 3655d03..a5acd82 100644 --- a/assets/stylesheets/bootstrap/_print.scss +++ b/assets/stylesheets/bootstrap/_print.scss @@ -1,15 +1,14 @@ // // Basic print styles // -------------------------------------------------- -// Source: https://github.com/h5bp/html5-boilerplate/blob/master/css/main.css +// Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css @media print { - * { - text-shadow: none !important; - color: #000 !important; // Black prints faster: h5bp.com/s background: transparent !important; + color: #000 !important; // Black prints faster: h5bp.com/s box-shadow: none !important; + text-shadow: none !important; } a, @@ -25,9 +24,10 @@ content: " (" attr(title) ")"; } - // Don't show links for images, or javascript/internal links - a[href^="javascript:"]:after, - a[href^="#"]:after { + // Don't show links that are fragment identifiers, + // or use the `javascript:` pseudo protocol + a[href^="#"]:after, + a[href^="javascript:"]:after { content: ""; } @@ -72,12 +72,6 @@ .navbar { display: none; } - .table { - td, - th { - background-color: #fff !important; - } - } .btn, .dropup > .btn { > .caret { @@ -90,6 +84,11 @@ .table { border-collapse: collapse !important; + + td, + th { + background-color: #fff !important; + } } .table-bordered { th, @@ -97,5 +96,4 @@ border: 1px solid #ddd !important; } } - } |