1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-14 09:05:17 +01:00
blog/_src/_assets/styl/navigation.styl

102 lines
1.7 KiB
Stylus
Raw Normal View History

2014-07-12 21:22:47 +02:00
//
// kremalicious3
// --------------
// Navigation
//
.menu-btn,
.search-btn
@extend .textcenter
line-height: 1em
vertical-align: middle
display: inline-block
margin: 0
position: absolute
right: 0
top: 0
2015-05-31 22:23:58 +02:00
&:focus
outline: 0
2015-06-08 21:22:09 +02:00
.icon
&.icon-entypo-menu
width: 24px
height: 24px
2014-07-12 21:22:47 +02:00
2015-06-08 21:38:12 +02:00
&:hover .icon,
&:focus .icon
fill: $link-color
&:active .icon
fill: #fff
2014-07-12 21:22:47 +02:00
// Main Navigation
/////////////////////////////////////
.nav-main
.menu-btn
margin-right: -.5em
padding: .5em .7em
// icon
&:before
font-size: 26px
li
display: inline-block
.nav-popover
@extend .clearfix
padding: ($line-height-computed*1.5) 0
width: 100%
background: $body-bg
.nav-link
@extend .h6, .alignleft, .textcenter
2014-07-13 00:42:57 +02:00
text-shadow: 0 1px 0 rgba(#fff, .5)
2014-07-12 21:22:47 +02:00
padding: .5em 1em
margin-bottom: 0
width: 50%
color: $text-color-dimmed
text-transform: uppercase
@media $breakpoint2
width: 33.3%
&:hover,
2015-06-08 21:22:09 +02:00
&:focus
2014-07-12 21:22:47 +02:00
color: $link-color
border-bottom-color: $link-color
background: rgba(255,255,255,.5)
&:active
background: $link-color
top: 0
2014-07-13 00:42:57 +02:00
color: #fff
2014-07-12 21:22:47 +02:00
// Paginator
/////////////////////////////////////
.paginator
@extend .clearfix
2015-05-31 21:56:40 +02:00
.icon
2015-06-08 21:22:09 +02:00
margin-bottom: -3px
2014-07-12 21:22:47 +02:00
2015-05-31 21:56:40 +02:00
.paginator-next
@extend .alignright
text-align: right
2014-07-12 21:22:47 +02:00
2015-05-31 21:56:40 +02:00
.paginator-previous
@extend .alignleft
2014-07-12 21:22:47 +02:00
2015-05-31 21:56:40 +02:00
.paginator-number
font-size: $font-size-small
color: $brand-grey-light
2014-07-12 21:22:47 +02:00
2015-05-31 21:56:40 +02:00
.paginator-title
@extend .h3, .heading-band
color: $brand-grey-light
margin-bottom: 0