aboutsummaryrefslogtreecommitdiff
path: root/views/default/css
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-16 02:49:14 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-16 02:49:14 +0000
commit05effb863e76702ee3875e2745ccfd7995a15a29 (patch)
tree796c923421102c3d8fdb9fde620e7af468b11024 /views/default/css
parent4416d0a3bf5e0fd101d64ecdfebd100a53c10687 (diff)
downloadelgg-05effb863e76702ee3875e2745ccfd7995a15a29.tar.gz
elgg-05effb863e76702ee3875e2745ccfd7995a15a29.tar.bz2
adjusted page body css to use top level class to determine width and centering
git-svn-id: http://code.elgg.org/elgg/trunk@7643 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/css')
-rw-r--r--views/default/css/elements/skin.php26
1 files changed, 15 insertions, 11 deletions
diff --git a/views/default/css/elements/skin.php b/views/default/css/elements/skin.php
index a37b5a584..9e5fbe9ff 100644
--- a/views/default/css/elements/skin.php
+++ b/views/default/css/elements/skin.php
@@ -39,13 +39,7 @@ a.selected {
height: 24px;
z-index: 9000;
}
-.elgg-page-header .elgg-inner {
- width: 990px;
- margin: 0 auto;
- height: 90px;
- position: relative;
-}
-.elgg-page-topbar .elgg-inner {
+.elgg-page-topbar > .elgg-inner {
padding: 2px 10px 2px 8px;
}
.elgg-page-topbar a {
@@ -77,6 +71,12 @@ a.selected {
background-repeat: repeat-x;
background-position: bottom left;
}
+.elgg-classic .elgg-page-header > .elgg-inner {
+ width: 990px;
+ margin: 0 auto;
+ height: 90px;
+ position: relative;
+}
.elgg-page-header h1 a {
font-size: 2em;
line-height: 1.4em;
@@ -89,15 +89,19 @@ a.selected {
/***** PAGE BODY ******/
-.elgg-layout-one_column {
+.elgg-classic .elgg-page-body > .elgg-inner {
+ width: 990px;
+ margin: 0 auto;
+}
+#elgg-layout-one-column {
padding: 10px 0;
}
-.elgg-layout-sidebar {
+#elgg-layout-sidebar {
background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/sidebar_background.gif);
background-repeat: repeat-y;
background-position: right top;
}
-.elgg-layout-two-sidebar {
+#elgg-layout-two-sidebar {
background-image: url(<?php echo elgg_get_site_url(); ?>_graphics/two_sidebar_background.gif);
background-repeat: repeat-y;
background-position: right top;
@@ -149,7 +153,7 @@ a.selected {
position: relative;
z-index: 999;
}
-.elgg-page-footer .elgg-inner {
+.elgg-classic .elgg-page-footer > .elgg-inner {
width: 990px;
margin: 0 auto;
padding: 5px 0;