static/less/media.less
changeset 53 3416f82943ea
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/static/less/media.less	Fri Dec 20 22:30:44 2013 +0100
     1.3 @@ -0,0 +1,56 @@
     1.4 +// Media objects
     1.5 +// Source: http://stubbornella.org/content/?p=497
     1.6 +// --------------------------------------------------
     1.7 +
     1.8 +
     1.9 +// Common styles
    1.10 +// -------------------------
    1.11 +
    1.12 +// Clear the floats
    1.13 +.media,
    1.14 +.media-body {
    1.15 +  overflow: hidden;
    1.16 +  zoom: 1;
    1.17 +}
    1.18 +
    1.19 +// Proper spacing between instances of .media
    1.20 +.media,
    1.21 +.media .media {
    1.22 +  margin-top: 15px;
    1.23 +}
    1.24 +.media:first-child {
    1.25 +  margin-top: 0;
    1.26 +}
    1.27 +
    1.28 +// For images and videos, set to block
    1.29 +.media-object {
    1.30 +  display: block;
    1.31 +}
    1.32 +
    1.33 +// Reset margins on headings for tighter default spacing
    1.34 +.media-heading {
    1.35 +  margin: 0 0 5px;
    1.36 +}
    1.37 +
    1.38 +
    1.39 +// Media image alignment
    1.40 +// -------------------------
    1.41 +
    1.42 +.media {
    1.43 +  > .pull-left {
    1.44 +    margin-right: 10px;
    1.45 +  }
    1.46 +  > .pull-right {
    1.47 +    margin-left: 10px;
    1.48 +  }
    1.49 +}
    1.50 +
    1.51 +
    1.52 +// Media list variation
    1.53 +// -------------------------
    1.54 +
    1.55 +// Undo default ul/ol styles
    1.56 +.media-list {
    1.57 +  padding-left: 0;
    1.58 +  list-style: none;
    1.59 +}
Impressum Datenschutzerklärung