summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/js/search.js1
-rw-r--r--assets/sass/_customize.scss27
2 files changed, 26 insertions, 2 deletions
diff --git a/assets/js/search.js b/assets/js/search.js
index 270f828..4ea49ac 100644
--- a/assets/js/search.js
+++ b/assets/js/search.js
@@ -26,7 +26,6 @@ async function initSearchIndex() {
this.field('objectID');
this.field('title');
- this.field('categories');
this.field('tags');
this.field('content');
diff --git a/assets/sass/_customize.scss b/assets/sass/_customize.scss
index a996917..6d55b8e 100644
--- a/assets/sass/_customize.scss
+++ b/assets/sass/_customize.scss
@@ -134,13 +134,14 @@ ul.pager li {
position: relative;
}
-.post-tags {
+ul.post-tags {
margin: 0;
padding: 0;
position: absolute;
right: 24px;
bottom: -12px;
list-style: none;
+ text-indent: unset;
}
.post-tags li,
@@ -213,6 +214,30 @@ a.external:after {
@include mask-image (url("/img/external-link.svg"));
}
+ul.tags-cloud {
+ display: flex;
+ flex-wrap: wrap;
+ justify-content: center;
+ max-width: 960px;
+ margin: auto;
+ padding: 2rem 0 1rem;
+ list-style: none;
+ border: 2px solid white;
+ border-radius: 5px;
+}
+
+ul.tags-cloud .tag {
+ display: flex;
+ align-items: center;
+ margin: 0.25rem 1rem;
+}
+
+ul.tags-cloud .tag-link {
+ padding: 5px 5px 0;
+ transition: 0.3s;
+ text-decoration: none;
+}
+
/* Themes */
/* Red */