From: Jason Woofenden Date: Thu, 25 Sep 2014 17:27:57 +0000 (-0400) Subject: cms content area same width as real pages X-Git-Url: https://jasonwoof.com/gitweb/?p=wfpl-cms.git;a=commitdiff_plain;h=272f8cea327559879f6e593a9e60b34980a2c517 cms content area same width as real pages --- diff --git a/style.less b/style.less index 71c608b..c4bee38 100644 --- a/style.less +++ b/style.less @@ -16,11 +16,17 @@ body { margin: 0; padding: 0; color: #000; - background: @site-body-color; // overruled below except in wysiywyg font: 14px "Liberation Sans", Arimo, Arial, sans-serif; -} -body.real_body_tag { // not the wysiwyg body - background: @site-window-color; + + // Styles for the tag within ckeditor + background: @site-body-color; + width: @site-main-body-width; + margin: 0 auto; + &.real_body_tag { // revert the above for the on the real site + background: @site-window-color; + width: auto; + margin: 0; + } } // try to make the content of the editor widget approximately the same size as