mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
2d9b089e16
Fix inconsistent use of tabs and spaces in less files GitOrigin-RevId: c69667f0dc6bc70ea3623890e2b2b741e358d454
53 lines
845 B
Text
Executable file
53 lines
845 B
Text
Executable file
// Media objects
|
|
// Source: http://stubbornella.org/content/?p=497
|
|
// --------------------------------------------------
|
|
|
|
// Common styles
|
|
// -------------------------
|
|
|
|
// Clear the floats
|
|
.media,
|
|
.media-body {
|
|
overflow: hidden;
|
|
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
|
|
// -------------------------
|
|
|
|
.media {
|
|
> .pull-left {
|
|
margin-right: 10px;
|
|
}
|
|
> .pull-right {
|
|
margin-left: 10px;
|
|
}
|
|
}
|
|
|
|
// Media list variation
|
|
// -------------------------
|
|
|
|
// Undo default ul/ol styles
|
|
.media-list {
|
|
padding-left: 0;
|
|
list-style: none;
|
|
}
|