Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Work on navbar colors and spacing issues

  • Loading branch information...
commit 380926466bc3103afab1c2fe161b356f962c70f3 1 parent 3be5cfd
Patrick Malley authored
View
3  theme/serenity/layout/frontpage.php
@@ -84,6 +84,8 @@
<!-- END OF CONTENT -->
+ </div>
+
<!-- START OF FOOTER -->
<div id="page-footer">
@@ -99,7 +101,6 @@
</div>
<!-- END OF FOOTER -->
- </div>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
View
7 theme/serenity/layout/general.php
@@ -30,7 +30,6 @@
<?php if ($hasheading || $hasnavbar) { ?>
<div id="page-header" class="clearfix">
- <div id="page-header-wrapper">
<?php if ($hasheading) { ?>
<h1 class="headermain"><?php echo $PAGE->heading ?></h1>
@@ -45,14 +44,13 @@
</div>
<?php } ?>
- </div>
</div>
<?php if ($hasnavbar) { ?>
<div class="navbar clearfix">
<div class="breadcrumb"><?php echo $OUTPUT->navbar(); ?></div>
<div class="navbutton"> <?php echo $PAGE->button; ?></div>
- </div>
+ </div>
<?php } ?>
<?php } ?>
@@ -93,6 +91,8 @@
</div>
</div>
+ </div>
+
<!-- START OF FOOTER -->
<?php if ($hasfooter) { ?>
<div id="page-footer" class="clearfix">
@@ -104,7 +104,6 @@
?>
</div>
<?php } ?>
- </div>
</div>
<?php echo $OUTPUT->standard_end_of_body_html() ?>
</body>
View
14 theme/serenity/style/core.css
@@ -33,12 +33,17 @@ a:hover {
text-decoration:underline;
}
+.pagelayout-frontpage #page-content #region-main-box #region-post-box {
+ padding-top: 0;
+}
+
/* Header
------------------------*/
#page-header
{
background:#ddd6cc url([[pix:theme|header_grass]]) repeat-x 0 100%;
+ margin-bottom: 5px;
}
.headermain {
@@ -46,6 +51,15 @@ a:hover {
margin:1em 0.5em 0.75em;
}
+/* Navbar
+-------------------------*/
+
+.navbar {
+ background: #aeb9c6 url([[pix:theme|breadcrumb]]) repeat-x 0 100%;
+ padding: 5px;
+}
+
+
/* Blocks
-------------------------*/
Please sign in to comment.
Something went wrong with that request. Please try again.