diff options
| author | David Rowley | 2024-11-06 06:07:27 +0000 |
|---|---|---|
| committer | Daniel Gustafsson | 2024-11-06 12:39:04 +0000 |
| commit | b1305e2ffa13a4d78179734ab8342423ab757956 (patch) | |
| tree | bee5b346d7e57ee4bb3297a4e4432d39bab18c9a | |
| parent | 0d98d67a48b8f10b6aac53c6c54839b076648176 (diff) | |
Adjust CSS to have tooltips in the H2 headings in the docs
There's been at least one complaint about a stray # that appears in the
manual. Add a tooltip to this to make it more clear why this appears
and what it's for.
Reported-by: Muhammad Ikram <mmikram@gmail.com>
Reviwed-by: Daniel Gustafsson <daniel@yesql.se>
Discussion: https://postgr.es/m/CAGeimVqnkm7X-cXNNXjdGL2u5N29RiFtcpUzPuW1-VYACe6m+Q@mail.gmail.com
| -rw-r--r-- | media/css/main.css | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media/css/main.css b/media/css/main.css index cbfea862..71364f19 100644 --- a/media/css/main.css +++ b/media/css/main.css @@ -1183,6 +1183,20 @@ code, #docContent a.id_link { color: inherit; visibility: hidden; + text-decoration: none; +} + +#docContent a.id_link:hover:after { + content: "Permalink to this heading"; + font-size: 10px; + font-weight: normal; + text-decoration: none; + border: 1px solid #444444; + text-align: center; + border-radius: 5px 5px 5px 5px; + padding: 5px 5px 5px 5px; + position: relative; + top: 20px; } #docContent *:hover > a.id_link { |
