Sha256: 64a1bf60d3215db35088844b8a71d154fdd8aea00b59675b791de6808a73ca81
Contents?: true
Size: 917 Bytes
Versions: 9
Compression:
Stored size: 917 Bytes
Contents
@import "rem-sizing"; @mixin horizontal-nav($num-list-items){ $list-item-pc: percentage($num-list-items/($num-list-items*$num-list-items)); text-align: right; overflow: auto; width: 100%; padding:0; list-style:none; li { margin: 0; text-align: center; overflow: auto; float: left; width: $list-item-pc; padding-left:1%; @include box-sizing(border-box); a { text-decoration: none; display: block; } &:first-child { padding-left:0; } } } @mixin vertical-nav(){ overflow: auto; padding:0; list-style:none; li { margin: 0; overflow: auto; @include box-sizing(border-box); a { text-decoration: none; display: block; @include rem-sizing(padding-bottom,.4); @include rem-sizing(padding-left,.4); @include rem-sizing(padding-top,.4); } } }
Version data entries
9 entries across 9 versions & 1 rubygems