diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-01 12:04:45 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-06-01 12:04:45 +0000 |
commit | 7ba9437564bc6ab830c79a3261f107798105bbb6 (patch) | |
tree | 25b744f57350d56b390fe2c13208ca02e46bf6a9 /mod/sitepages/views/default | |
parent | 087726ddccefa58bf45f77140848b89f818e336b (diff) | |
download | elgg-7ba9437564bc6ab830c79a3261f107798105bbb6.tar.gz elgg-7ba9437564bc6ab830c79a3261f107798105bbb6.tar.bz2 |
Updated Sitepages homepage markup with clearfloat, content wrappers and associated css.
git-svn-id: http://code.elgg.org/elgg/trunk@6304 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/sitepages/views/default')
-rw-r--r-- | mod/sitepages/views/default/sitepages/css.php | 23 | ||||
-rw-r--r-- | mod/sitepages/views/default/sitepages/sidebar.php | 4 | ||||
-rw-r--r-- | mod/sitepages/views/default/sitepages/welcome.php | 4 |
3 files changed, 22 insertions, 9 deletions
diff --git a/mod/sitepages/views/default/sitepages/css.php b/mod/sitepages/views/default/sitepages/css.php index 9a2b84166..91fe9d9e3 100644 --- a/mod/sitepages/views/default/sitepages/css.php +++ b/mod/sitepages/views/default/sitepages/css.php @@ -1,7 +1,20 @@ -#elgg_sidebar.frontpage { /* elgg sidebar */
- width:260px;
+<?php
+/**
+* Sitepages CSS
+*/
+?>
+#elgg_sidebar.frontpage {
+ margin-top:0;
}
-
-#elgg_page_contents.frontpage { /* main page contents */
- width:680px;
+#elgg_sidebar.frontpage .sitepages_sidebar_object {
+ margin-bottom: 30px;
+}
+#elgg_sidebar.frontpage .sitepages_sidebar_object h3 {
+ margin-top:12px;
+}
+#elgg_page_contents.frontpage .sitepages_welcome {
+ margin-bottom: 20px;
+}
+#elgg_page_contents.frontpage .sitepages_message {
+ margin-top: 10px;
}
\ No newline at end of file diff --git a/mod/sitepages/views/default/sitepages/sidebar.php b/mod/sitepages/views/default/sitepages/sidebar.php index 8ec177fd8..455f71a58 100644 --- a/mod/sitepages/views/default/sitepages/sidebar.php +++ b/mod/sitepages/views/default/sitepages/sidebar.php @@ -8,6 +8,6 @@ $sidebartitle = $sitepages_object->sidebartitle; $sidebarmessage = $sitepages_object->sidebarmessage;
if($sidebarmessage){
- echo "<h3>" . $sidebartitle . "</h3>";
- echo $sidebarmessage;
+ echo "<div class='sitepages_sidebar_object clearfloat'><h3>" . $sidebartitle . "</h3>";
+ echo $sidebarmessage ."</div>";
}
\ No newline at end of file diff --git a/mod/sitepages/views/default/sitepages/welcome.php b/mod/sitepages/views/default/sitepages/welcome.php index bf97eb81f..c8032f4af 100644 --- a/mod/sitepages/views/default/sitepages/welcome.php +++ b/mod/sitepages/views/default/sitepages/welcome.php @@ -8,6 +8,6 @@ $welcometitle = $sitepages_object->welcometitle; $welcomemessage = $sitepages_object->welcomemessage;
if($welcomemessage){
- echo "<h2>" . $welcometitle . "</h2>";
- echo $welcomemessage;
+ echo "<div class='sitepages_welcome clearfloat'><h2>" . $welcometitle . "</h2>";
+ echo "<div class='sitepages_message'>".$welcomemessage."</div></div>";
}
\ No newline at end of file |