2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

rename media grid to thumbnails, recompile bootstrap, fix examples for mobile phones

This commit is contained in:
Mark Otto
2011-12-21 16:26:21 -06:00
parent 20aecb9838
commit c854ed167c
4 changed files with 3 additions and 3 deletions
+33
View File
@@ -0,0 +1,33 @@
// THUMBNAILS
// ----------
.thumbnails {
margin-left: -20px;
margin-bottom: 0;
list-style: none;
.clearfix();
}
.thumbnails > li {
float: left;
margin: 0 0 20px 20px;
}
.thumbnail {
display: block;
line-height: 1;
border: 1px solid #ddd;
.border-radius(4px);
.box-shadow(0 1px 1px rgba(0,0,0,.075));
}
// Add a hover state for linked versions only
a.thumbnail:hover {
border-color: @linkColor;
.box-shadow(0 1px 4px rgba(0,105,214,.25));
}
// Images and captions
.thumbnail > img {
display: block;
margin: 4px;
}
.thumbnail .caption {
padding: 9px;
}