]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update print.less from source (html5-boilerplate). Simplyfy table style. 14452/head
authorvsn4ik <vsn4ik@gmail.com>
Mon, 25 Aug 2014 22:04:34 +0000 (02:04 +0400)
committervsn4ik <vsn4ik@gmail.com>
Mon, 25 Aug 2014 22:04:34 +0000 (02:04 +0400)
less/print.less

index 3655d03953ac830ecd86b55f247ea89b19000996..90c58a3662b61c98c712d5ff22b209d019329c5a 100644 (file)
@@ -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,
     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: "";
   }
 
   .navbar {
     display: none;
   }
-  .table {
-    td,
-    th {
-      background-color: #fff !important;
-    }
-  }
   .btn,
   .dropup > .btn {
     > .caret {
 
   .table {
     border-collapse: collapse !important;
+
+    td,
+    th {
+      background-color: #fff !important;
+    }
   }
   .table-bordered {
     th,