2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +03:00

revamped the thumbnails examples to make them work and look better at higher resolution

This commit is contained in:
Mark Otto
2012-01-28 22:48:25 -08:00
parent 487dbfdda4
commit 62f4a1571a
6 changed files with 46 additions and 28 deletions
+8
View File
@@ -358,4 +358,12 @@
.offset10 { .offset(10); }
.offset11 { .offset(11); }
// Thumbnails
.thumbnails {
margin-left: @gridGutterWidth * -1;
}
.thumbnails > li {
margin-left: @gridGutterWidth;
}
}
+2
View File
@@ -27,6 +27,8 @@ a.thumbnail:hover {
.thumbnail > img {
display: block;
max-width: 100%;
margin-left: auto;
margin-right: auto;
}
.thumbnail .caption {
padding: 9px;