From 3fef5f4b0653c80ac9d36569a8af6359ebbb0906 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Wed, 10 Apr 2013 14:00:20 +0200 Subject: added less-version of bootstrap --- public/css/bootstrapless/media.less | 55 +++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 public/css/bootstrapless/media.less (limited to 'public/css/bootstrapless/media.less') diff --git a/public/css/bootstrapless/media.less b/public/css/bootstrapless/media.less new file mode 100644 index 0000000..e461e44 --- /dev/null +++ b/public/css/bootstrapless/media.less @@ -0,0 +1,55 @@ +// Media objects +// Source: http://stubbornella.org/content/?p=497 +// -------------------------------------------------- + + +// Common styles +// ------------------------- + +// Clear the floats +.media, +.media-body { + overflow: hidden; + *overflow: visible; + 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; +} +.media > .pull-right { + margin-left: 10px; +} + + +// Media list variation +// ------------------------- + +// Undo default ul/ol styles +.media-list { + margin-left: 0; + list-style: none; +} -- cgit v1.2.3