adding paddings and adjusting a bit

This commit is contained in:
Holger Koenemann 2014-12-19 11:29:56 +01:00
parent d2944e59f2
commit 781359bb69
4 changed files with 34 additions and 5 deletions

5
css/theme.css Normal file

File diff suppressed because one or more lines are too long

View File

@ -30,11 +30,11 @@
<nav class="site-navigation" itemscope="itemscope" itemtype="http://schema.org/SiteNavigationElement">
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
<div class="col-md-<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>11<?php else : ?>12<?php endif; ?>">
<div class="col-xs-<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>11<?php else : ?>12<?php endif; ?>">
<div class="navbar-header">
<!-- .navbar-toggle is used as the toggle for collapsed navbar content -->
@ -65,7 +65,7 @@
</div> <!-- .col-md-11 or col-md-12 end -->
<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>
<div class="col-md-1 text-right">
<div class="col-xs-1 text-right">
<!-- Off Canvas Toggle -->
<a class="off-canvas-toggle-link" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body">
menu
@ -78,7 +78,7 @@
</div><!-- .navbar -->
<?php if ( is_active_sidebar( 'off-canvas' ) ): ?>
<div class="navmenu navmenu-inverse navmenu-fixed-left offcanvas">
<div class="navmenu navmenu-inverse navmenu-fixed-right offcanvas">
<!-- Off Canvas Toggle -->
<a class="off-canvas-toggle-link" data-toggle="offcanvas" data-target=".navmenu" data-canvas="body">
menu

7
sass/theme.css.map Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,7 +1,24 @@
// If you use the Bootstrap .navbar-fixed-top class on your navbar you need this
body { padding-top: 50px; }
// Some basic padding for all wrappers
.wrapper {padding:$grid-gutter-width 0;}
#hero-wrapper {padding:0px;}
// Adding basic Wordpress classes to pass the Wordpress.org tests
.sticky, .gallery-caption, .bypostauthor {
font-size:inherit;
}
//Jasny Off-Canvas menu fixed right problems workaround
// .navmenu-fixed-right {
// left: auto !important;
// }
// AdditionL Off-Canvas styling
.off-canvas-toggle-link{
float:right;
line-height:30px;
padding:10px;
color:#fff;
}