fix: correct some html tags, css properties
This commit is contained in:
parent
8c1cde8fc9
commit
e80f1b5c8a
4 changed files with 37 additions and 38 deletions
|
@ -6,6 +6,4 @@
|
|||
|
||||
</div>
|
||||
|
||||
<div>
|
||||
|
||||
</article>
|
||||
|
|
|
@ -11,4 +11,4 @@ sidebar: category-list
|
|||
{{ content }}
|
||||
|
||||
{% include views/pagination.html %}
|
||||
<div>
|
||||
</div>
|
||||
|
|
|
@ -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 -%}
|
||||
{%- if banner == nil -%}
|
||||
{%- include views/post-header.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- include views/article.html -%}
|
||||
|
||||
<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 -%}
|
||||
|
||||
<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.next -%}
|
||||
<a href="{{ page.next.url }}" title="{{ page.next.title | escape }}">Next »</a>
|
||||
{%- else -%}
|
||||
<span></span>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
|
||||
{%- if page.comments != false -%}
|
||||
|
||||
{%- if site.disqus.shortname -%}
|
||||
{%- include extensions/comments/disqus.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.gitment.username -%}
|
||||
{%- include extensions/comments/gitment.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if page.next -%}
|
||||
<a href="{{ page.next.url }}" title="{{ page.next.title | escape }}">Next »</a>
|
||||
{%- else -%}
|
||||
<span></span>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
|
||||
</section>
|
||||
{%- if page.comments != false -%}
|
||||
|
||||
{%- include extensions/mathjax.html -%}
|
||||
{%- if site.disqus.shortname -%}
|
||||
{%- include extensions/comments/disqus.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- if site.gitment.username -%}
|
||||
{%- include extensions/comments/gitment.html -%}
|
||||
{%- endif -%}
|
||||
|
||||
{%- endif -%}
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue