From 272f8cea327559879f6e593a9e60b34980a2c517 Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Thu, 25 Sep 2014 13:27:57 -0400 Subject: [PATCH] cms content area same width as real pages --- style.less | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) 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 -- 1.7.10.4