Sha256: 50d59824e65af33341faff8dcd77052b1cc7e58fcd082a3c95a5ada6534653cc
Contents?: true
Size: 1.47 KB
Versions: 3
Compression:
Stored size: 1.47 KB
Contents
.pic, .pic-list, .pic-list > li, .pic-list > li > *, .pic-list .pic, .pic-list .facts, .pic-list .facts .head, .pic-list .facts .body { display: block; position: relative; margin: 0; padding: 0; } .pic { overflow: hidden; img { max-width: 100%; max-height: 100%; vertical-align: top; } &.bordered { border: solid 1px $main-border-color; } &.rounded { @include border-radius(3px); } &.round, &.initials { @include border-radius( 500px ); img { @include border-radius( 500px ); } } } .pic-list { list-style: none; & > li { margin: 0; border: none; border-bottom: solid 1px $main-border-color; &:last-child { border-bottom: none; } & > * { padding: 5px 0; $pic_size: $line-height-computed * 2 + 10; @include clearfix; .pic { width: $pic_size; border: solid 1px $main-border-color; float: left; img { max-width: 100%; width: 100%; } } .facts { padding: 5px 0; margin-left: $pic_size + 10; .head { line-height: $line-height-computed; font-size: $font-size-small; font-weight: bold; } .body { line-height: $line-height-computed; font-size: $font-size-base; font-weight: normal; } } } } } .box > .body > .pic-list { margin: -10px; } // responsive background: // background-color: rgba(255,255,255,.50); // background-image: image-url("shiftchange_black.png"); // background-position: center center; // background-repeat: no-repeat; // background-size: contain;
Version data entries
3 entries across 3 versions & 1 rubygems