Template:Hoverimage: Difference between revisions
Template page
More actions
fixed a bug where the arrow wasnt appearing |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
--><{{{el|span}}} class=hoveritem style='position: absolute; top: 1em; left: -0.9em; z-index: 1; {{{style|}}}'><!-- | --><{{{el|span}}} class=hoveritem style='position: absolute; top: 1em; left: -0.9em; z-index: 1; {{{style|}}}'><!-- | ||
--><{{{el|span}}} style='display: block; margin: .6em 1em 0 1em; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid rgb(130, 130, 130); {{{arrow style|}}}' class=hover-info-arrow> </{{{el|span}}}><!-- | --><{{{el|span}}} style='display: block; margin: .6em 1em 0 1em; width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 8px solid rgb(130, 130, 130); {{{arrow style|}}}' class=hover-info-arrow> </{{{el|span}}}><!-- | ||
--><{{{el|span}}} style='display: block; border: solid 2px rgb(130, 130, 130); border-radius: 3px; background-color: black; box-shadow: 0 0 0px rgb(130, 130, 130); padding: 5px; margin: 0 0.5em 0.5em 0.5em; | --><{{{el|span}}} style='display: inline-block; border: solid 2px rgb(130, 130, 130); border-radius: 3px; background-color: black; box-shadow: 0 0 0px rgb(130, 130, 130); padding: 5px; margin: 0 0.5em 0.5em 0.5em; {{{2|overflow-wrap: break-word;}}} {{{box style|}}}' class=hover-info-box>{{{1}}}</{{{el|span}}}><!-- | ||
--></{{{el|span}}}><!-- | --></{{{el|span}}}><!-- | ||
--></{{{el|span}}}><noinclude> | --></{{{el|span}}}><noinclude> | ||
<noinclude> | <noinclude> | ||
{{Hoverimage|You have hovered over me|text=<span class='hoveritem selected'>Hover over me</span><span class='hoveritem'>You are hovering</span>}}<br> | {{Hoverimage|You have hovered over me|text=<span class='hoveritem selected'>Hover over me</span><span class='hoveritem'>You are hovering</span>}}<br> | ||
{{Hoverimage|[[File:JanitorkeycardFloor.png|400px]]|text=floor of the Male's Bathroom.}}test | |||
{{Hoverimage|[[File:JanitorkeycardFloor.png|400px]]|text=floor of the Male's Bathroom.}} | |||
</noinclude> | </noinclude> | ||
[[Category:HoverImage]] | [[Category:HoverImage]] |