diff --git a/common/css/rhymix.scss b/common/css/rhymix.scss index b911c63a2..90db366aa 100644 --- a/common/css/rhymix.scss +++ b/common/css/rhymix.scss @@ -17,6 +17,8 @@ a img { [hidden] { display: none; } + +/* Content Default Styles */ .xe_content { font-family: $default_font_family; font-size: $default_font_size; @@ -25,28 +27,29 @@ a img { @if $default_word_break == 'none' { white-space: nowrap; } -} -.xe_content p { - margin: 0 0 $default_paragraph_spacing 0; -} -.xe_content img { - max-width: 100%; - height: auto; + p { + margin: 0 0 $default_paragraph_spacing 0; + } + img { + max-width: 100%; + height: auto; + } } @media \0screen { img { max-width: none; } } -.xe-clearfix:before, -.xe-clearfix:after { - content: " "; - display: table; -} -.xe-clearfix:after { - clear: both; -} + +/* Clearfix */ .xe-clearfix { + &:before, &:after { + content: " "; + display: table; + } + &:after { + clear: both; + } zoom: 1; } .xe-widget-wrapper {