From 841f1eedfc8b2c49f0395d5f0ea2bfa269c19df2 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Mon, 29 Sep 2014 10:00:24 +0200 Subject: oscar template: generate bootstrap.min.css from source --- searx/static/oscar/less/bootstrap/media.less | 56 ++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 searx/static/oscar/less/bootstrap/media.less (limited to 'searx/static/oscar/less/bootstrap/media.less') diff --git a/searx/static/oscar/less/bootstrap/media.less b/searx/static/oscar/less/bootstrap/media.less new file mode 100644 index 000000000..5ad22cd6d --- /dev/null +++ b/searx/static/oscar/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; +} -- cgit v1.2.3