X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=styl.styl;h=7cf26f6d0961d1ae6a7fe8091d17522c7417f266;hb=fb07271dfd352aaed61375fd270730d74fed6d9d;hp=72c2e05147483dc7145d373ec4c04b67d301118d;hpb=c469d2530ad9684e56742d38f5817cb08ad98eef;p=wfpl-cms.git diff --git a/styl.styl b/styl.styl index 72c2e05..7cf26f6 100644 --- a/styl.styl +++ b/styl.styl @@ -4,8 +4,7 @@ // dimensions site-width = 934px // inside the shadow site-padding = 30px -sidebar-width = 220px -content-width = (site-width - (site-padding * 3) - sidebar-width) +content-width = (site-width - (site-padding * 2)) font-size-normal = 15px font-size-small = 13px font-size-tiny = 11px @@ -131,23 +130,20 @@ p.attrib, p.attribution body margin: 0 padding: 0 + background: window-bg color: content-fg font: font-size-normal Arimo, Arial, sans-serif - // Styles for the tag within ckeditor - background: content-bg - width: content-width - margin: 0 auto - &.real_body_tag // revert the above for the on the real site - background: window-bg - width: auto - margin: 0 - // expand the ckeditor widget so there's space for the content to be exactly // the size of the content outside the editor #cke_content margin-right: -15px margin-left: -15px +// tag within ckeditor +#admin_pages-wysiwyg-content + background: content-bg + width: content-width + margin: 0 auto // outermost div for centering, shadow, etc #centerer @@ -243,6 +239,7 @@ td > :first-child, th > :first-child, legend + *, article > :first-child, +aside > :first-child, section > :first-child, nav > :first-child, div > :first-child, @@ -253,6 +250,7 @@ td > :last-child, th > :last-child, fieldset > :last-child, article > :last-child, +aside > :last-child, section > :last-child, nav > :last-child, div > :last-child,