hacks-guide-minimal-mistake.../_assets/css/_navigation.scss
Michael Rose a3d251a18e Improve breadcrumb helper
- Add support for collections
- Add support for crumb links that point to auto-generated archive pages (courtesy of Jekyll Archives plugin) and single page Liquid spaghetti pages
- Improve styling
2016-03-11 15:54:16 -05:00

61 lines
No EOL
1.2 KiB
SCSS

/* ==========================================================================
NAVIGATION
========================================================================== */
/*
Breadcrumb navigation links
========================================================================== */
.breadcrumbs {
@include grid(12,10);
@include prefix(12,1);
@include suffix(12,1);
margin-bottom: 1em;
font-family: $sans-serif;
font-size: 14px;
@include breakpoint($small) {
@include grid(12,11);
@include prefix(12,0.5);
@include suffix(12,0.5);
}
@include breakpoint($x-large) {
@include grid(12,8);
@include prefix(12,2);
@include suffix(12,2)
}
ol {
padding: 0;
list-style: none;
}
li {
display: inline;
}
.current {
font-weight: bold;
}
}
/*
Post pagination navigation links
========================================================================== */
.pagination {
padding-top: 0.5em;
border-top: 1px solid $border-color;
ul {
margin: 0;
padding: 0;
list-style-type: none;
}
li {
display: inline-block;
}
li + li:before {
content: "";
padding-right: 10px;
}
.current {
font-weight: bold;
}
}