Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/themefisher/twenty-twenty-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSojon <sojonatmail@gmail.com>2021-07-04 13:49:02 +0300
committerSojon <sojonatmail@gmail.com>2021-07-04 13:49:02 +0300
commit06e528fbe39bca7c28828bc1b4b000ad35d97c1a (patch)
tree3fdfa107a0bbdcdf4e1af4309e3f5a30658ccc8f
parent2b4d022b65f54087b70f0aa9b26b26f1dfcd696e (diff)
empty tag blocks hidden
-rw-r--r--assets/css/style.css11
-rw-r--r--layouts/search/list.html8
2 files changed, 16 insertions, 3 deletions
diff --git a/assets/css/style.css b/assets/css/style.css
index cb3e0c8..1fea6e3 100644
--- a/assets/css/style.css
+++ b/assets/css/style.css
@@ -2174,6 +2174,10 @@ button.search-untoggle {
width: calc(100% + 2rem);
}
+.search-modal .search-field:focus {
+ outline: 0;
+}
+
.search-modal .search-field::-webkit-input-placeholder {
color: inherit;
}
@@ -6474,4 +6478,11 @@ a.to-the-top>* {
flex: 0 0 50%;
max-width: 50%;
}
+}
+
+.d-none {
+ display: none;
+}
+.d-block {
+ display: block;
} \ No newline at end of file
diff --git a/layouts/search/list.html b/layouts/search/list.html
index d752a19..7e43a0f 100644
--- a/layouts/search/list.html
+++ b/layouts/search/list.html
@@ -28,9 +28,10 @@
class="more-link"><span class="faux-button">Continue Reading</span></a></div>
</div>
</div>
- <div class="section-inner">
+
+ <div class="section-inner d-none ${ isset tags }d-block${ end }">
<div class="post-meta-wrapper post-meta-single post-meta-single-bottom">
- <ul class="post-meta">
+ <ul class="post-meta" style="justify-content:center">
<li class="post-tags meta-wrapper">
<span class="meta-icon">
<svg class="svg-icon" aria-hidden="true" role="img" focusable="false" xmlns="http://www.w3.org/2000/svg"
@@ -39,11 +40,12 @@
d="M15.4496399,8.42490555 L8.66109799,1.63636364 L1.63636364,1.63636364 L1.63636364,8.66081885 L8.42522727,15.44178 C8.57869221,15.5954158 8.78693789,15.6817418 9.00409091,15.6817418 C9.22124393,15.6817418 9.42948961,15.5954158 9.58327627,15.4414581 L15.4486339,9.57610048 C15.7651495,9.25692435 15.7649133,8.74206554 15.4496399,8.42490555 Z M16.6084423,10.7304545 L10.7406818,16.59822 C10.280287,17.0591273 9.65554997,17.3181054 9.00409091,17.3181054 C8.35263185,17.3181054 7.72789481,17.0591273 7.26815877,16.5988788 L0.239976954,9.57887876 C0.0863319284,9.4254126 0,9.21716044 0,9 L0,0.818181818 C0,0.366312477 0.366312477,0 0.818181818,0 L9,0 C9.21699531,0 9.42510306,0.0862010512 9.57854191,0.239639906 L16.6084423,7.26954545 C17.5601275,8.22691012 17.5601275,9.77308988 16.6084423,10.7304545 Z M5,6 C4.44771525,6 4,5.55228475 4,5 C4,4.44771525 4.44771525,4 5,4 C5.55228475,4 6,4.44771525 6,5 C6,5.55228475 5.55228475,6 5,6 Z">
</path>
</svg> </span>
- <span class="meta-text">${tags}</span>
+ <span class="meta-text">${tags}</span>
</li>
</ul>
</div>
</div>
+
</article>
<hr class="post-separator styled-separator is-style-wide section-inner" aria-hidden="true">
</script>