Font-Awesome/build/assets/less/twbs-2.3.1/media.less

56 lines
860 B
Plaintext
Raw Normal View History

2012-12-20 13:09:28 +00:00
// Media objects
// Source: http://stubbornella.org/content/?p=497
// --------------------------------------------------
// Common styles
// -------------------------
// Clear the floats
.media,
.media-body {
overflow: hidden;
*overflow: visible;
zoom: 1;
}
// Proper spacing between instances of .media
.media,
.media .media {
margin-top: 15px;
}
.media:first-child {
margin-top: 0;
}
// For images and videos, set to block
.media-object {
display: block;
}
// Reset margins on headings for tighter default spacing
.media-heading {
margin: 0 0 5px;
}
// Media image alignment
// -------------------------
2013-04-02 15:48:06 +00:00
.media > .pull-left {
2012-12-20 13:09:28 +00:00
margin-right: 10px;
}
2013-04-02 15:48:06 +00:00
.media > .pull-right {
2012-12-20 13:09:28 +00:00
margin-left: 10px;
}
// Media list variation
// -------------------------
// Undo default ul/ol styles
.media-list {
margin-left: 0;
list-style: none;
}