diff options
| author | Jacob Thornton <[email protected]> | 2011-09-10 22:44:22 -0700 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2011-09-10 22:44:22 -0700 |
| commit | 68865002af6423c8c082a68acebe0f987670b591 (patch) | |
| tree | 6935e486717334a2ed74aba786e19c1393d7dbaf /lib | |
| parent | 265511774715b8cbe7cbabb9b2a1bf2f27c28c1e (diff) | |
| parent | 3755ee158f947bdb1d44b86faa9537ac9f3cbbc5 (diff) | |
| download | bootstrap-68865002af6423c8c082a68acebe0f987670b591.tar.xz bootstrap-68865002af6423c8c082a68acebe0f987670b591.zip | |
Merge branch '1.3-wip' of github.com:twitter/bootstrap into 1.3-wip
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/patterns.less | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/lib/patterns.less b/lib/patterns.less index 9d2a387f6..6a21b8f62 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -928,4 +928,30 @@ input[type=submit].btn { &.warning { background-color: @orange; } &.success { background-color: @green; } &.notice { background-color: lighten(@blue, 25%); } -}
\ No newline at end of file +} + + +// MEDIA GRIDS +// ----------- + +.media-grid { + margin-left: -20px; + li { + display: inline; + } + .thumbnail { + float: left; + padding: 4px; + margin: 0 0 20px 20px; + border: 1px solid #ddd; + .border-radius(4px); + .box-shadow(0 1px 1px rgba(0,0,0,.075)); + &:hover { + border-color: @linkColor; + .box-shadow(0 1px 4px rgba(0,105,214,.25)); + } + } + img { + display: block; + } +} |
