Skip to content

Commit

Permalink
rule to take out double content ids
Browse files Browse the repository at this point in the history
  • Loading branch information
sweaver committed Mar 6, 2012
1 parent 5556a14 commit 572e06c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/avrc/cfar/theme/static/rules.xml
Expand Up @@ -52,7 +52,7 @@
if="$home_page" />

<replace css:content="#portal-column-content"
css:theme-children="#content" />
css:theme="#content" />

<drop css:content=".documentAuthor" />

Expand All @@ -74,7 +74,7 @@
<replace css:content-children="#portal-column-one > div:nth-of-type(2) .portletItem"
css:theme-children="#contentfeature2 > p" />

<replace css:content-children="#content h1" css:theme-children="#contentfeature3 h2" />
<replace css:content="#content h1" css:theme-children="#contentfeature3 h2" />

<replace css:content-children="#content-core" css:theme-children="#contentfeature3 p" />
</rules>
Expand Down
18 changes: 10 additions & 8 deletions src/avrc/cfar/theme/static/theme-css/style_screen.css
Expand Up @@ -438,14 +438,24 @@ dd.portletItem {
padding: 0px;
}


.contentbox-partial {
float: left;
position: relative;
width: 545px;
margin: 0px 0px 0px 0px;
padding: 0px 5px 0px 5px;
border-right: solid 0px rgb(235,235,235);
}

/*iphone fix*/

@media only screen and (max-device-width: 480px) {
.contentbox-partial {position: relative; left: 545px;width:545px;}
.content {position:relative; overflow:hidden; }
.contentbox-full {position: relative; left: 760px;}
}


.contentbox-partial-half {
float: left;
Expand All @@ -455,14 +465,6 @@ dd.portletItem {
border-right: solid 0px rgb(235,235,235);
}

/*iphone fix*/
@media only screen and (max-device-width: 480px) {
.contentbox-partial {position: relative; left: 545px;}
.contentbox-full {position: relative; left: 760px;}
}



.contentbox-sidebar, #content-rightbar {
float: right;
width: 175px;
Expand Down

0 comments on commit 572e06c

Please sign in to comment.