aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvsn4ik <[email protected]>2014-08-26 02:04:34 +0400
committervsn4ik <[email protected]>2014-08-26 02:04:34 +0400
commit4c15fa86421f6ee276b15d971618bcd906ab6a5d (patch)
tree1f552b1287dc72ba7782e6597ef302e7690d7660
parent55dd964690380977cfbc71494e6030b70c17b949 (diff)
downloadbootstrap-4c15fa86421f6ee276b15d971618bcd906ab6a5d.tar.xz
bootstrap-4c15fa86421f6ee276b15d971618bcd906ab6a5d.zip
Update print.less from source (html5-boilerplate). Simplyfy table style.
-rw-r--r--less/print.less24
1 files changed, 12 insertions, 12 deletions
diff --git a/less/print.less b/less/print.less
index 3655d0395..90c58a366 100644
--- a/less/print.less
+++ b/less/print.less
@@ -1,15 +1,15 @@
//
// 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 +25,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 +73,6 @@
.navbar {
display: none;
}
- .table {
- td,
- th {
- background-color: #fff !important;
- }
- }
.btn,
.dropup > .btn {
> .caret {
@@ -90,6 +85,11 @@
.table {
border-collapse: collapse !important;
+
+ td,
+ th {
+ background-color: #fff !important;
+ }
}
.table-bordered {
th,