diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 21:47:20 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-22 21:47:20 +0300 |
commit | f20a852b276a3f8e65b3b0dd797c90e0374b2e42 (patch) | |
tree | 1cc9de398449fe93022cadccf8fce163b653f60d | |
parent | posts: separate feed entries with border (diff) | |
download | jekyll-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.css | 6 | ||||
-rw-r--r-- | index.md | 4 |
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; +} @@ -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> |