Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0bcb1bb
)
cms content area same width as real pages
author
Jason Woofenden
<jason@jasonwoof.com>
Thu, 25 Sep 2014 17:27:57 +0000
(13:27 -0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Thu, 25 Sep 2014 17:27:57 +0000
(13:27 -0400)
style.less
patch
|
blob
|
history
diff --git
a/style.less
b/style.less
index
71c608b
..
c4bee38
100644
(file)
--- a/
style.less
+++ b/
style.less
@@
-16,11
+16,17
@@
body {
margin: 0;
padding: 0;
color: #000;
margin: 0;
padding: 0;
color: #000;
- background: @site-body-color; // overruled below except in wysiywyg
font: 14px "Liberation Sans", Arimo, Arial, sans-serif;
font: 14px "Liberation Sans", Arimo, Arial, sans-serif;
-}
-body.real_body_tag { // not the wysiwyg body
- background: @site-window-color;
+
+ // Styles for the <body> tag within ckeditor
+ background: @site-body-color;
+ width: @site-main-body-width;
+ margin: 0 auto;
+ &.real_body_tag { // revert the above for the <body> 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
}
// try to make the content of the editor widget approximately the same size as