Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
42c29183
Commit
42c29183
authored
10 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fix up margins and unnest code
parent
e8643ed8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
less/media.less
+25
-27
less/media.less
with
25 additions
and
27 deletions
+25
-27
less/media.less
+
25
-
27
View file @
42c29183
...
@@ -2,46 +2,44 @@
...
@@ -2,46 +2,44 @@
// Proper spacing between instances of .media
// Proper spacing between instances of .media
margin-top: 15px;
margin-top: 15px;
// Proper spacing of .media-right
.media-right,
.pull-right {
padding-left: 10px;
}
// Proper spacing of .media-left
.media-left,
.pull-left {
padding-right: 10px;
}
&:first-child {
&:first-child {
margin-top: 0;
margin-top: 0;
}
}
}
.media-left,
.media-right,
.media-right,
.media > .pull-right {
.media-body {
padding-left: 10px;
display: table-cell;
}
vertical-align: top;
}
.media-middle {
.media-left,
vertical-align: middle;
.media > .pull-left {
}
padding-right: 10px;
}
.media-bottom {
.media-left,
vertical-align: bottom;
.media-right,
}
.media-body {
display: table-cell;
vertical-align: top;
}
.media-middle {
vertical-align: middle;
}
.media-bottom {
vertical-align: bottom;
}
}
// Reset margins on headings for tighter default spacing
// Reset margins on headings for tighter default spacing
.media-heading {
.media-heading {
margin: 0 0 5px 0;
margin-top: 0;
margin-bottom: 5px;
}
}
// Media list variation
// Media list variation
// -------------------------
//
// Undo default ul/ol styles
// Undo default ul/ol styles
.media-list {
.media-list {
padding-left: 0;
padding-left: 0;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment