diff --git a/_includes/navigation.html b/_includes/navigation.html index de0012c..67f7ac6 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -4,9 +4,9 @@ diff --git a/_pages/404.html b/_pages/404.html index 354c00d..0402467 100644 --- a/_pages/404.html +++ b/_pages/404.html @@ -1,7 +1,7 @@ --- layout: default -permalink: /404.html title: "404" +permalink: /404.html ---
diff --git a/_pages/tags.html b/_pages/tags.html index 5599874..6de6eea 100644 --- a/_pages/tags.html +++ b/_pages/tags.html @@ -1,49 +1,53 @@ --- layout: default -permalink: /tags.html title: "Tags" +permalink: /tags/ --- +
-
-
-

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

-
-
-
-
-
- {% for tag in site.tags %} - - {{ tag[0] }} - - {% endfor %} -
-
- {% for tag in site.tags %} -
- - - - - - - {{ tag[0] }} - - {% for post in tag[1] %} -
- - {{ post.title }} - - -
- - {% endfor %} -
- {% endfor %} -
-
-
\ No newline at end of file +
+

{{ page.title }}

+
+
+
+ {% for tag in site.tags %} + {{ tag[0] }} + {% endfor %} +
+ {% for tag in site.tags %} +
+ + + + +

{{ tag[0] }}

+ {% for post in tag[1] %} + +
+ {{ post.title }} +
+
+ +
+ {% endfor %} +
+ {% endfor %} +
diff --git a/_sass/tale/_tags.scss b/_sass/tale/_tags.scss index 17db201..9e61cdf 100644 --- a/_sass/tale/_tags.scss +++ b/_sass/tale/_tags.scss @@ -1,86 +1,89 @@ .tags { + &-header { + &-title { + color: $default-shade; + font-family: $sans-serif; + font-size: 4rem; + margin: 1rem 0; + text-align: center; + } + + &-line { + border-top: 0.4rem solid $default-shade; + display: block; + margin: 0 auto 3rem; + width: 4rem; + } + } + + &-clouds { + text-align: center; font-family: $sans-serif; - &-header { - &-title { - color: $default-shade; - font-size: 2rem; - margin: 1rem 0 0 0; - text-align: center; - } + a { + display: inline-block; + margin: 0 0.1rem 0.2rem; + padding: 0.2rem 0.5rem; + background: rgba(0, 0, 0, 0.05); + border-radius: 5px; + color: $default-color; + text-decoration: none; - &-line {} + &:hover, + &:active { + background: rgba(0, 0, 0, 0.1); + } + } + } + + &-item { + &-icon { + height: 1rem; } - &-content { - &-clouds { - margin: 20px 0 15px 0; - text-align: center; + &-label { + display: inline-block; + margin: 2rem 0 0.5rem; + font-family: $sans-serif; + color: $default-color; + } + } - a { - font-size: 1rem; - background: #C0C0C0; - display: inline-block; - border: 1px solid rgba(255, 255, 255, 0.8); - border-radius: 999em; - padding: 0 10px; - color: #ffffff; - line-height: 24px; - text-decoration: none; - margin: 0 2px; - margin-bottom: 6px; + &-post { + display: flex; + justify-content: space-between; + padding: 5px 0; - &:hover, - &:active { - background-color: #DFDFDF !important; - color: white; - border-color: white; - text-decoration: none; - } - } - } - - &-list {} - - &-item { - &-seperator { - color: #808080; - font-size: 1.2rem !important; - - &::before { - margin-right: 5px; - } - } - - &-text {} - } - - &-post { - margin: 10px; - - &-title { - line-height: 1.3; - margin-top: 30px; - margin-bottom: 8px; - } - - &-meta { - color: #CCC; - text-align: right; - float: right; - } - - - a { - color: #404040; - - &:hover, - &:focus { - color: #808080; - } - } - - } + &-title { + color: $default-color; + text-decoration: none; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } -} \ No newline at end of file + &-line { + @include transition(all 0.3s ease-out); + border-top: 0.1rem solid $default-shade; + display: block; + width: 0; + } + + &-meta { + color: $default-tint; + text-align: right; + white-space: nowrap; + } + + &:hover, + &:active { + .tags-post-line { + width: 3rem; + } + + .tags-post-meta { + color: $default-shade; + } + } + } +}