aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 21:47:20 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-22 21:47:20 +0300
commitf20a852b276a3f8e65b3b0dd797c90e0374b2e42 (patch)
tree1cc9de398449fe93022cadccf8fce163b653f60d
parentposts: separate feed entries with border (diff)
downloadjekyll-theme-f20a852b276a3f8e65b3b0dd797c90e0374b2e42.tar.gz
jekyll-theme-f20a852b276a3f8e65b3b0dd797c90e0374b2e42.zip
css: fix cursor on disabled list group items
-rw-r--r--assets/css/jekyll-theme/fix_bootstrap.css6
-rw-r--r--index.md4
2 files changed, 8 insertions, 2 deletions
diff --git a/assets/css/jekyll-theme/fix_bootstrap.css b/assets/css/jekyll-theme/fix_bootstrap.css
index 64b0916..a6b09f5 100644
--- a/assets/css/jekyll-theme/fix_bootstrap.css
+++ b/assets/css/jekyll-theme/fix_bootstrap.css
@@ -47,3 +47,9 @@ pre code {
pre {
position: relative;
}
+/* Don't change the cursor, why? Also, use simple <div>s as
+ * .list-group-item.disabled elements instead of <a>s. */
+.list-group-item.disabled {
+ cursor: auto !important;
+ user-select: none;
+}
diff --git a/index.md b/index.md
index 954b119..1161c6c 100644
--- a/index.md
+++ b/index.md
@@ -15,9 +15,9 @@ jekyll-theme
<div style="display: flex; flex-wrap: wrap; column-gap: 1em;">
<div class="list-group wide-enough">
- <a href="#" class="list-group-item disabled">
+ <div class="list-group-item disabled">
<h4 class="list-group-item-heading">features</h4>
- </a>
+ </div>
<a href="{{ '/feed/' | relative_url }}" class="list-group-item">
<h4 class="list-group-item-heading">feed</h4>
<p class="list-group-item-text">A paginated post feed</p>