Sha256: 3bab128052a387bd3f4ff1378e3bd9d975670a4fe95edcf771e030c6961aa602

Contents?: true

Size: 1.36 KB

Versions: 13

Compression:

Stored size: 1.36 KB

Contents

$line-height-computed: 20px;

img.responsive {
    width: 100%; max-width: 100%;
}



img.avatar, img.logo {
    width: 30px;
    vertical-align: top;
    display: inline-block;
    &.big {
      width: auto;
      max-width: 120px;
      border-radius: 80px;
    }
    &.xs { width: 18px; }
    &.sm { width: 24px; }
    &.lg { width: 40px; }
    &.xl { width: 60px; }
    &.xxl { width: 80px; }
}
img.avatar { border-radius: 60px; }
img.logo { border-radius: 5px; }



.image-card, .image_card {
    display: block; position: relative;
    margin: 0; padding: 0 0 0 #{ $line-height-computed * 2 + 8px };
    text-align: left;
    img {
        display: block; position: absolute;
        top: 0; left: 0;
        width: $line-height-computed * 2;
    }
    p {
        line-height: $line-height-computed;
        margin: 0;
    }
    &.one_line, &.one-line {
        $size: $line-height-computed * 2;
        padding-left: $size + 8px;
        img { width: $size; }
        p { line-height: $size; }
    }
    
    &.img-sm {
        $size: $line-height-computed * 1.5;
        padding-left: $size + 8px;
        img { width: $line-height-computed * 1.5; }
        p { line-height: $size; }
    }
}
a.image-card, a.image_card {
    text-decoration: none;
    &:hover {
        text-decoration: none;
        color: $blue;
    }
}



.huge-icon {
 font-size: 120px;
 line-height: 150px; 
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
better_styles-0.0.0.338 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.337 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.336 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.335 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.334 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.333 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.332 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.331 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.0.33 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.5 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.4 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.3 assets/stylesheets/better/content/_pix.scss
better_styles-0.0.2 assets/stylesheets/better/content/_pix.scss