1
0
mirror of https://github.com/kremalicious/blog.git synced 2025-01-09 13:18:54 +01:00

nav fixes

This commit is contained in:
Matthias Kretschmann 2015-06-14 20:26:25 +02:00
parent 9e2c9725d9
commit 07da41fba2
2 changed files with 16 additions and 12 deletions

View File

@ -38,27 +38,31 @@
margin-right: -.5em margin-right: -.5em
padding: .5em .7em padding: .5em .7em
// icon
&:before
font-size: 26px
li li
display: inline-block display: inline-block
.nav-popover .nav-popover
@extend .clearfix @extend .clearfix, .divider-top
padding: ($line-height-computed*1.5) 0 clear: both
padding: $line-height-computed 0
margin-top: 60px
width: 100% width: 100%
background: $body-bg background: $body-bg
.nav-link .nav-link
@extend .h6, .alignleft, .textcenter @extend .h6, .textcenter
text-shadow: 0 1px 0 rgba(#fff, .5) text-shadow: 0 1px 0 rgba(#fff, .5)
padding: .5em 1em padding: $padding-base-vertical $padding-base-horizontal
margin-bottom: 0 margin-bottom: 0
width: 50% margin-top: 0
color: $text-color-dimmed display: block
color: $brand-grey-light
text-transform: uppercase text-transform: uppercase
border-radius: $border-radius-base
@media $breakpoint1
width: 50%
float: left
@media $breakpoint2 @media $breakpoint2
width: 33.3% width: 33.3%

View File

@ -46,7 +46,7 @@ textarea
position: relative position: relative
.document .document
transition() @extend .transition
position: relative position: relative
z-index: 2 z-index: 2
margin-top: 71px margin-top: 71px
@ -56,7 +56,7 @@ textarea
box-shadow: 0 1px 4px rgba($brand-dark, .1), 0 -1px 4px rgba($brand-dark, .1) box-shadow: 0 1px 4px rgba($brand-dark, .1), 0 -1px 4px rgba($brand-dark, .1)
.menu-open & .menu-open &
margin-top: 300px margin-top: 220px
.topbar, .topbar,
.footer .footer