diff options
-rw-r--r-- | _includes/views/article.html | 2 | ||||
-rw-r--r-- | _layouts/articles.html | 2 | ||||
-rw-r--r-- | _layouts/post.html | 60 | ||||
-rw-r--r-- | _sass/yat/_base.scss | 5 |
4 files changed, 34 insertions, 35 deletions
diff --git a/_includes/views/article.html b/_includes/views/article.html index e7bd144..534a95b 100644 --- a/_includes/views/article.html +++ b/_includes/views/article.html @@ -6,6 +6,4 @@ </div> - <div> - </article> diff --git a/_layouts/articles.html b/_layouts/articles.html index 89e9d86..46ba5c5 100644 --- a/_layouts/articles.html +++ b/_layouts/articles.html @@ -11,4 +11,4 @@ sidebar: category-list {{ content }} {% include views/pagination.html %} -<div> +</div> diff --git a/_layouts/post.html b/_layouts/post.html index cae5476..dbf623d 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,47 +7,45 @@ sidebar: --- <div class="post"> - <section> + <section> - {%- assign name = 'banner' -%} - {%- include functions.html func='get_value' -%} - {%- assign banner = return -%} + {%- assign name = 'banner' -%} + {%- include functions.html func='get_value' -%} + {%- assign banner = return -%} - {%- if banner == nil -%} - {%- include views/post-header.html -%} - {%- endif -%} - - {%- include views/article.html -%} + {%- if banner == nil -%} + {%- include views/post-header.html -%} + {%- endif -%} - <div class="post-nav"> - {%- if page.previous -%} - <a href="{{ page.previous.url }}" title="{{ page.previous.title | escape }}">« Prev</a> - {%- else -%} - <span></span> - {%- endif -%} + {%- include views/article.html -%} - {%- if page.next -%} - <a href="{{ page.next.url }}" title="{{ page.next.title | escape }}">Next »</a> - {%- else -%} - <span></span> - {%- endif -%} - </div> + <div class="post-nav"> + {%- if page.previous -%} + <a href="{{ page.previous.url }}" title="{{ page.previous.title | escape }}">« Prev</a> + {%- else -%} + <span></span> + {%- endif -%} - {%- if page.comments != false -%} + {%- if page.next -%} + <a href="{{ page.next.url }}" title="{{ page.next.title | escape }}">Next »</a> + {%- else -%} + <span></span> + {%- endif -%} + </div> - {%- if site.disqus.shortname -%} - {%- include extensions/comments/disqus.html -%} - {%- endif -%} + {%- if page.comments != false -%} - {%- if site.gitment.username -%} - {%- include extensions/comments/gitment.html -%} - {%- endif -%} + {%- if site.disqus.shortname -%} + {%- include extensions/comments/disqus.html -%} + {%- endif -%} - {%- endif -%} + {%- if site.gitment.username -%} + {%- include extensions/comments/gitment.html -%} + {%- endif -%} - </section> + {%- endif -%} - {%- include extensions/mathjax.html -%} + </section> </div> diff --git a/_sass/yat/_base.scss b/_sass/yat/_base.scss index e5fe278..38c41e5 100644 --- a/_sass/yat/_base.scss +++ b/_sass/yat/_base.scss @@ -207,20 +207,23 @@ table { text-align: $table-text-align; color: lighten($text-color, 18%); border-collapse: collapse; - border: 1px solid $grey-color-light; + tr { &:nth-child(even) { background-color: lighten($grey-color-light, 6%); } } + th, td { padding: ($spacing-unit / 3) ($spacing-unit / 2); } + th { background-color: lighten($grey-color-light, 3%); border: 1px solid darken($grey-color-light, 4%); border-bottom-color: darken($grey-color-light, 12%); } + td { border: 1px solid $grey-color-light; } |