ffffng/app/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/_media.scss

67 lines
900 B
SCSS
Raw Normal View History

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