1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-05 04:37:51 +02:00

UI Improvements - Default Theme - Updates #194

This commit is contained in:
Awilum
2014-02-14 18:19:22 +02:00
parent f7bc03ef91
commit 82a516d431
5 changed files with 42 additions and 30 deletions

View File

@@ -1,4 +1,7 @@
<?php Chunk::get('header'); ?> <?php Chunk::get('header'); ?>
<div class="container-wide">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@@ -22,5 +25,7 @@
</div> </div>
</div> </div>
<hr> </div>
</div>
<?php Chunk::get('footer'); ?> <?php Chunk::get('footer'); ?>

View File

@@ -1,4 +1,6 @@
<?php Chunk::get('header'); ?> <?php Chunk::get('header'); ?>
<div class="container-wide">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
@@ -23,5 +25,7 @@
</div> </div>
</div> </div>
<hr> </div>
</div>
<?php Chunk::get('footer'); ?> <?php Chunk::get('footer'); ?>

View File

@@ -1,5 +1,5 @@
body { body {
background: #F5F5F5;
} }
a { a {
@@ -103,8 +103,8 @@ a.navbar-brand {
margin-top: 0px; margin-top: 0px;
margin-bottom: 0px; margin-bottom: 0px;
border-bottom: none; border-bottom: none;
padding-bottom: 0px; padding-bottom: 5px;
padding-top: 0px; padding-top: 5px;
} }
.page-header h1 { .page-header h1 {
@@ -118,12 +118,14 @@ a.navbar-brand {
font-size: 14px; font-size: 14px;
} }
.container { .container-wide {
margin-bottom: 10px; background:#fff;
margin-top: 10px; padding-top: 20px;
padding-bottom: 20px;
} }
footer { footer {
padding-bottom: 40px; margin-top: 20px;
margin-bottom: 20px;
color: #aaa; color: #aaa;
} }

View File

@@ -1,10 +1,7 @@
<footer> <footer class="container">
<div class="pull-left"><?php echo Chunk::get('footer-links'); ?></div> <div class="pull-left"><?php echo Chunk::get('footer-links'); ?></div>
<div class="pull-right"><?php Action::run('theme_footer'); ?><?php echo Site::powered(); ?></div> <div class="pull-right"><?php Action::run('theme_footer'); ?><?php echo Site::powered(); ?></div>
</footer> </footer>
</div> <!-- /container -->
<?php echo Snippet::get('google-analytics'); ?> <?php echo Snippet::get('google-analytics'); ?>
</body> </body>
</html> </html>

View File

@@ -1,23 +1,27 @@
<?php Chunk::get('header'); ?> <?php Chunk::get('header'); ?>
<div class="container"> <div class="container-wide">
<div class="row"> <div class="container">
<div class="col-xs-12">
<?php Action::run('theme_pre_content'); ?> <div class="row">
<div class="col-xs-12">
<?php Action::run('theme_pre_content'); ?>
</div>
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<?php echo Site::content(); ?> <?php echo Site::content(); ?>
</div>
</div> </div>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12"> <div class="col-xs-12">
<?php Action::run('theme_post_content'); ?> <?php Action::run('theme_post_content'); ?>
</div>
</div> </div>
</div>
<hr> </div>
</div>
<?php Chunk::get('footer'); ?> <?php Chunk::get('footer'); ?>