From 007d563f3464eeef8aebbcc33e6a93d880ae26d0 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Thu, 5 May 2016 11:09:47 +0900 Subject: [PATCH] Clean up default styles in rhymix.scss --- common/css/rhymix.scss | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) 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 {