@@ -36,7 +25,7 @@ layout: default {%- endif -%} {%- if page.tags -%}
- Tags:   + {% for tag in page.tags %} {{tag}} {% unless forloop.last %} {% endunless %} @@ -44,6 +33,21 @@ layout: default
{%- endif -%} +
+ + +
+ {%- if site.disqus.shortname -%} {%- include disqus_comments.html -%} {%- endif -%} diff --git a/_sass/_custom.scss b/_sass/_custom.scss index 67b69b4..c358b36 100644 --- a/_sass/_custom.scss +++ b/_sass/_custom.scss @@ -20,6 +20,9 @@ a:visited { &.post-link:visited { color: $brown; } + &.post-alt-link:visited { + color: $brown; + } } blockquote { @@ -92,6 +95,41 @@ table:not(.rouge-table) { } } +.relative-posts { + color: $grey-color-dark; + display: flex; + font-size: $small-font-size; + justify-content: space-between; + margin-top: 2em; + + a { + font-size: $base-font-size * 1.2; + } + + .previous-post { + text-align: left; + } + + .next-post { + text-align: right; + } + + @include media-query($on-laptop) { + flex-flow: column wrap; + align-content: center; + justify-content: center; + text-align: center; + + > * { + margin-top: 2em; + } + + .previous-post, .next-post { + text-align: center; + } + } +} + // code syntax table figure.highlight { border: 1px solid $grey-color-light; @@ -118,16 +156,13 @@ figure.highlight { } // alt title properties -.alt-title { - color: $grey-color; - &.home { - &::before { - content: "ALT TITLE: " - } - a.post-link { - display: inline; - font-size: $base-font-size * 1.05; - } +main .home { + > .home-post:not(:first-of-type) { + margin-top: 3em; + } + + > .home-post > * { + margin: 0; } } @@ -144,10 +179,6 @@ h2.post-alt-title { } .post-content { - // h1, h2, h3, h4, h5, h6 { - // font-family: "Georgia", $base-font-family; - // } - > h1:not(:first-child){ margin-top: $spacing-unit * 1.65; } @@ -159,6 +190,19 @@ h2.post-alt-title { h3:not(:first-child) { margin-top: $spacing-unit * 1.15; } + + ul.resources-link { + list-style: none; + margin-left: 1.9em; + + @include media-query($on-palm) { + margin-left: 0; + + > li { + margin-bottom: 0.75em; + } + } + } } } } @@ -166,6 +210,7 @@ h2.post-alt-title { // notes.md .entry-list-item { display: flex; + align-items: center; justify-content: space-between; margin: .25em; padding: .5em; @@ -180,6 +225,7 @@ h2.post-alt-title { } @include media-query($on-palm) { flex-flow: column; + align-items: baseline; } } @@ -301,7 +347,7 @@ code.fileName { } } -.dt-updated { +.dt-updated, .reading-minutes { color: $grey-color; font-size: $small-font-size; margin-top: 0; @@ -385,11 +431,30 @@ code.fileName { fill: $super-platinum; } } - .site-credits { - text-align: center; + + .site-icon-credits { + font-size: $small-font-size; + margin-bottom: 1.5em; + + p { + margin: 0; + } + a { color: $footer-link; } + } + + .site-credits { + text-align: center; + > p { + margin: 0; + } + + a { + color: $footer-link; + } + .copyright { font-size: $small-font-size; } diff --git a/assets/main/icons/calendar.svg b/assets/main/icons/calendar.svg new file mode 100644 index 0000000..f5a4a22 --- /dev/null +++ b/assets/main/icons/calendar.svg @@ -0,0 +1 @@ +Created by ✦ Shmidt Sergey ✦from the Noun Project \ No newline at end of file diff --git a/assets/main/icons/categories.svg b/assets/main/icons/categories.svg new file mode 100644 index 0000000..0562d04 --- /dev/null +++ b/assets/main/icons/categories.svg @@ -0,0 +1 @@ +Created by ✦ Shmidt Sergey ✦from the Noun Project \ No newline at end of file diff --git a/assets/main/icons/open-in-new-window.svg b/assets/main/icons/open-in-new-window.svg new file mode 100644 index 0000000..e9d8da7 --- /dev/null +++ b/assets/main/icons/open-in-new-window.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/assets/main/icons/tag.svg b/assets/main/icons/tag.svg new file mode 100644 index 0000000..6c4818b --- /dev/null +++ b/assets/main/icons/tag.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/assets/main/icons/time-clock.svg b/assets/main/icons/time-clock.svg new file mode 100644 index 0000000..d66b96b --- /dev/null +++ b/assets/main/icons/time-clock.svg @@ -0,0 +1 @@ +18-TimeCreated by Iconstockfrom the Noun Project \ No newline at end of file diff --git a/assets/main/icons/update.svg b/assets/main/icons/update.svg new file mode 100644 index 0000000..47423f8 --- /dev/null +++ b/assets/main/icons/update.svg @@ -0,0 +1 @@ +Created by Shmidt Sergeyfrom the Noun Project \ No newline at end of file