Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
wfpl-cms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete image files
[wfpl-cms.git]
/
style.less
diff --git
a/style.less
b/style.less
index
9caf762
..
5bbdc78
100644
(file)
--- a/
style.less
+++ b/
style.less
@@
-1,12
+1,12
@@
// dimensions
// 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;
@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;
@site-body-color: #fff;
@site-window-color: #eee;
@site-footer-color: #ddf;
@@
-21,12
+21,18
@@
body {
padding: 0;
color: #000;
background: @site-body-color; // overruled below except in wysiywyg
padding: 0;
color: #000;
background: @site-body-color; // overruled below except in wysiywyg
- font: 14px "Verdana", sans-serif;
+ font: 14px "Liberation Sans", Arimo, Arial, sans-serif;
}
body.real_body_tag { // not the wysiwyg body
background: @site-window-color;
}
}
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;
#centerer {
position: relative;
background: @nav-color;
@@
-136,6
+142,50
@@
div.error {
background: #fdd;
}
background: #fdd;
}
+h1 {
+ font-size: 22px;
+ margin: 20px 0 10px;
+}
+h1 + h4.tagline {
+ margin: -10px 0 10px;
+}
+h2 {
+ font-size: 19px;
+ margin: 16px 0px 8px;
+}
+h2 + h4.tagline {
+ margin: -8px 0 8px;
+}
+h3 {
+ font-size: 16px;
+ margin: 12px 0 5px;
+}
+h3 + h4.tagline {
+ margin: -5px 0 5px;
+}
+h4 {
+ font-size: 12px;
+ margin: 10px 0 3px;
+}
+h4 + h4.tagline {
+ margin: -3px 0 3px;
+}
+
+h1, h2, h3, h4 {
+ font-weight: bold;
+}
+h4.tagline {
+ font-weight: normal
+}
+
+p.quote {
+ margin: 15px 35px;
+}
+p.attrib {
+ margin: -15px 0 15px 100px;
+}
+
+
// floating images (from pastable example code on admin_images)
span.wfpl_ifl {
display: block;
// floating images (from pastable example code on admin_images)
span.wfpl_ifl {
display: block;