Support any amount of figures, with arbitrary positioning/size/colours/sources

This commit is contained in:
2018-01-01 13:15:15 +01:00
parent c61f845741
commit 458652bcae
6 changed files with 226 additions and 57 deletions
+34
View File
@@ -41,3 +41,37 @@ ul li input[type=text][name=tag],
ul li input[type=text][name=filename] {
width: 3.8cm;
}
.tooltip {
position: relative;
display: inline-block;
font-size: inherit;
line-height: inherit;
float:right;
}
.tooltiptext {
visibility: hidden;
width: 160px;
background-color: #292A30;
color: #fff;
text-align: center;
padding: 5px 0;
border-radius: 6px;
font-size: 0.6em;
font-family:sans-serif;
font-style:normal;
position: absolute;
z-index: 1;
}
.tooltip .tooltiptext {
top: -5px;
left: 150%;
}
.tooltip:hover .tooltiptext {
visibility: visible;
}