JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
try to make wysiwyg insides the right size
[wfpl-cms.git] / style.less
index 9caf762..71044e1 100644 (file)
@@ -1,12 +1,12 @@
 // dimensions
-@site-width: 940px;
-@nav-width: 200px;
-@site-gutter-width: 18px;
+@site-width: 940px; // inside the shadow
+@nav-width: 200px; // inner
+@site-gutter-width: 18px; // padding around nav and main columns
 @site-main-body-width: @site-width - 2*@site-gutter-width - @nav-width;
 
 // colors
 @site-header-color: #ddf;
-@nav-color:    #dff;
+@nav-color:    #dff; // if different than site-body-color: make sure content is taller than nav
 @site-body-color:   #fff;
 @site-window-color: #eee;
 @site-footer-color: #ddf;
@@ -27,6 +27,12 @@ body.real_body_tag { // not the wysiwyg body
        background: @site-window-color;
 }
 
+// try to make the content of the editor widget approximately the same size as
+// the content will be displayed
+#cke_content {
+       margin-right: -30px;
+}
+
 #centerer {
        position: relative;
        background: @nav-color;