Sha256: 8fc123bf1263e3f7b917219f6d0a0fd8a320f770b090ec2748c35d660b16d29c
Contents?: true
Size: 1.53 KB
Versions: 2
Compression:
Stored size: 1.53 KB
Contents
@mixin article-side-padding { @include box-sizing(border-box); padding-left: 1em; padding-right: 1em; } @mixin text-content-padding { padding-left: 0.5em; } .__sg_article { @include component; @include default-side-margin; header { @include component; margin-top: 1.5em; margin-bottom: 0.3em; > h3 { @include ambient-headline; @include text-content-padding; color: #222; line-height: 1.8em; } } .__documentation { @include floating-text-font; @include text-content-padding; margin-bottom: 0.5em; } .__code_partials { @include border-radius(3px); @include box-shadow(0 2px 3px 0 #cdcdcd); position: relative; top: 0; left: 0; background: $content_background; margin-bottom: 1em; min-height: 3em; padding-top: 1em; .__sg_component, .CodeRay, .__code_note { @include article-side-padding; } .__sg_component { padding-top: 0.3em; padding-bottom: 1em; } .__code_note { @include background(linear-gradient(bottom, #b5b5b5, #e4e4e4)); @include border-radius(6px 0 0 0); @include ambient-font; border-top: 1px solid #cacaca; border-bottom: 1px solid #999; text-align: center; //margin-top: 0.5em; line-height: 1.5em; } .CodeRay { @include border-radius(0 0 3px 3px); } } } // hide highligthed code for default, if js is enabled .js { [data-subject*=representation] { display: none; } [data-subject*=representation].enabled { display: block; } }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
styleus-0.0.9 | app/assets/stylesheets/styleus/themes/base/components/_article.css.scss |
styleus-0.0.8 | app/assets/stylesheets/styleus/themes/base/components/_article.css.scss |