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:
a7a8f9b
)
remove obsolete coloring rules
author
Jason Woofenden
<jason@jasonwoof.com>
Sat, 17 May 2014 06:47:31 +0000
(
02:47
-0400)
committer
Jason Woofenden
<jason@jasonwoof.com>
Sat, 17 May 2014 06:47:31 +0000
(
02:47
-0400)
style.less
patch
|
blob
|
history
diff --git
a/style.less
b/style.less
index
787b97a
..
9531445
100644
(file)
--- a/
style.less
+++ b/
style.less
@@
-5,12
+5,8
@@
@site-main-body-width: @site-width - 2*@site-gutter-width - @nav-width;
// colors
@site-main-body-width: @site-width - 2*@site-gutter-width - @nav-width;
// colors
-@site-header-color: #fff;
-@nav-color: #fff; // if different than site-body-color: make sure content is taller than nav
-@site-body-color: #fff;
-@site-window-color: #f4f4f4;
-@site-footer-color: #fff;
-@site-gutter-color: #fff;
+@site-body-color: #fff; // the centered area with the site in it
+@site-window-color: #f4f4f4; // outside that, filling the rest of the browser window
header, hgroup, section, footer, aside, nav, article, figure, img {
display: block;
header, hgroup, section, footer, aside, nav, article, figure, img {
display: block;
@@
-35,7
+31,7
@@
body.real_body_tag { // not the wysiwyg body
#centerer {
position: relative;
#centerer {
position: relative;
- background: @nav-color;
+ background: @site-body-color;
margin: 15px auto;
width: @site-width;
-moz-box-shadow: 2px 2px 15px #777;
margin: 15px auto;
width: @site-width;
-moz-box-shadow: 2px 2px 15px #777;
@@
-46,7
+42,6
@@
body.real_body_tag { // not the wysiwyg body
header {
width: @site-width;
height: 100px;
header {
width: @site-width;
height: 100px;
- background: @site-header-color;
}
@nav-padding: 10px;
}
@nav-padding: 10px;
@@
-54,10
+49,9
@@
nav {
float: left;
width: @nav-width - 2*@nav-padding;
padding: @nav-padding;
float: left;
width: @nav-width - 2*@nav-padding;
padding: @nav-padding;
- background: @nav-color;
h3 {
span {
h3 {
span {
- color: @nav-color;
+ color: @site-body-color;
}
}
h3.current {
}
}
h3.current {
@@
-82,7
+76,6
@@
footer {
width: @site-width - 2*@site-gutter-width;
padding: @site-gutter-width;
text-align: center;
width: @site-width - 2*@site-gutter-width;
padding: @site-gutter-width;
text-align: center;
- background: @site-footer-color;
font-size: 80%;
}
font-size: 80%;
}