1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-27 04:10:03 +01:00
blog/_src/_assets/styl/navigation.styl
Matthias Kretschmann 5def95446e
add actions section under each post
- comment vi tweet, thanks through bitcoin
- add vex modals with custom theme
- add bitcoin icon
- fix footer layout
2016-04-17 20:14:22 +02:00

100 lines
1.7 KiB
Stylus

//
// kremalicious3
// --------------
// Navigation
//
.menu-btn,
.search-btn
@extend .textcenter
line-height: 1em
vertical-align: middle
display: inline-block
margin: 0
position: absolute
right: 0
top: -($spacer/4)
&:focus
outline: 0
&:hover,
&:focus
.icon
fill: $link-color
.hamburger span
background: $link-color
&:active
background: transparent
transition: none
.icon
fill: darken($link-color, 30%)
.hamburger span
background: darken($link-color, 30%)
.menu-btn
margin-right: -.5em
padding: .5em .7em
// Main Navigation
/////////////////////////////////////
.nav-popover
@extend .divider-top, .list-unstyled
padding: $spacer 0
margin-top: $spacer
margin-bottom: 0
width: 100%
background: $body-bg
display: flex // .nav-popver overwrite
margin-left: 0 // .grid overwrite
.grid__col
padding-top: 0
opacity: 0
.has-menu-open &
opacity: 1
.nav-link
@extend .category
font-size: $font-size-small
text-shadow: 0 1px 0 rgba(#fff, .5)
padding: $padding-base-vertical $padding-base-horizontal
margin-bottom: 0
margin-top: 0
display: block
border: none
// Paginator
/////////////////////////////////////
.paginator
padding-top: ($spacer*2)
padding-bottom: ($spacer*2)
.icon
margin-bottom: -3px
p
margin-bottom: 0;
.paginator-next
text-align: right
.paginator-pages
@extend .textcenter, .dimmed
font-size: $font-size-small
.paginator-number
font-size: $font-size-base
color: $text-color-light
padding: 0 2px
.paginator-title
@extend .page-title