datamad2017/_sass/vendor/bootstrap/_media.scss

62 lines
780 B
SCSS
Raw Normal View History

2015-02-20 23:35:58 +01:00
.media {
// Proper spacing between instances of .media
margin-top: 15px;
2015-02-20 23:35:58 +01:00
&:first-child {
margin-top: 0;
}
}
.media,
.media-body {
zoom: 1;
2015-02-20 23:35:58 +01:00
overflow: hidden;
}
2015-02-20 23:35:58 +01:00
.media-body {
width: 10000px;
}
.media-object {
display: block;
}
2015-02-20 23:35:58 +01:00
.media-right,
.media > .pull-right {
padding-left: 10px;
}
2015-02-20 23:35:58 +01:00
.media-left,
.media > .pull-left {
padding-right: 10px;
}
2015-02-20 23:35:58 +01:00
.media-left,
.media-right,
.media-body {
display: table-cell;
vertical-align: top;
}
2015-02-20 23:35:58 +01:00
.media-middle {
vertical-align: middle;
}
2015-02-20 23:35:58 +01:00
.media-bottom {
vertical-align: bottom;
}
2015-02-20 23:35:58 +01:00
// Reset margins on headings for tighter default spacing
.media-heading {
margin-top: 0;
margin-bottom: 5px;
}
2015-02-20 23:35:58 +01:00
// Media list variation
//
// Undo default ul/ol styles
.media-list {
padding-left: 0;
list-style: none;
}