Support any amount of figures, with arbitrary positioning/size/colours/sources
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user