Skip to content

Commit b1305e2

Browse files
david-rowleydanielgustafsson
authored andcommitted
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 <[email protected]> Reviwed-by: Daniel Gustafsson <[email protected]> Discussion: https://postgr.es/m/CAGeimVqnkm7X-cXNNXjdGL2u5N29RiFtcpUzPuW1-VYACe6m+Q@mail.gmail.com
1 parent 0d98d67 commit b1305e2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

media/css/main.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1183,6 +1183,20 @@ code,
11831183
#docContent a.id_link {
11841184
color: inherit;
11851185
visibility: hidden;
1186+
text-decoration: none;
1187+
}
1188+
1189+
#docContent a.id_link:hover:after {
1190+
content: "Permalink to this heading";
1191+
font-size: 10px;
1192+
font-weight: normal;
1193+
text-decoration: none;
1194+
border: 1px solid #444444;
1195+
text-align: center;
1196+
border-radius: 5px 5px 5px 5px;
1197+
padding: 5px 5px 5px 5px;
1198+
position: relative;
1199+
top: 20px;
11861200
}
11871201

11881202
#docContent *:hover > a.id_link {

0 commit comments

Comments
 (0)