diff options
| author | Mark Otto <[email protected]> | 2011-12-21 16:26:21 -0600 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-12-21 16:26:21 -0600 |
| commit | c854ed167ce37d6a008723c78f2e6336211fff69 (patch) | |
| tree | 79342fad0dafe349e4a60f0b5c1ba1c642d23d3d /lib/thumbnails.less | |
| parent | 20aecb983838422c7b43e20960b10d4d79fefaa3 (diff) | |
| download | bootstrap-c854ed167ce37d6a008723c78f2e6336211fff69.tar.xz bootstrap-c854ed167ce37d6a008723c78f2e6336211fff69.zip | |
rename media grid to thumbnails, recompile bootstrap, fix examples for mobile phones
Diffstat (limited to 'lib/thumbnails.less')
| -rw-r--r-- | lib/thumbnails.less | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/thumbnails.less b/lib/thumbnails.less new file mode 100644 index 000000000..12626df3f --- /dev/null +++ b/lib/thumbnails.less @@ -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; +} |
