diff options
| author | Adam Tauber <asciimoo@gmail.com> | 2015-01-12 14:54:16 +0100 |
|---|---|---|
| committer | Adam Tauber <asciimoo@gmail.com> | 2015-01-12 14:54:16 +0100 |
| commit | 410dbc573bbb873a447710e122faefd11075b6df (patch) | |
| tree | cc4af9e6f213579ad92a27aeaef52d8d2e0158b6 /searx/static/less/bootstrap/media.less | |
| parent | 12425618caacec90ac90332f580fb628ef32e213 (diff) | |
[enh] static content generalization
Diffstat (limited to 'searx/static/less/bootstrap/media.less')
| -rw-r--r-- | searx/static/less/bootstrap/media.less | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/searx/static/less/bootstrap/media.less b/searx/static/less/bootstrap/media.less new file mode 100644 index 000000000..5ad22cd6d --- /dev/null +++ b/searx/static/less/bootstrap/media.less @@ -0,0 +1,56 @@ +// 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; +} |