aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-08-27 22:30:53 -0700
committerMark Otto <[email protected]>2014-08-27 22:30:53 -0700
commitd14d60e04cb807bc2e1931a899f712056cf6ce13 (patch)
treed700409e3554a56bcb6de27edd8e1480012fa9a1
parentfcf26d0ef6bc04aa5fb1fc26bee9142b9e1b2818 (diff)
parent4c15fa86421f6ee276b15d971618bcd906ab6a5d (diff)
downloadbootstrap-d14d60e04cb807bc2e1931a899f712056cf6ce13.tar.xz
bootstrap-d14d60e04cb807bc2e1931a899f712056cf6ce13.zip
Merge pull request #14452 from vsn4ik/update_print_less
Update print.less from source (html5-boilerplate).
-rw-r--r--less/print.less24
1 files changed, 12 insertions, 12 deletions
diff --git a/less/print.less b/less/print.less
index 473f361b9..a5acd82d4 100644
--- a/less/print.less
+++ b/less/print.less
@@ -1,14 +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,
@@ -24,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: "";
}
@@ -71,12 +72,6 @@
.navbar {
display: none;
}
- .table {
- td,
- th {
- background-color: #fff !important;
- }
- }
.btn,
.dropup > .btn {
> .caret {
@@ -89,6 +84,11 @@
.table {
border-collapse: collapse !important;
+
+ td,
+ th {
+ background-color: #fff !important;
+ }
}
.table-bordered {
th,