daux.io/resources/themes/_common/less/bootstrap/media.less

67 lines
900 B
Plaintext
Raw Normal View History

.media {
// Proper spacing between instances of .media
margin-top: 15px;
2014-02-16 12:19:40 +01:00
&:first-child {
margin-top: 0;
}
}
2014-02-16 12:19:40 +01:00
.media,
.media-body {
zoom: 1;
overflow: hidden;
2014-02-16 12:19:40 +01:00
}
.media-body {
width: 10000px;
2014-02-16 12:19:40 +01:00
}
.media-object {
display: block;
// Fix collapse in webkit from max-width: 100% and display: table-cell.
&.img-thumbnail {
max-width: none;
}
2014-02-16 12:19:40 +01:00
}
.media-right,
.media > .pull-right {
padding-left: 10px;
2014-02-16 12:19:40 +01:00
}
.media-left,
.media > .pull-left {
padding-right: 10px;
}
2014-02-16 12:19:40 +01:00
.media-left,
.media-right,
.media-body {
display: table-cell;
vertical-align: top;
}
2014-02-16 12:19:40 +01:00
.media-middle {
vertical-align: middle;
2014-02-16 12:19:40 +01:00
}
.media-bottom {
vertical-align: bottom;
}
2014-02-16 12:19:40 +01:00
// Reset margins on headings for tighter default spacing
.media-heading {
margin-top: 0;
margin-bottom: 5px;
}
2014-02-16 12:19:40 +01:00
// Media list variation
//
2014-02-16 12:19:40 +01:00
// Undo default ul/ol styles
.media-list {
padding-left: 0;
list-style: none;
}