diff --git a/_assets/stylesheets/includes/layout.css.scss b/_assets/stylesheets/includes/layout.css.scss index af69de5..6522dc1 100644 --- a/_assets/stylesheets/includes/layout.css.scss +++ b/_assets/stylesheets/includes/layout.css.scss @@ -2,7 +2,7 @@ $max-width: 800px !default; $pad-min: 8.5% !default; header[role=banner] { - padding: 0.52em 0 0.42em; + padding: 1em 0 0.5em; h1 { font-size: 3.43em; margin: 0; @@ -10,7 +10,6 @@ header[role=banner] { color: white; line-height: 0; text-decoration: none; - text-shadow: 0 0 10px rgba(0, 0, 0, 0.2); span { width: 0; font-size: 0; diff --git a/_assets/stylesheets/includes/styles.css.scss b/_assets/stylesheets/includes/styles.css.scss index b696a6e..a1bcc5e 100644 --- a/_assets/stylesheets/includes/styles.css.scss +++ b/_assets/stylesheets/includes/styles.css.scss @@ -9,13 +9,8 @@ body > div > div { } body > header { - border-color: $header-color; - @include background(linear-gradient(top, rgba(0, 0, 0, 0) 52%, rgba(0, 0, 0, 0.15) 100%)); background-color: $header-color; - border-width: 0 0 1px; - border-style: solid; - box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), inset 0 -1px 0px rgba(255, 255, 255, 0.4); - padding-top: 0.8em; + padding-top: 0.9em; padding-bottom: 0.9em; h1 a { //display: inline-block @@ -51,7 +46,6 @@ header nav { } a { @include transition(text-shadow 0.25s 0s ease); - text-shadow: 0 0 8px rgba(0, 0, 0, 0.2); color: white; text-decoration: none; &:hover, &:focus { diff --git a/_includes/article.html b/_includes/article.html index 294640e..69f750a 100644 --- a/_includes/article.html +++ b/_includes/article.html @@ -13,9 +13,7 @@

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

{% endif %} {% endif %} -

- {% include post/date.html %} -

+ {% if post.date %}

{% include post/date.html date=post.date %}{{ time }}

{% endif %} {% endunless %} {% if index %} @@ -29,8 +27,8 @@
{{ content }}
diff --git a/_includes/head.html b/_includes/head.html new file mode 100644 index 0000000..8254b61 --- /dev/null +++ b/_includes/head.html @@ -0,0 +1,47 @@ + +{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} + + + + +{% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} + +{% if page.keywords %}{% endif %} + + + + + + + + + + + +{{ 'styles' | stylesheet }} +{{ 'main' | javascript }} + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/_includes/post/date.html b/_includes/post/date.html index 9fa3667..75579cd 100644 --- a/_includes/post/date.html +++ b/_includes/post/date.html @@ -1 +1 @@ -{% if post.date %}{% endif %} + diff --git a/_layouts/default.html b/_layouts/default.html index e4421f1..0f233f6 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,54 +1,8 @@ - + {% capture root_url %}{{ site.root | strip_slash }}{% endcapture %} - - {% if page.title %}{{ page.title }} - {% endif %}{{ site.title }} - - - - - {% capture description %}{% if page.description %}{{ page.description }}{% else %}{{ content | raw_content }}{% endif %}{% endcapture %} - - {% if page.keywords %}{% endif %} - - - - - - - - - - - - {{ 'styles' | stylesheet }} - {{ 'main' | javascript }} - - - - - - - - - - - - - - - - - - - - - - - - - + {% include head.html %} {{ content | expand_urls: root_url }} diff --git a/_layouts/page.html b/_layouts/page.html index 51a7508..16488cd 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -7,17 +7,17 @@ layout: default
{% if page.title %} -
-

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

- {% if page.date %}

{% include post/date.html %}{{ time }}

{% endif %} -
+
+

{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}

+
{% endif %} +
{{ content }}
+ {% unless page.footer == false %}
{% if page.date or page.author %}

{% if page.author %}{% include post/author.html %}{% endif %} - {% include post/date.html %}{% if updated %}{{ updated }}{% else %}{{ time }}{% endif %} {% if page.categories %}{% include post/categories.html %}{% endif %}

{% endif %}
diff --git a/index.html b/index.html index daf13d4..e117860 100644 --- a/index.html +++ b/index.html @@ -7,19 +7,21 @@ layout: default {% include header.html %}
- {% assign index = true %} {% for post in paginator.posts %} {% assign content = post.content %} +
{% include article.html %}
{% endfor %} +