Mercurial > minori
comparison dep/fmt/doc/bootstrap/media.less @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 20 Jun 2024 05:56:06 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
342:adb79bdde329 | 343:1faa72660932 |
---|---|
1 .media { | |
2 // Proper spacing between instances of .media | |
3 margin-top: 15px; | |
4 | |
5 &:first-child { | |
6 margin-top: 0; | |
7 } | |
8 } | |
9 | |
10 .media, | |
11 .media-body { | |
12 zoom: 1; | |
13 overflow: hidden; | |
14 } | |
15 | |
16 .media-body { | |
17 width: 10000px; | |
18 } | |
19 | |
20 .media-object { | |
21 display: block; | |
22 } | |
23 | |
24 .media-right, | |
25 .media > .pull-right { | |
26 padding-left: 10px; | |
27 } | |
28 | |
29 .media-left, | |
30 .media > .pull-left { | |
31 padding-right: 10px; | |
32 } | |
33 | |
34 .media-left, | |
35 .media-right, | |
36 .media-body { | |
37 display: table-cell; | |
38 vertical-align: top; | |
39 } | |
40 | |
41 .media-middle { | |
42 vertical-align: middle; | |
43 } | |
44 | |
45 .media-bottom { | |
46 vertical-align: bottom; | |
47 } | |
48 | |
49 // Reset margins on headings for tighter default spacing | |
50 .media-heading { | |
51 margin-top: 0; | |
52 margin-bottom: 5px; | |
53 } | |
54 | |
55 // Media list variation | |
56 // | |
57 // Undo default ul/ol styles | |
58 .media-list { | |
59 padding-left: 0; | |
60 list-style: none; | |
61 } |