summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
sass/_partial/term: new
5 files changed, 14 insertions, 9 deletions
diff --git a/sass/_partial/_header_vertical.scss b/sass/_partial/_header_vertical.scss
index 453c2d8..9cc3281 100644
--- a/sass/_partial/_header_vertical.scss
+++ b/sass/_partial/_header_vertical.scss
@@ -3,10 +3,4 @@
padding: 0 1em;
justify-content: unset;
flex-direction: unset;
- .blog-title .logo {
- font-family: 'Source Serif Pro', 'Noto Serif TC', serif;
- color: #000;
- font-size: 1.2em;
- text-decoration: none;
- }
} \ No newline at end of file
diff --git a/sass/_partial/_term.scss b/sass/_partial/_term.scss
new file mode 100644
index 0000000..7ddd894
--- /dev/null
+++ b/sass/_partial/_term.scss
@@ -0,0 +1,5 @@
+.terms {
+ padding: 1.3em 2em;
+ border: 1px #ddd;
+ border-top-style: solid;
+}
diff --git a/sass/_partial/_term_vertical.scss b/sass/_partial/_term_vertical.scss
new file mode 100644
index 0000000..1c98719
--- /dev/null
+++ b/sass/_partial/_term_vertical.scss
@@ -0,0 +1,5 @@
+.terms {
+ padding: 2em 1.3em;
+ border-top-style: none;
+ border-right-style: solid;
+}
diff --git a/sass/style.scss b/sass/style.scss
index 706584a..53e334f 100644
--- a/sass/style.scss
+++ b/sass/style.scss
@@ -28,3 +28,4 @@ body {
@import "_partial/_post";
@import "_partial/_archive";
@import "_partial/_normalize";
+@import "_partial/_term"
diff --git a/templates/taxonomy_list.html b/templates/taxonomy_list.html
index 3c83c16..9182c43 100644
--- a/templates/taxonomy_list.html
+++ b/templates/taxonomy_list.html
@@ -3,10 +3,10 @@
{% block content %}
<section class="posts">
<h1 class="post-title">Tags</h1>
+ <section class="terms">
{% for term in terms %}
- <section>
- <div class="post-content"><a href="{{ term.permalink }}" class="post-title-link">{{ term.name }}</a></div>
- </section>
+ <div class="post-content"><a href="{{ term.permalink }}" class="post-title-link">#{{ term.name }}</a></div>
{% endfor %}
+ </section>
</section>
{% endblock %}