hacks-guide-minimal-mistake.../assets/_scss/_navigation.scss

56 lines
No EOL
1.1 KiB
SCSS

/* ==========================================================================
NAVIGATION
========================================================================== */
/*
Breadcrumb navigation links
========================================================================== */
.breadcrumbs {
@include container;
@include clearfix;
margin-bottom: 1em;
padding-left: 2em;
padding-right: 2em;
font-family: $sans-serif;
ol {
padding: 0;
list-style: none;
font-size: 14px;
@include breakpoint($medium) {
@include span(10 of 12);
@include pre(2);
}
}
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;
}
}