Permalink
Browse files

Re: Issue #66 style.css fixes for sidebar-doublecol

  • Loading branch information...
1 parent 3516cb4 commit 6fe6beed34a7ccc2ba876cf57b3d7eb49d9efd40 @chipbennett committed Jun 13, 2012
Showing with 8 additions and 7 deletions.
  1. +8 −7 style.css
View
15 style.css
@@ -469,7 +469,8 @@ pre {
}
#leftcol {
display:inline;
- width:165px;
+ width:160px;
+ margin-bottom: 20px;
padding:0px;
padding-left:10px;
float:left;
@@ -494,23 +495,22 @@ pre {
.layout-two-column-right #leftcol {
padding-left:5px;
}
+#sidebar-doublecol {
+ float: right;
+ width: 335px;
+}
#doublecoltop,
#doublecolbottom {
display:inline;
width:325px;
margin-bottom: 20px;
+ margin-left: 0px;
padding:0px;
padding-left:10px;
float:right;
text-align:left;
vertical-align:top;
}
-#doublecolbottom {
- margin-left: 660px;
-}
-#home #doublecolbottom {
- margin-left:0;
-}
#main {
display:inline;
width:660px;
@@ -555,6 +555,7 @@ body.layout-full #main,
#rightcol {
display:inline;
width:160px;
+ margin-bottom: 20px;
padding-left: 5px;
float:right;
vertical-align:top;

3 comments on commit 6fe6bee

@ryanhellyer

There are some syntax issues there relating to the WordPress CSS coding standards here. There should always be a space after the colon. Sometimes you have them, sometimes you don't.

@chipbennett

Thanks, Ryan. I know that style.css needs a lot of love. I'm going to do a general style.css clean-up after I get this next major version released. I'll be sure to address the CSS coding standards when I do so.

@ryanhellyer

Easiest way to iron out this stuff is to chuck the CSS through a parser, then realign the bits the parser screws up.

I have one on my site which "sort of" emulates the WordPress coding standards ... http://pixopoint.com/products/wordpress-css-parser/

Please sign in to comment.