Skip to content

Commit 69539df

Browse files
committed
Make navigation look more like crumbs.
1 parent 8049f75 commit 69539df

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

‎_layouts/page.html‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
{% include _search.html %}
2020
</div>
2121
<article class="page">
22-
<h3><a href='/'>&lt; Home</a> | {{ page.title }}</h3>
22+
<div class="crumbs">
23+
<a href='/'>&lt; Home</a> | {{ page.title }}
24+
</div>
2325
<div class="article-wrap">
2426
{{ content }}
2527
</div><!-- /.article-wrap -->

‎_sass/page.scss‎

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,10 @@ body {
103103
}
104104
}
105105
}
106+
.crumbs {
107+
border-bottom: 1px solid lighten($black,80);
108+
border-bottom: 1px solid fade($black,10);
109+
}
106110
// Navicon lines
107111
$button-size: 1.5rem;
108112
@mixin navicon-line() {
@@ -230,10 +234,18 @@ $button-size: 1.5rem;
230234
@include container;
231235
@include clearfix;
232236
clear: both;
233-
margin-top: 2em;
234237
h1 {
235238
margin-top: 0;
236239
}
240+
@media #{$micro} {
241+
margin-top: 0;
242+
}
243+
@media #{$small} {
244+
margin-top: 2em;
245+
}
246+
@media #{$x-large} {
247+
margin-top: 2em;
248+
}
237249
.post,
238250
.page {
239251
@include container;

0 commit comments

Comments
 (0)