set background size for docs jumbotron for retina

This commit is contained in:
Mark Otto 2012-11-04 13:24:06 -08:00
parent 953dc3a6f2
commit 21957a3d9e
1 changed files with 10 additions and 0 deletions

View 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)
------------------------- */