]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
set background size for docs jumbotron for retina
authorMark Otto <otto@github.com>
Sun, 4 Nov 2012 21:24:06 +0000 (13:24 -0800)
committerMark Otto <otto@github.com>
Sun, 4 Nov 2012 21:24:06 +0000 (13:24 -0800)
docs/assets/css/docs.css

index c08d529aa180b2c84eb5aca97a4009d4848aff41..119a30528e58d1c9676e5e7902fbb90af2b1cd2d 100644 (file)
@@ -177,6 +177,16 @@ hr.soften {
   background: url(../img/bs-docs-masthead-pattern.png) repeat center center;
   opacity: .4;
 }
+@media
+only screen and (-webkit-min-device-pixel-ratio: 2),
+only screen and (   min--moz-device-pixel-ratio: 2),
+only screen and (     -o-min-device-pixel-ratio: 2/1) {
+
+  .jumbotron:after {
+    background-size: 150px 150px;
+  }
+
+}
 
 /* Masthead (docs home)
 ------------------------- */